public CompositeHook() { KeyboardHook = new LowLevelKeyboardHook(); RegisteredButtons = new List <GamepadButton>(); KeyboardHook.KeyPressed += KeyboardHook_KeyPressed; InitializeGamepadHook(); }
public CompositeHook() { KeyboardHook = new LowLevelKeyboardHook(); GamepadHook = new GamepadHook(); RegisteredButtons = new List <GamepadButton>(); KeyboardHook.KeyPressed += KeyboardHook_KeyPressed; GamepadHook.ButtonPressed += GamepadHook_ButtonPressed; }
public CompositeHook(bool allowGamepads) { KeyboardHook = new LowLevelKeyboardHook(); RegisteredButtons = new List <GamepadButton>(); KeyboardHook.KeyPressed += KeyboardHook_KeyPressed; gamepadHookInitialized = false; initializeEventCalled = false; AllowGamepads = allowGamepads; }
public CompositeHook() { KeyboardHook = new LowLevelKeyboardHook(); KeyboardHook.KeyPressed += KeyboardHook_KeyPressed; }
public CompositeHook() { KeyboardHook = new LowLevelKeyboardHook(); GamepadHook = new GamepadHook(); RegisteredButtons = new List<GamepadButton>(); KeyboardHook.KeyPressed += KeyboardHook_KeyPressed; GamepadHook.ButtonPressed += GamepadHook_ButtonPressed; }