Ejemplo n.º 1
0
        void AppleKeyboardHID_KeyDown(AppleKeyboardSpecialKeys key)
        {
            switch (key)
            {
            case AppleKeyboardSpecialKeys.Fn:
                KeyboardListener.ModifierFn = true;
                break;

            case AppleKeyboardSpecialKeys.Eject:
                KeyboardHandler.HandleEject();
                break;
            }
        }
Ejemplo n.º 2
0
 bool KeyboardListener_KeyDown(KeyboardListener.KeyHookEventArgs e)
 {
     return(KeyboardHandler.HandleKeyDown(e));
 }