C# Class OpenTK.Platform.Windows.WinRawKeyboard

Inheritance: IKeyboardDriver2
Afficher le fichier Open project: andykorth/opentk Class Usage Examples

Méthodes publiques

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

Private Methods

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

Method Details

GetDeviceName() public méthode

public GetDeviceName ( int index ) : string
index int
Résultat string

GetState() public méthode

public GetState ( ) : KeyboardState
Résultat KeyboardState

GetState() public méthode

public GetState ( int index ) : KeyboardState
index int
Résultat KeyboardState

ProcessKeyboardEvent() public méthode

public ProcessKeyboardEvent ( RawInput rin ) : bool
rin RawInput
Résultat bool

RefreshDevices() public méthode

public RefreshDevices ( ) : void
Résultat void

WinRawKeyboard() public méthode

public WinRawKeyboard ( IntPtr windowHandle ) : System
windowHandle System.IntPtr
Résultat System