Loading...
Searching...
No Matches
◆ console_key_info() [2/2]
xtd::console_key_info::console_key_info |
( |
char32 |
key_char, |
|
|
console_key |
key, |
|
|
bool |
shift, |
|
|
bool |
alt, |
|
|
bool |
control |
|
) |
| |
|
noexcept |
Initializes a new instance of the console_key_info class using the specified character, console key, and modifier keys.
- Parameters
-
keyChar | The Unicode character that corresponds to the key parameter. |
key | The console key that corresponds to the keyChar parameter. |
shift | true to indicate that a SHIFT key was pressed; otherwise, false. |
alt | true to indicate that an ALT key was pressed; otherwise, false. |
control | true to indicate that a CTRL key was pressed; otherwise, false. |