private static void HookedKeyPress(NeatHook neatHook, KeyHook keyHook) { OnHookedKeyPress?.Invoke(neatHook, new KeyPressEventArgs { Key = keyHook.Key, Modifiers = keyHook.Modifiers }); }
/// <summary> /// Unregisteres the hot key. /// </summary> public void Unregister() { NeatHook.UnregisterKey(Id); }