コード例 #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);
 }
コード例 #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);
 }