Example #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);
 }
Example #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);
 }