VoK.Sdk
Doxygen generated documentation for the Dungeon Helper SDK
|
Arguments for Hotkey events More...
Inherits VoK.Sdk.Events.ControlKeyArgs, and ICloneable.
Public Member Functions | |
object | Clone () |
![]() | |
ControlKeyArgs () | |
creates a ControlKeyArgs instance with all flags false More... | |
ControlKeyArgs (bool control, bool shift, bool alt) | |
creates a ControlKeyArgs instance with the specified default values More... | |
object | Clone () |
Static Public Member Functions | |
static HotKeyEventArgs | FromKeys (int key, bool control=false, bool shift=false, bool alt=false, bool keyUp=true, bool keyDown=true) |
Properties | |
int | Key [get] |
This int should map to a System.Windows.Forms.Keys enumeration value, but an integer is used to not carry the .Forms dependency in the SDK. This is really only valid for English (US) keyboards. If you want to support hotkey mappings from the Keymap, you should probably be using DirectInputKey. More... | |
uint | DirectInputKey [get] |
this maps to a direct input / scan key code. Should map to DirectInputKeys, but the enum is not enforced as non-standard physical keyboards can break this. More... | |
bool | KeyUp = true [get, set] |
bool | KeyDown = true [get, set] |
![]() | |
bool | Control = false [get] |
whether or not the control key was pressed More... | |
bool | Shift = false [get] |
whether or not the shift key was pressed More... | |
bool | Alt = false [get] |
whether or not the alt key was pressed More... | |
Arguments for Hotkey events