FAST SDK Coding Reference 1.0.3
|
A base class for key presses and how they map to commands. More...
Public Member Functions | |
override string | ToString () |
Format the key press and modifier keys as a combined string . | |
Public Attributes | |
bool | alt |
Inspector, Code Set to true if the Alt key needs to be pressed at the same time. | |
bool | ctrl |
Inspector, Code Set to true if the Ctrl key needs to be pressed at the same time. | |
KeyCode | key |
Inspector, Code The primary key that triggers the command. | |
string | name |
Inspector, Code The name of the key press and command. | |
bool | shift |
Inspector, Code Set to true if the Shift key needs to be pressed at the same time. | |
bool | win |
Inspector, Code Set to true if the Windows key needs to be pressed at the same time. | |
A base class for key presses and how they map to commands.
override string ToString | ( | ) |
Format the key press and modifier keys as a combined string
.
string
.For example: "CTRL+SHIFT+A"
bool alt |
Inspector, Code
Set to true
if the Alt key needs to be pressed at the same time.
bool ctrl |
Inspector, Code
Set to true
if the Ctrl key needs to be pressed at the same time.
KeyCode key |
Inspector, Code
The primary key that triggers the command.
string name |
Inspector, Code
The name of the key press and command.
bool shift |
Inspector, Code
Set to true
if the Shift key needs to be pressed at the same time.
bool win |
Inspector, Code
Set to true
if the Windows key needs to be pressed at the same time.