Ejemplo n.º 1
0
 public static bool Clicked(this HUMEvents.Data.Middle middle)
 {
     HUMEvents.clickCount++;
     return(middle.mouse.e.button == 2 && middle.mouse.e.type == EventType.MouseDown);
 }
Ejemplo n.º 2
0
 public static bool Released(this HUMEvents.Data.Middle middle)
 {
     HUMEvents.clickCount--;
     return(middle.mouse.e.button == 2 && middle.mouse.e.type == EventType.MouseUp);
 }