예제 #1
0
 public LowLevelKeyboardHook()
 {
     RegisteredKeys = new List<Keys>();
     Input = new KeyboardInput();
     SafetyHook = new KeyboardHook();
     HookState = 0;
     Input.KeyBoardKeyPressed += Input_KeyBoardKeyPressed;
     SafetyHook.KeyPressed += SafetyHook_KeyPressed;
     Lock = new int();
 }
예제 #2
0
 public void UnregisterAllHotkeys()
 {
     RegisteredButtons.Clear();
     KeyboardHook.UnregisterAllHotkeys();
 }
예제 #3
0
 public void RegisterHotKey(Keys key)
 {
     KeyboardHook.RegisterHotKey(key);
 }
예제 #4
0
 public void Poll()
 {
     GamepadHook.Poll();
     KeyboardHook.Poll();
 }
예제 #5
0
 public void Poll()
 {
     KeyboardHook.Poll();
 }