Struct GorgonRawKeyboardData
A representation of the Raw Input data received from WM_INPUT
.
Inherited Members
Namespace: Gorgon.Input
Assembly: Gorgon.Input.dll
Syntax
public readonly struct GorgonRawKeyboardData
Remarks
This is a Gorgon friendly representation of the data received from the WM_INPUT
window message. The data from Raw Input is parsed and placed in an instance of this type and sent to the
appropriate GorgonRawKeyboard device object to be turned into state for that device.
This type is not intended for use by applications.
Constructors
| Edit this page View SourceGorgonRawKeyboardData(int, KeyboardDataFlags, Keys)
Initializes a new instance of the GorgonRawKeyboardData struct.
Declaration
public GorgonRawKeyboardData(int scanCode, KeyboardDataFlags flags, Keys key)
Parameters
Type | Name | Description |
---|---|---|
int | scanCode | The scan code for the key. |
KeyboardDataFlags | flags | The flags for the scan code. |
Keys | key | The virtual key. |
Fields
| Edit this page View SourceFlags
Property to return flags for the scan code information.
Declaration
public readonly KeyboardDataFlags Flags
Field Value
Type | Description |
---|---|
KeyboardDataFlags |
Key
Property to return the key being used.
Declaration
public readonly Keys Key
Field Value
Type | Description |
---|---|
Keys |
ScanCode
Property to return the scan code for the key.
Declaration
public readonly int ScanCode
Field Value
Type | Description |
---|---|
int |