Class GorgonKeyboardEventArgs
Event arguments for the various events triggered on the GorgonRawKeyboard interface.
Inherited Members
Namespace: Gorgon.Input
Assembly: Gorgon.Input.dll
Syntax
public class GorgonKeyboardEventArgs : EventArgs
Constructors
| Edit this page View SourceGorgonKeyboardEventArgs(Keys, Keys, int)
Initializes a new instance of the GorgonKeyboardEventArgs class.
Declaration
public GorgonKeyboardEventArgs(Keys key, Keys modifierKey, int scanData)
Parameters
Type | Name | Description |
---|---|---|
Keys | key | Key that is pressed. |
Keys | modifierKey | Keys that are held down during the event. |
int | scanData | Scan code data. |
Properties
| Edit this page View SourceAlt
Property to return if ALT is pressed or not.
Declaration
public bool Alt { get; }
Property Value
Type | Description |
---|---|
bool |
Ctrl
Property to return if Ctrl is pressed or not.
Declaration
public bool Ctrl { get; }
Property Value
Type | Description |
---|---|
bool |
Key
Property to return key that is pressed.
Declaration
public Keys Key { get; }
Property Value
Type | Description |
---|---|
Keys |
ModifierKeys
Property to return the keys that are being held down during the event.
Declaration
public Keys ModifierKeys { get; }
Property Value
Type | Description |
---|---|
Keys |
ScanCodeData
Property to return the scan code data.
Declaration
public int ScanCodeData { get; }
Property Value
Type | Description |
---|---|
int |
Shift
Property to return if Shift is pressed or not.
Declaration
public bool Shift { get; }
Property Value
Type | Description |
---|---|
bool |