C# Class Misuzilla.Applications.AppleWirelessKeyboardHelper.Helper

Inheritance: IDisposable
Show file Open project: mayuki/AppleWirelessKeyboardHelper

Public Properties

Property Type Description
CurrentKeyState AppleKeyboardKeys
CurrentPowerButtonIsDown System.Boolean

Public Methods

Method Description
Dispose ( ) : void
Hook ( ) : System.Boolean
Shutdown ( ) : void
Unhook ( ) : void

Private Methods

Method Description
KeyboardHookProc ( int nCode, IntPtr wParam, IntPtr lParam ) : IntPtr
OnFnKeyCombinationDown ( AppleKeyboardKeys appleKeyState, Keys key, Win32 keyEventStruct ) : void
OnKeyDown ( AppleKeyboardKeys appleKeyState, Keys key, Win32 keyEventStruct ) : System.Boolean
OnKeyUp ( AppleKeyboardKeys appleKeyState, Keys key, Win32 keyEventStruct ) : System.Boolean
OnSpecialKeyDown ( ) : void
SpecialKeyStateChanged ( IAsyncResult ar ) : void
Start ( ) : System.Boolean

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Hook() public method

public Hook ( ) : System.Boolean
return System.Boolean

Shutdown() public method

public Shutdown ( ) : void
return void

Unhook() public method

public Unhook ( ) : void
return void

Property Details

CurrentKeyState public property

public AppleKeyboardKeys CurrentKeyState
return AppleKeyboardKeys

CurrentPowerButtonIsDown public property

public Boolean,System CurrentPowerButtonIsDown
return System.Boolean