internal void EnableHooks() { if (hookManager.EnableHook()) { hookManager.RegisterMouseHandler(Mouse.HandleInput); hookManager.RegisterKeyboardHandler(Keyboard.HandleInput); } }
internal void EnableHooks() { if (_hookManager.EnableHook()) { _hookManager.RegisterMouseHandler(Mouse.HandleInput); _hookManager.RegisterKeyboardHandler(Keyboard.HandleInput); } else { Logger.Error("Failed to acquire hook!"); } }