C# Class OpenTK.Platform.Windows.WinRawKeyboard

Inheritance: IKeyboardDriver2
显示文件 Open project: andykorth/opentk Class Usage Examples

Public Methods

Method Description
GetDeviceName ( int index ) : string
GetState ( ) : KeyboardState
GetState ( int index ) : KeyboardState
ProcessKeyboardEvent ( RawInput rin ) : bool
RefreshDevices ( ) : void
WinRawKeyboard ( IntPtr windowHandle ) : System

Private Methods

Method Description
GetDeviceName ( RawInputDeviceList dev ) : string
GetRegistryKey ( string name ) : RegistryKey
RegisterKeyboardDevice ( IntPtr window, string name ) : void

Method Details

GetDeviceName() public method

public GetDeviceName ( int index ) : string
index int
return string

GetState() public method

public GetState ( ) : KeyboardState
return KeyboardState

GetState() public method

public GetState ( int index ) : KeyboardState
index int
return KeyboardState

ProcessKeyboardEvent() public method

public ProcessKeyboardEvent ( RawInput rin ) : bool
rin RawInput
return bool

RefreshDevices() public method

public RefreshDevices ( ) : void
return void

WinRawKeyboard() public method

public WinRawKeyboard ( IntPtr windowHandle ) : System
windowHandle System.IntPtr
return System