pub struct PhysicalKeyboardKey {
pub usb_hid_usage: u64,
}Expand description
A type with constants that describe the keys that are returned from
RawKeyEvent.physicalKey.
PhysicalKeyboardKeys are used to describe and test for keys in a particular
location on a keyboard. The keys are described by the USB HID usage code that
the key would produce, ignoring the key map, modifier keys (like SHIFT), and
the label on the key.
This is contrast to LogicalKeyboardKey, which represents a logical key
interpreted in the context of modifiers, modes, and/or keyboard layouts.
For instance, if you wanted a game where the key next to the CAPS LOCK (the “A” key on a QWERTY keyboard) moved the player to the left, you’d want to look at the physical key to make sure that regardless of the character the key produces, you got the key that is in that location on the keyboard.
Fields§
§usb_hid_usage: u64The unique USB HID usage ID of this physical key on the keyboard.
Due to the variations in platform APIs, this may not be the actual HID usage code from the hardware, but a value derived from available information on the platform.
See https://www.usb.org/sites/default/files/documents/hut1_12v2.pdf for the HID usage values and their meanings.
Implementations§
Source§impl PhysicalKeyboardKey
impl PhysicalKeyboardKey
Sourcepub const HYPER: PhysicalKeyboardKey
pub const HYPER: PhysicalKeyboardKey
Represents the location of the “Hyper” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const SUPER_KEY: PhysicalKeyboardKey
pub const SUPER_KEY: PhysicalKeyboardKey
Represents the location of the “Super Key” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const FN: PhysicalKeyboardKey
pub const FN: PhysicalKeyboardKey
Represents the location of the “Fn” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const FN_LOCK: PhysicalKeyboardKey
pub const FN_LOCK: PhysicalKeyboardKey
Represents the location of the “Fn Lock” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const SUSPEND: PhysicalKeyboardKey
pub const SUSPEND: PhysicalKeyboardKey
Represents the location of the “Suspend” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const RESUME: PhysicalKeyboardKey
pub const RESUME: PhysicalKeyboardKey
Represents the location of the “Resume” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const TURBO: PhysicalKeyboardKey
pub const TURBO: PhysicalKeyboardKey
Represents the location of the “Turbo” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const PRIVACY_SCREEN_TOGGLE: PhysicalKeyboardKey
pub const PRIVACY_SCREEN_TOGGLE: PhysicalKeyboardKey
Represents the location of the “Privacy Screen Toggle” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const MICROPHONE_MUTE_TOGGLE: PhysicalKeyboardKey
pub const MICROPHONE_MUTE_TOGGLE: PhysicalKeyboardKey
Represents the location of the “Microphone Mute Toggle” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const SLEEP: PhysicalKeyboardKey
pub const SLEEP: PhysicalKeyboardKey
Represents the location of the “Sleep” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const WAKE_UP: PhysicalKeyboardKey
pub const WAKE_UP: PhysicalKeyboardKey
Represents the location of the “Wake Up” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const DISPLAY_TOGGLE_INT_EXT: PhysicalKeyboardKey
pub const DISPLAY_TOGGLE_INT_EXT: PhysicalKeyboardKey
Represents the location of the “Display Toggle Int Ext” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const GAME_BUTTON1: PhysicalKeyboardKey
pub const GAME_BUTTON1: PhysicalKeyboardKey
Represents the location of the “Game Button 1” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const GAME_BUTTON2: PhysicalKeyboardKey
pub const GAME_BUTTON2: PhysicalKeyboardKey
Represents the location of the “Game Button 2” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const GAME_BUTTON3: PhysicalKeyboardKey
pub const GAME_BUTTON3: PhysicalKeyboardKey
Represents the location of the “Game Button 3” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const GAME_BUTTON4: PhysicalKeyboardKey
pub const GAME_BUTTON4: PhysicalKeyboardKey
Represents the location of the “Game Button 4” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const GAME_BUTTON5: PhysicalKeyboardKey
pub const GAME_BUTTON5: PhysicalKeyboardKey
Represents the location of the “Game Button 5” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const GAME_BUTTON6: PhysicalKeyboardKey
pub const GAME_BUTTON6: PhysicalKeyboardKey
Represents the location of the “Game Button 6” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const GAME_BUTTON7: PhysicalKeyboardKey
pub const GAME_BUTTON7: PhysicalKeyboardKey
Represents the location of the “Game Button 7” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const GAME_BUTTON8: PhysicalKeyboardKey
pub const GAME_BUTTON8: PhysicalKeyboardKey
Represents the location of the “Game Button 8” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const GAME_BUTTON9: PhysicalKeyboardKey
pub const GAME_BUTTON9: PhysicalKeyboardKey
Represents the location of the “Game Button 9” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const GAME_BUTTON10: PhysicalKeyboardKey
pub const GAME_BUTTON10: PhysicalKeyboardKey
Represents the location of the “Game Button 10” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const GAME_BUTTON11: PhysicalKeyboardKey
pub const GAME_BUTTON11: PhysicalKeyboardKey
Represents the location of the “Game Button 11” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const GAME_BUTTON12: PhysicalKeyboardKey
pub const GAME_BUTTON12: PhysicalKeyboardKey
Represents the location of the “Game Button 12” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const GAME_BUTTON13: PhysicalKeyboardKey
pub const GAME_BUTTON13: PhysicalKeyboardKey
Represents the location of the “Game Button 13” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const GAME_BUTTON14: PhysicalKeyboardKey
pub const GAME_BUTTON14: PhysicalKeyboardKey
Represents the location of the “Game Button 14” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const GAME_BUTTON15: PhysicalKeyboardKey
pub const GAME_BUTTON15: PhysicalKeyboardKey
Represents the location of the “Game Button 15” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const GAME_BUTTON16: PhysicalKeyboardKey
pub const GAME_BUTTON16: PhysicalKeyboardKey
Represents the location of the “Game Button 16” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const GAME_BUTTON_A: PhysicalKeyboardKey
pub const GAME_BUTTON_A: PhysicalKeyboardKey
Represents the location of the “Game Button A” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const GAME_BUTTON_B: PhysicalKeyboardKey
pub const GAME_BUTTON_B: PhysicalKeyboardKey
Represents the location of the “Game Button B” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const GAME_BUTTON_C: PhysicalKeyboardKey
pub const GAME_BUTTON_C: PhysicalKeyboardKey
Represents the location of the “Game Button C” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const GAME_BUTTON_LEFT1: PhysicalKeyboardKey
pub const GAME_BUTTON_LEFT1: PhysicalKeyboardKey
Represents the location of the “Game Button Left 1” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const GAME_BUTTON_LEFT2: PhysicalKeyboardKey
pub const GAME_BUTTON_LEFT2: PhysicalKeyboardKey
Represents the location of the “Game Button Left 2” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const GAME_BUTTON_MODE: PhysicalKeyboardKey
pub const GAME_BUTTON_MODE: PhysicalKeyboardKey
Represents the location of the “Game Button Mode” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const GAME_BUTTON_RIGHT1: PhysicalKeyboardKey
pub const GAME_BUTTON_RIGHT1: PhysicalKeyboardKey
Represents the location of the “Game Button Right 1” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const GAME_BUTTON_RIGHT2: PhysicalKeyboardKey
pub const GAME_BUTTON_RIGHT2: PhysicalKeyboardKey
Represents the location of the “Game Button Right 2” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const GAME_BUTTON_SELECT: PhysicalKeyboardKey
pub const GAME_BUTTON_SELECT: PhysicalKeyboardKey
Represents the location of the “Game Button Select” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const GAME_BUTTON_START: PhysicalKeyboardKey
pub const GAME_BUTTON_START: PhysicalKeyboardKey
Represents the location of the “Game Button Start” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const GAME_BUTTON_THUMB_LEFT: PhysicalKeyboardKey
pub const GAME_BUTTON_THUMB_LEFT: PhysicalKeyboardKey
Represents the location of the “Game Button Thumb Left” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const GAME_BUTTON_THUMB_RIGHT: PhysicalKeyboardKey
pub const GAME_BUTTON_THUMB_RIGHT: PhysicalKeyboardKey
Represents the location of the “Game Button Thumb Right” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const GAME_BUTTON_X: PhysicalKeyboardKey
pub const GAME_BUTTON_X: PhysicalKeyboardKey
Represents the location of the “Game Button X” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const GAME_BUTTON_Y: PhysicalKeyboardKey
pub const GAME_BUTTON_Y: PhysicalKeyboardKey
Represents the location of the “Game Button Y” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const GAME_BUTTON_Z: PhysicalKeyboardKey
pub const GAME_BUTTON_Z: PhysicalKeyboardKey
Represents the location of the “Game Button Z” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const USB_RESERVED: PhysicalKeyboardKey
pub const USB_RESERVED: PhysicalKeyboardKey
Represents the location of the “Usb Reserved” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const USB_ERROR_ROLL_OVER: PhysicalKeyboardKey
pub const USB_ERROR_ROLL_OVER: PhysicalKeyboardKey
Represents the location of the “Usb Error Roll Over” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const USB_POST_FAIL: PhysicalKeyboardKey
pub const USB_POST_FAIL: PhysicalKeyboardKey
Represents the location of the “Usb Post Fail” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const USB_ERROR_UNDEFINED: PhysicalKeyboardKey
pub const USB_ERROR_UNDEFINED: PhysicalKeyboardKey
Represents the location of the “Usb Error Undefined” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const KEY_A: PhysicalKeyboardKey
pub const KEY_A: PhysicalKeyboardKey
Represents the location of the “Key A” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const KEY_B: PhysicalKeyboardKey
pub const KEY_B: PhysicalKeyboardKey
Represents the location of the “Key B” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const KEY_C: PhysicalKeyboardKey
pub const KEY_C: PhysicalKeyboardKey
Represents the location of the “Key C” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const KEY_D: PhysicalKeyboardKey
pub const KEY_D: PhysicalKeyboardKey
Represents the location of the “Key D” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const KEY_E: PhysicalKeyboardKey
pub const KEY_E: PhysicalKeyboardKey
Represents the location of the “Key E” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const KEY_F: PhysicalKeyboardKey
pub const KEY_F: PhysicalKeyboardKey
Represents the location of the “Key F” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const KEY_G: PhysicalKeyboardKey
pub const KEY_G: PhysicalKeyboardKey
Represents the location of the “Key G” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const KEY_H: PhysicalKeyboardKey
pub const KEY_H: PhysicalKeyboardKey
Represents the location of the “Key H” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const KEY_I: PhysicalKeyboardKey
pub const KEY_I: PhysicalKeyboardKey
Represents the location of the “Key I” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const KEY_J: PhysicalKeyboardKey
pub const KEY_J: PhysicalKeyboardKey
Represents the location of the “Key J” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const KEY_K: PhysicalKeyboardKey
pub const KEY_K: PhysicalKeyboardKey
Represents the location of the “Key K” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const KEY_L: PhysicalKeyboardKey
pub const KEY_L: PhysicalKeyboardKey
Represents the location of the “Key L” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const KEY_M: PhysicalKeyboardKey
pub const KEY_M: PhysicalKeyboardKey
Represents the location of the “Key M” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const KEY_N: PhysicalKeyboardKey
pub const KEY_N: PhysicalKeyboardKey
Represents the location of the “Key N” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const KEY_O: PhysicalKeyboardKey
pub const KEY_O: PhysicalKeyboardKey
Represents the location of the “Key O” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const KEY_P: PhysicalKeyboardKey
pub const KEY_P: PhysicalKeyboardKey
Represents the location of the “Key P” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const KEY_Q: PhysicalKeyboardKey
pub const KEY_Q: PhysicalKeyboardKey
Represents the location of the “Key Q” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const KEY_R: PhysicalKeyboardKey
pub const KEY_R: PhysicalKeyboardKey
Represents the location of the “Key R” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const KEY_S: PhysicalKeyboardKey
pub const KEY_S: PhysicalKeyboardKey
Represents the location of the “Key S” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const KEY_T: PhysicalKeyboardKey
pub const KEY_T: PhysicalKeyboardKey
Represents the location of the “Key T” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const KEY_U: PhysicalKeyboardKey
pub const KEY_U: PhysicalKeyboardKey
Represents the location of the “Key U” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const KEY_V: PhysicalKeyboardKey
pub const KEY_V: PhysicalKeyboardKey
Represents the location of the “Key V” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const KEY_W: PhysicalKeyboardKey
pub const KEY_W: PhysicalKeyboardKey
Represents the location of the “Key W” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const KEY_X: PhysicalKeyboardKey
pub const KEY_X: PhysicalKeyboardKey
Represents the location of the “Key X” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const KEY_Y: PhysicalKeyboardKey
pub const KEY_Y: PhysicalKeyboardKey
Represents the location of the “Key Y” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const KEY_Z: PhysicalKeyboardKey
pub const KEY_Z: PhysicalKeyboardKey
Represents the location of the “Key Z” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const DIGIT1: PhysicalKeyboardKey
pub const DIGIT1: PhysicalKeyboardKey
Represents the location of the “Digit 1” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const DIGIT2: PhysicalKeyboardKey
pub const DIGIT2: PhysicalKeyboardKey
Represents the location of the “Digit 2” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const DIGIT3: PhysicalKeyboardKey
pub const DIGIT3: PhysicalKeyboardKey
Represents the location of the “Digit 3” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const DIGIT4: PhysicalKeyboardKey
pub const DIGIT4: PhysicalKeyboardKey
Represents the location of the “Digit 4” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const DIGIT5: PhysicalKeyboardKey
pub const DIGIT5: PhysicalKeyboardKey
Represents the location of the “Digit 5” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const DIGIT6: PhysicalKeyboardKey
pub const DIGIT6: PhysicalKeyboardKey
Represents the location of the “Digit 6” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const DIGIT7: PhysicalKeyboardKey
pub const DIGIT7: PhysicalKeyboardKey
Represents the location of the “Digit 7” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const DIGIT8: PhysicalKeyboardKey
pub const DIGIT8: PhysicalKeyboardKey
Represents the location of the “Digit 8” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const DIGIT9: PhysicalKeyboardKey
pub const DIGIT9: PhysicalKeyboardKey
Represents the location of the “Digit 9” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const DIGIT0: PhysicalKeyboardKey
pub const DIGIT0: PhysicalKeyboardKey
Represents the location of the “Digit 0” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const ENTER: PhysicalKeyboardKey
pub const ENTER: PhysicalKeyboardKey
Represents the location of the “Enter” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const ESCAPE: PhysicalKeyboardKey
pub const ESCAPE: PhysicalKeyboardKey
Represents the location of the “Escape” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const BACKSPACE: PhysicalKeyboardKey
pub const BACKSPACE: PhysicalKeyboardKey
Represents the location of the “Backspace” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const TAB: PhysicalKeyboardKey
pub const TAB: PhysicalKeyboardKey
Represents the location of the “Tab” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const SPACE: PhysicalKeyboardKey
pub const SPACE: PhysicalKeyboardKey
Represents the location of the “Space” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const MINUS: PhysicalKeyboardKey
pub const MINUS: PhysicalKeyboardKey
Represents the location of the “Minus” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const EQUAL: PhysicalKeyboardKey
pub const EQUAL: PhysicalKeyboardKey
Represents the location of the “Equal” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const BRACKET_LEFT: PhysicalKeyboardKey
pub const BRACKET_LEFT: PhysicalKeyboardKey
Represents the location of the “Bracket Left” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const BRACKET_RIGHT: PhysicalKeyboardKey
pub const BRACKET_RIGHT: PhysicalKeyboardKey
Represents the location of the “Bracket Right” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const BACKSLASH: PhysicalKeyboardKey
pub const BACKSLASH: PhysicalKeyboardKey
Represents the location of the “Backslash” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const SEMICOLON: PhysicalKeyboardKey
pub const SEMICOLON: PhysicalKeyboardKey
Represents the location of the “Semicolon” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const QUOTE: PhysicalKeyboardKey
pub const QUOTE: PhysicalKeyboardKey
Represents the location of the “Quote” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const BACKQUOTE: PhysicalKeyboardKey
pub const BACKQUOTE: PhysicalKeyboardKey
Represents the location of the “Backquote” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const COMMA: PhysicalKeyboardKey
pub const COMMA: PhysicalKeyboardKey
Represents the location of the “Comma” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const PERIOD: PhysicalKeyboardKey
pub const PERIOD: PhysicalKeyboardKey
Represents the location of the “Period” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const SLASH: PhysicalKeyboardKey
pub const SLASH: PhysicalKeyboardKey
Represents the location of the “Slash” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const CAPS_LOCK: PhysicalKeyboardKey
pub const CAPS_LOCK: PhysicalKeyboardKey
Represents the location of the “Caps Lock” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const F1: PhysicalKeyboardKey
pub const F1: PhysicalKeyboardKey
Represents the location of the “F1” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const F2: PhysicalKeyboardKey
pub const F2: PhysicalKeyboardKey
Represents the location of the “F2” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const F3: PhysicalKeyboardKey
pub const F3: PhysicalKeyboardKey
Represents the location of the “F3” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const F4: PhysicalKeyboardKey
pub const F4: PhysicalKeyboardKey
Represents the location of the “F4” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const F5: PhysicalKeyboardKey
pub const F5: PhysicalKeyboardKey
Represents the location of the “F5” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const F6: PhysicalKeyboardKey
pub const F6: PhysicalKeyboardKey
Represents the location of the “F6” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const F7: PhysicalKeyboardKey
pub const F7: PhysicalKeyboardKey
Represents the location of the “F7” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const F8: PhysicalKeyboardKey
pub const F8: PhysicalKeyboardKey
Represents the location of the “F8” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const F9: PhysicalKeyboardKey
pub const F9: PhysicalKeyboardKey
Represents the location of the “F9” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const F10: PhysicalKeyboardKey
pub const F10: PhysicalKeyboardKey
Represents the location of the “F10” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const F11: PhysicalKeyboardKey
pub const F11: PhysicalKeyboardKey
Represents the location of the “F11” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const F12: PhysicalKeyboardKey
pub const F12: PhysicalKeyboardKey
Represents the location of the “F12” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const PRINT_SCREEN: PhysicalKeyboardKey
pub const PRINT_SCREEN: PhysicalKeyboardKey
Represents the location of the “Print Screen” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const SCROLL_LOCK: PhysicalKeyboardKey
pub const SCROLL_LOCK: PhysicalKeyboardKey
Represents the location of the “Scroll Lock” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const PAUSE: PhysicalKeyboardKey
pub const PAUSE: PhysicalKeyboardKey
Represents the location of the “Pause” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const INSERT: PhysicalKeyboardKey
pub const INSERT: PhysicalKeyboardKey
Represents the location of the “Insert” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const HOME: PhysicalKeyboardKey
pub const HOME: PhysicalKeyboardKey
Represents the location of the “Home” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const PAGE_UP: PhysicalKeyboardKey
pub const PAGE_UP: PhysicalKeyboardKey
Represents the location of the “Page Up” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const DELETE: PhysicalKeyboardKey
pub const DELETE: PhysicalKeyboardKey
Represents the location of the “Delete” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const END: PhysicalKeyboardKey
pub const END: PhysicalKeyboardKey
Represents the location of the “End” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const PAGE_DOWN: PhysicalKeyboardKey
pub const PAGE_DOWN: PhysicalKeyboardKey
Represents the location of the “Page Down” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const ARROW_RIGHT: PhysicalKeyboardKey
pub const ARROW_RIGHT: PhysicalKeyboardKey
Represents the location of the “Arrow Right” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const ARROW_LEFT: PhysicalKeyboardKey
pub const ARROW_LEFT: PhysicalKeyboardKey
Represents the location of the “Arrow Left” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const ARROW_DOWN: PhysicalKeyboardKey
pub const ARROW_DOWN: PhysicalKeyboardKey
Represents the location of the “Arrow Down” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const ARROW_UP: PhysicalKeyboardKey
pub const ARROW_UP: PhysicalKeyboardKey
Represents the location of the “Arrow Up” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const NUM_LOCK: PhysicalKeyboardKey
pub const NUM_LOCK: PhysicalKeyboardKey
Represents the location of the “Num Lock” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const NUMPAD_DIVIDE: PhysicalKeyboardKey
pub const NUMPAD_DIVIDE: PhysicalKeyboardKey
Represents the location of the “Numpad Divide” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const NUMPAD_MULTIPLY: PhysicalKeyboardKey
pub const NUMPAD_MULTIPLY: PhysicalKeyboardKey
Represents the location of the “Numpad Multiply” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const NUMPAD_SUBTRACT: PhysicalKeyboardKey
pub const NUMPAD_SUBTRACT: PhysicalKeyboardKey
Represents the location of the “Numpad Subtract” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const NUMPAD_ADD: PhysicalKeyboardKey
pub const NUMPAD_ADD: PhysicalKeyboardKey
Represents the location of the “Numpad Add” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const NUMPAD_ENTER: PhysicalKeyboardKey
pub const NUMPAD_ENTER: PhysicalKeyboardKey
Represents the location of the “Numpad Enter” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const NUMPAD1: PhysicalKeyboardKey
pub const NUMPAD1: PhysicalKeyboardKey
Represents the location of the “Numpad 1” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const NUMPAD2: PhysicalKeyboardKey
pub const NUMPAD2: PhysicalKeyboardKey
Represents the location of the “Numpad 2” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const NUMPAD3: PhysicalKeyboardKey
pub const NUMPAD3: PhysicalKeyboardKey
Represents the location of the “Numpad 3” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const NUMPAD4: PhysicalKeyboardKey
pub const NUMPAD4: PhysicalKeyboardKey
Represents the location of the “Numpad 4” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const NUMPAD5: PhysicalKeyboardKey
pub const NUMPAD5: PhysicalKeyboardKey
Represents the location of the “Numpad 5” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const NUMPAD6: PhysicalKeyboardKey
pub const NUMPAD6: PhysicalKeyboardKey
Represents the location of the “Numpad 6” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const NUMPAD7: PhysicalKeyboardKey
pub const NUMPAD7: PhysicalKeyboardKey
Represents the location of the “Numpad 7” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const NUMPAD8: PhysicalKeyboardKey
pub const NUMPAD8: PhysicalKeyboardKey
Represents the location of the “Numpad 8” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const NUMPAD9: PhysicalKeyboardKey
pub const NUMPAD9: PhysicalKeyboardKey
Represents the location of the “Numpad 9” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const NUMPAD0: PhysicalKeyboardKey
pub const NUMPAD0: PhysicalKeyboardKey
Represents the location of the “Numpad 0” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const NUMPAD_DECIMAL: PhysicalKeyboardKey
pub const NUMPAD_DECIMAL: PhysicalKeyboardKey
Represents the location of the “Numpad Decimal” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const INTL_BACKSLASH: PhysicalKeyboardKey
pub const INTL_BACKSLASH: PhysicalKeyboardKey
Represents the location of the “Intl Backslash” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const CONTEXT_MENU: PhysicalKeyboardKey
pub const CONTEXT_MENU: PhysicalKeyboardKey
Represents the location of the “Context Menu” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const POWER: PhysicalKeyboardKey
pub const POWER: PhysicalKeyboardKey
Represents the location of the “Power” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const NUMPAD_EQUAL: PhysicalKeyboardKey
pub const NUMPAD_EQUAL: PhysicalKeyboardKey
Represents the location of the “Numpad Equal” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const F13: PhysicalKeyboardKey
pub const F13: PhysicalKeyboardKey
Represents the location of the “F13” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const F14: PhysicalKeyboardKey
pub const F14: PhysicalKeyboardKey
Represents the location of the “F14” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const F15: PhysicalKeyboardKey
pub const F15: PhysicalKeyboardKey
Represents the location of the “F15” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const F16: PhysicalKeyboardKey
pub const F16: PhysicalKeyboardKey
Represents the location of the “F16” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const F17: PhysicalKeyboardKey
pub const F17: PhysicalKeyboardKey
Represents the location of the “F17” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const F18: PhysicalKeyboardKey
pub const F18: PhysicalKeyboardKey
Represents the location of the “F18” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const F19: PhysicalKeyboardKey
pub const F19: PhysicalKeyboardKey
Represents the location of the “F19” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const F20: PhysicalKeyboardKey
pub const F20: PhysicalKeyboardKey
Represents the location of the “F20” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const F21: PhysicalKeyboardKey
pub const F21: PhysicalKeyboardKey
Represents the location of the “F21” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const F22: PhysicalKeyboardKey
pub const F22: PhysicalKeyboardKey
Represents the location of the “F22” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const F23: PhysicalKeyboardKey
pub const F23: PhysicalKeyboardKey
Represents the location of the “F23” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const F24: PhysicalKeyboardKey
pub const F24: PhysicalKeyboardKey
Represents the location of the “F24” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const OPEN: PhysicalKeyboardKey
pub const OPEN: PhysicalKeyboardKey
Represents the location of the “Open” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const HELP: PhysicalKeyboardKey
pub const HELP: PhysicalKeyboardKey
Represents the location of the “Help” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const SELECT: PhysicalKeyboardKey
pub const SELECT: PhysicalKeyboardKey
Represents the location of the “Select” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const AGAIN: PhysicalKeyboardKey
pub const AGAIN: PhysicalKeyboardKey
Represents the location of the “Again” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const UNDO: PhysicalKeyboardKey
pub const UNDO: PhysicalKeyboardKey
Represents the location of the “Undo” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const CUT: PhysicalKeyboardKey
pub const CUT: PhysicalKeyboardKey
Represents the location of the “Cut” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const COPY: PhysicalKeyboardKey
pub const COPY: PhysicalKeyboardKey
Represents the location of the “Copy” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const PASTE: PhysicalKeyboardKey
pub const PASTE: PhysicalKeyboardKey
Represents the location of the “Paste” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const FIND: PhysicalKeyboardKey
pub const FIND: PhysicalKeyboardKey
Represents the location of the “Find” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const AUDIO_VOLUME_MUTE: PhysicalKeyboardKey
pub const AUDIO_VOLUME_MUTE: PhysicalKeyboardKey
Represents the location of the “Audio Volume Mute” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const AUDIO_VOLUME_UP: PhysicalKeyboardKey
pub const AUDIO_VOLUME_UP: PhysicalKeyboardKey
Represents the location of the “Audio Volume Up” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const AUDIO_VOLUME_DOWN: PhysicalKeyboardKey
pub const AUDIO_VOLUME_DOWN: PhysicalKeyboardKey
Represents the location of the “Audio Volume Down” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const NUMPAD_COMMA: PhysicalKeyboardKey
pub const NUMPAD_COMMA: PhysicalKeyboardKey
Represents the location of the “Numpad Comma” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const INTL_RO: PhysicalKeyboardKey
pub const INTL_RO: PhysicalKeyboardKey
Represents the location of the “Intl Ro” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const KANA_MODE: PhysicalKeyboardKey
pub const KANA_MODE: PhysicalKeyboardKey
Represents the location of the “Kana Mode” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const INTL_YEN: PhysicalKeyboardKey
pub const INTL_YEN: PhysicalKeyboardKey
Represents the location of the “Intl Yen” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const CONVERT: PhysicalKeyboardKey
pub const CONVERT: PhysicalKeyboardKey
Represents the location of the “Convert” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const NON_CONVERT: PhysicalKeyboardKey
pub const NON_CONVERT: PhysicalKeyboardKey
Represents the location of the “Non Convert” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const LANG1: PhysicalKeyboardKey
pub const LANG1: PhysicalKeyboardKey
Represents the location of the “Lang 1” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const LANG2: PhysicalKeyboardKey
pub const LANG2: PhysicalKeyboardKey
Represents the location of the “Lang 2” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const LANG3: PhysicalKeyboardKey
pub const LANG3: PhysicalKeyboardKey
Represents the location of the “Lang 3” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const LANG4: PhysicalKeyboardKey
pub const LANG4: PhysicalKeyboardKey
Represents the location of the “Lang 4” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const LANG5: PhysicalKeyboardKey
pub const LANG5: PhysicalKeyboardKey
Represents the location of the “Lang 5” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const ABORT: PhysicalKeyboardKey
pub const ABORT: PhysicalKeyboardKey
Represents the location of the “Abort” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const PROPS: PhysicalKeyboardKey
pub const PROPS: PhysicalKeyboardKey
Represents the location of the “Props” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const NUMPAD_PAREN_LEFT: PhysicalKeyboardKey
pub const NUMPAD_PAREN_LEFT: PhysicalKeyboardKey
Represents the location of the “Numpad Paren Left” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const NUMPAD_PAREN_RIGHT: PhysicalKeyboardKey
pub const NUMPAD_PAREN_RIGHT: PhysicalKeyboardKey
Represents the location of the “Numpad Paren Right” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const NUMPAD_BACKSPACE: PhysicalKeyboardKey
pub const NUMPAD_BACKSPACE: PhysicalKeyboardKey
Represents the location of the “Numpad Backspace” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const NUMPAD_MEMORY_STORE: PhysicalKeyboardKey
pub const NUMPAD_MEMORY_STORE: PhysicalKeyboardKey
Represents the location of the “Numpad Memory Store” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const NUMPAD_MEMORY_RECALL: PhysicalKeyboardKey
pub const NUMPAD_MEMORY_RECALL: PhysicalKeyboardKey
Represents the location of the “Numpad Memory Recall” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const NUMPAD_MEMORY_CLEAR: PhysicalKeyboardKey
pub const NUMPAD_MEMORY_CLEAR: PhysicalKeyboardKey
Represents the location of the “Numpad Memory Clear” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const NUMPAD_MEMORY_ADD: PhysicalKeyboardKey
pub const NUMPAD_MEMORY_ADD: PhysicalKeyboardKey
Represents the location of the “Numpad Memory Add” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const NUMPAD_MEMORY_SUBTRACT: PhysicalKeyboardKey
pub const NUMPAD_MEMORY_SUBTRACT: PhysicalKeyboardKey
Represents the location of the “Numpad Memory Subtract” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const NUMPAD_SIGN_CHANGE: PhysicalKeyboardKey
pub const NUMPAD_SIGN_CHANGE: PhysicalKeyboardKey
Represents the location of the “Numpad Sign Change” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const NUMPAD_CLEAR: PhysicalKeyboardKey
pub const NUMPAD_CLEAR: PhysicalKeyboardKey
Represents the location of the “Numpad Clear” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const NUMPAD_CLEAR_ENTRY: PhysicalKeyboardKey
pub const NUMPAD_CLEAR_ENTRY: PhysicalKeyboardKey
Represents the location of the “Numpad Clear Entry” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const CONTROL_LEFT: PhysicalKeyboardKey
pub const CONTROL_LEFT: PhysicalKeyboardKey
Represents the location of the “Control Left” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const SHIFT_LEFT: PhysicalKeyboardKey
pub const SHIFT_LEFT: PhysicalKeyboardKey
Represents the location of the “Shift Left” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const ALT_LEFT: PhysicalKeyboardKey
pub const ALT_LEFT: PhysicalKeyboardKey
Represents the location of the “Alt Left” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const META_LEFT: PhysicalKeyboardKey
pub const META_LEFT: PhysicalKeyboardKey
Represents the location of the “Meta Left” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const CONTROL_RIGHT: PhysicalKeyboardKey
pub const CONTROL_RIGHT: PhysicalKeyboardKey
Represents the location of the “Control Right” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const SHIFT_RIGHT: PhysicalKeyboardKey
pub const SHIFT_RIGHT: PhysicalKeyboardKey
Represents the location of the “Shift Right” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const ALT_RIGHT: PhysicalKeyboardKey
pub const ALT_RIGHT: PhysicalKeyboardKey
Represents the location of the “Alt Right” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const META_RIGHT: PhysicalKeyboardKey
pub const META_RIGHT: PhysicalKeyboardKey
Represents the location of the “Meta Right” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const INFO: PhysicalKeyboardKey
pub const INFO: PhysicalKeyboardKey
Represents the location of the “Info” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const CLOSED_CAPTION_TOGGLE: PhysicalKeyboardKey
pub const CLOSED_CAPTION_TOGGLE: PhysicalKeyboardKey
Represents the location of the “Closed Caption Toggle” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const BRIGHTNESS_UP: PhysicalKeyboardKey
pub const BRIGHTNESS_UP: PhysicalKeyboardKey
Represents the location of the “Brightness Up” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const BRIGHTNESS_DOWN: PhysicalKeyboardKey
pub const BRIGHTNESS_DOWN: PhysicalKeyboardKey
Represents the location of the “Brightness Down” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const BRIGHTNESS_TOGGLE: PhysicalKeyboardKey
pub const BRIGHTNESS_TOGGLE: PhysicalKeyboardKey
Represents the location of the “Brightness Toggle” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const BRIGHTNESS_MINIMUM: PhysicalKeyboardKey
pub const BRIGHTNESS_MINIMUM: PhysicalKeyboardKey
Represents the location of the “Brightness Minimum” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const BRIGHTNESS_MAXIMUM: PhysicalKeyboardKey
pub const BRIGHTNESS_MAXIMUM: PhysicalKeyboardKey
Represents the location of the “Brightness Maximum” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const BRIGHTNESS_AUTO: PhysicalKeyboardKey
pub const BRIGHTNESS_AUTO: PhysicalKeyboardKey
Represents the location of the “Brightness Auto” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const KBD_ILLUM_UP: PhysicalKeyboardKey
pub const KBD_ILLUM_UP: PhysicalKeyboardKey
Represents the location of the “Kbd Illum Up” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const KBD_ILLUM_DOWN: PhysicalKeyboardKey
pub const KBD_ILLUM_DOWN: PhysicalKeyboardKey
Represents the location of the “Kbd Illum Down” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const MEDIA_LAST: PhysicalKeyboardKey
pub const MEDIA_LAST: PhysicalKeyboardKey
Represents the location of the “Media Last” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const LAUNCH_PHONE: PhysicalKeyboardKey
pub const LAUNCH_PHONE: PhysicalKeyboardKey
Represents the location of the “Launch Phone” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const PROGRAM_GUIDE: PhysicalKeyboardKey
pub const PROGRAM_GUIDE: PhysicalKeyboardKey
Represents the location of the “Program Guide” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const EXIT: PhysicalKeyboardKey
pub const EXIT: PhysicalKeyboardKey
Represents the location of the “Exit” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const CHANNEL_UP: PhysicalKeyboardKey
pub const CHANNEL_UP: PhysicalKeyboardKey
Represents the location of the “Channel Up” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const CHANNEL_DOWN: PhysicalKeyboardKey
pub const CHANNEL_DOWN: PhysicalKeyboardKey
Represents the location of the “Channel Down” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const MEDIA_PLAY: PhysicalKeyboardKey
pub const MEDIA_PLAY: PhysicalKeyboardKey
Represents the location of the “Media Play” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const MEDIA_PAUSE: PhysicalKeyboardKey
pub const MEDIA_PAUSE: PhysicalKeyboardKey
Represents the location of the “Media Pause” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const MEDIA_RECORD: PhysicalKeyboardKey
pub const MEDIA_RECORD: PhysicalKeyboardKey
Represents the location of the “Media Record” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const MEDIA_FAST_FORWARD: PhysicalKeyboardKey
pub const MEDIA_FAST_FORWARD: PhysicalKeyboardKey
Represents the location of the “Media Fast Forward” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const MEDIA_REWIND: PhysicalKeyboardKey
pub const MEDIA_REWIND: PhysicalKeyboardKey
Represents the location of the “Media Rewind” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const MEDIA_TRACK_NEXT: PhysicalKeyboardKey
pub const MEDIA_TRACK_NEXT: PhysicalKeyboardKey
Represents the location of the “Media Track Next” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const MEDIA_TRACK_PREVIOUS: PhysicalKeyboardKey
pub const MEDIA_TRACK_PREVIOUS: PhysicalKeyboardKey
Represents the location of the “Media Track Previous” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const MEDIA_STOP: PhysicalKeyboardKey
pub const MEDIA_STOP: PhysicalKeyboardKey
Represents the location of the “Media Stop” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const EJECT: PhysicalKeyboardKey
pub const EJECT: PhysicalKeyboardKey
Represents the location of the “Eject” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const MEDIA_PLAY_PAUSE: PhysicalKeyboardKey
pub const MEDIA_PLAY_PAUSE: PhysicalKeyboardKey
Represents the location of the “Media Play Pause” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const SPEECH_INPUT_TOGGLE: PhysicalKeyboardKey
pub const SPEECH_INPUT_TOGGLE: PhysicalKeyboardKey
Represents the location of the “Speech Input Toggle” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const BASS_BOOST: PhysicalKeyboardKey
pub const BASS_BOOST: PhysicalKeyboardKey
Represents the location of the “Bass Boost” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const MEDIA_SELECT: PhysicalKeyboardKey
pub const MEDIA_SELECT: PhysicalKeyboardKey
Represents the location of the “Media Select” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const LAUNCH_WORD_PROCESSOR: PhysicalKeyboardKey
pub const LAUNCH_WORD_PROCESSOR: PhysicalKeyboardKey
Represents the location of the “Launch Word Processor” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const LAUNCH_SPREADSHEET: PhysicalKeyboardKey
pub const LAUNCH_SPREADSHEET: PhysicalKeyboardKey
Represents the location of the “Launch Spreadsheet” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const LAUNCH_MAIL: PhysicalKeyboardKey
pub const LAUNCH_MAIL: PhysicalKeyboardKey
Represents the location of the “Launch Mail” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const LAUNCH_CONTACTS: PhysicalKeyboardKey
pub const LAUNCH_CONTACTS: PhysicalKeyboardKey
Represents the location of the “Launch Contacts” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const LAUNCH_CALENDAR: PhysicalKeyboardKey
pub const LAUNCH_CALENDAR: PhysicalKeyboardKey
Represents the location of the “Launch Calendar” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const LAUNCH_APP2: PhysicalKeyboardKey
pub const LAUNCH_APP2: PhysicalKeyboardKey
Represents the location of the “Launch App2” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const LAUNCH_APP1: PhysicalKeyboardKey
pub const LAUNCH_APP1: PhysicalKeyboardKey
Represents the location of the “Launch App1” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const LAUNCH_INTERNET_BROWSER: PhysicalKeyboardKey
pub const LAUNCH_INTERNET_BROWSER: PhysicalKeyboardKey
Represents the location of the “Launch Internet Browser” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const LOG_OFF: PhysicalKeyboardKey
pub const LOG_OFF: PhysicalKeyboardKey
Represents the location of the “Log Off” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const LOCK_SCREEN: PhysicalKeyboardKey
pub const LOCK_SCREEN: PhysicalKeyboardKey
Represents the location of the “Lock Screen” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const LAUNCH_CONTROL_PANEL: PhysicalKeyboardKey
pub const LAUNCH_CONTROL_PANEL: PhysicalKeyboardKey
Represents the location of the “Launch Control Panel” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const SELECT_TASK: PhysicalKeyboardKey
pub const SELECT_TASK: PhysicalKeyboardKey
Represents the location of the “Select Task” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const LAUNCH_DOCUMENTS: PhysicalKeyboardKey
pub const LAUNCH_DOCUMENTS: PhysicalKeyboardKey
Represents the location of the “Launch Documents” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const SPELL_CHECK: PhysicalKeyboardKey
pub const SPELL_CHECK: PhysicalKeyboardKey
Represents the location of the “Spell Check” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const LAUNCH_KEYBOARD_LAYOUT: PhysicalKeyboardKey
pub const LAUNCH_KEYBOARD_LAYOUT: PhysicalKeyboardKey
Represents the location of the “Launch Keyboard Layout” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const LAUNCH_SCREEN_SAVER: PhysicalKeyboardKey
pub const LAUNCH_SCREEN_SAVER: PhysicalKeyboardKey
Represents the location of the “Launch Screen Saver” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const LAUNCH_AUDIO_BROWSER: PhysicalKeyboardKey
pub const LAUNCH_AUDIO_BROWSER: PhysicalKeyboardKey
Represents the location of the “Launch Audio Browser” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const LAUNCH_ASSISTANT: PhysicalKeyboardKey
pub const LAUNCH_ASSISTANT: PhysicalKeyboardKey
Represents the location of the “Launch Assistant” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const NEW_KEY: PhysicalKeyboardKey
pub const NEW_KEY: PhysicalKeyboardKey
Represents the location of the “New Key” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const CLOSE: PhysicalKeyboardKey
pub const CLOSE: PhysicalKeyboardKey
Represents the location of the “Close” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const SAVE: PhysicalKeyboardKey
pub const SAVE: PhysicalKeyboardKey
Represents the location of the “Save” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const PRINT: PhysicalKeyboardKey
pub const PRINT: PhysicalKeyboardKey
Represents the location of the “Print” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const BROWSER_SEARCH: PhysicalKeyboardKey
pub const BROWSER_SEARCH: PhysicalKeyboardKey
Represents the location of the “Browser Search” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const BROWSER_HOME: PhysicalKeyboardKey
pub const BROWSER_HOME: PhysicalKeyboardKey
Represents the location of the “Browser Home” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const BROWSER_BACK: PhysicalKeyboardKey
pub const BROWSER_BACK: PhysicalKeyboardKey
Represents the location of the “Browser Back” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const BROWSER_FORWARD: PhysicalKeyboardKey
pub const BROWSER_FORWARD: PhysicalKeyboardKey
Represents the location of the “Browser Forward” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const BROWSER_STOP: PhysicalKeyboardKey
pub const BROWSER_STOP: PhysicalKeyboardKey
Represents the location of the “Browser Stop” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const BROWSER_REFRESH: PhysicalKeyboardKey
pub const BROWSER_REFRESH: PhysicalKeyboardKey
Represents the location of the “Browser Refresh” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const BROWSER_FAVORITES: PhysicalKeyboardKey
pub const BROWSER_FAVORITES: PhysicalKeyboardKey
Represents the location of the “Browser Favorites” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const ZOOM_IN: PhysicalKeyboardKey
pub const ZOOM_IN: PhysicalKeyboardKey
Represents the location of the “Zoom In” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const ZOOM_OUT: PhysicalKeyboardKey
pub const ZOOM_OUT: PhysicalKeyboardKey
Represents the location of the “Zoom Out” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const ZOOM_TOGGLE: PhysicalKeyboardKey
pub const ZOOM_TOGGLE: PhysicalKeyboardKey
Represents the location of the “Zoom Toggle” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const REDO: PhysicalKeyboardKey
pub const REDO: PhysicalKeyboardKey
Represents the location of the “Redo” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const MAIL_REPLY: PhysicalKeyboardKey
pub const MAIL_REPLY: PhysicalKeyboardKey
Represents the location of the “Mail Reply” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const MAIL_FORWARD: PhysicalKeyboardKey
pub const MAIL_FORWARD: PhysicalKeyboardKey
Represents the location of the “Mail Forward” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const MAIL_SEND: PhysicalKeyboardKey
pub const MAIL_SEND: PhysicalKeyboardKey
Represents the location of the “Mail Send” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const KEYBOARD_LAYOUT_SELECT: PhysicalKeyboardKey
pub const KEYBOARD_LAYOUT_SELECT: PhysicalKeyboardKey
Represents the location of the “Keyboard Layout Select” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const SHOW_ALL_WINDOWS: PhysicalKeyboardKey
pub const SHOW_ALL_WINDOWS: PhysicalKeyboardKey
Represents the location of the “Show All Windows” key on a generalized keyboard.
See the function RawKeyEvent.physicalKey for more information.
Sourcepub const fn new(usb_hid_usage: u64) -> PhysicalKeyboardKey
pub const fn new(usb_hid_usage: u64) -> PhysicalKeyboardKey
Creates a new PhysicalKeyboardKey for a USB HID usage.
Sourcepub fn debug_name(&self) -> Option<String>
pub fn debug_name(&self) -> Option<String>
The debug string to print for this keyboard key, which will be None in
release mode.
Sourcepub fn find_key_by_code(usage_code: u64) -> Option<PhysicalKeyboardKey>
pub fn find_key_by_code(usage_code: u64) -> Option<PhysicalKeyboardKey>
Finds a known PhysicalKeyboardKey that matches the given USB HID usage
code.
Sourcepub fn known_physical_keys() -> impl Iterator<Item = PhysicalKeyboardKey>
pub fn known_physical_keys() -> impl Iterator<Item = PhysicalKeyboardKey>
All predefined constant PhysicalKeyboardKeys.
Trait Implementations§
Source§impl Clone for PhysicalKeyboardKey
impl Clone for PhysicalKeyboardKey
impl Copy for PhysicalKeyboardKey
Source§impl Debug for PhysicalKeyboardKey
impl Debug for PhysicalKeyboardKey
impl Eq for PhysicalKeyboardKey
Source§impl Hash for PhysicalKeyboardKey
impl Hash for PhysicalKeyboardKey
impl KeyboardKey for PhysicalKeyboardKey
Source§impl Ord for PhysicalKeyboardKey
impl Ord for PhysicalKeyboardKey
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for PhysicalKeyboardKey
impl PartialEq for PhysicalKeyboardKey
Source§impl PartialOrd for PhysicalKeyboardKey
impl PartialOrd for PhysicalKeyboardKey
impl StructuralPartialEq for PhysicalKeyboardKey
Auto Trait Implementations§
impl Freeze for PhysicalKeyboardKey
impl RefUnwindSafe for PhysicalKeyboardKey
impl Send for PhysicalKeyboardKey
impl Sync for PhysicalKeyboardKey
impl Unpin for PhysicalKeyboardKey
impl UnsafeUnpin for PhysicalKeyboardKey
impl UnwindSafe for PhysicalKeyboardKey
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.