30 bool operator==(
const console_key_info& key_info)
const noexcept {
return key_char_ == key_info.key_char_ && key_ == key_info.key_ && modifiers_ == key_info.modifiers_;}
31 bool operator!=(
const console_key_info& key_info)
const noexcept {
return !operator==(key_info);}
64 char32_t key_char_ {0};
Specifies the standard keys on a console.
Definition: console_key_info.h:20
console_key_info()=default
Create a new instance of console_key_info class.
console_key_info(char32_t key_char, console_key key, bool shift, bool alt, bool control)
Initializes a new instance of the console_key_info class using the specified character,...
Definition: console_key_info.h:42
console_key key()
Gets the console key represented by the current console_key_info object.
Definition: console_key_info.h:53
console_modifiers modifiers()
Gets a bitwise combination of console_modifiers values that specifies one or more modifier keys press...
Definition: console_key_info.h:61
char32_t key_char()
Gets the Unicode character represented by the current console_key_info object.
Definition: console_key_info.h:57
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition: object.h:26
Contains xtd::console_key enum class.
Contains xtd::console_modifiers enum class.
console_modifiers
Represents the SHIFT, ALT, and CTRL modifier keys on a keyboard.
Definition: console_modifiers.h:16
console_key
Specifies the standard keys on a console.
Definition: console_key.h:16
@ shift
The left or right SHIFT modifier key.
@ alt
The left or right ALT modifier key.
@ control
The left or right CTRL modifier key.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17
Contains xtd::object class.