The Open Toolkit library
1.0
|
Defines the event data for KeyboardDevice events. More...
Inherits EventArgs.
Public Member Functions | |
KeyboardKeyEventArgs () | |
Constructs a new KeyboardEventArgs instance. More... | |
KeyboardKeyEventArgs (KeyboardKeyEventArgs args) | |
Constructs a new KeyboardEventArgs instance. More... | |
Properties | |
Key | Key [get, set] |
Gets the Key that generated this event. More... | |
uint | ScanCode [get, set] |
Gets the scancode which generated this event. More... | |
Defines the event data for KeyboardDevice events.
Do not cache instances of this type outside their event handler. If necessary, you can clone a KeyboardEventArgs instance using the KeyboardKeyEventArgs(KeyboardKeyEventArgs) constructor.
OpenTK.Input.KeyboardKeyEventArgs.KeyboardKeyEventArgs | ( | ) |
Constructs a new KeyboardEventArgs instance.
OpenTK.Input.KeyboardKeyEventArgs.KeyboardKeyEventArgs | ( | KeyboardKeyEventArgs | args | ) |
Constructs a new KeyboardEventArgs instance.
args | An existing KeyboardEventArgs instance to clone. |
|
getset |
Gets the scancode which generated this event.