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(); }
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(); }