Beispiel #1
0
 public MouseButton(IMouse mouse, MouseButtonLabel button)
 {
     this.mouse = mouse;
     this.button = button;
     prevPressed = false;
     nowPressed = false;
 }
Beispiel #2
0
 public void AddMouseButton(BooleanDeviceLabel virtualKey, MouseButtonLabel realKey)
 {
     AddBooleanDevice((int)virtualKey, new MouseButton(mouse, realKey));
 }