Struct core_graphics::event::KeyCode
[−]
[src]
#[repr(C)]pub struct KeyCode;
Key codes for keys that are independent of keyboard layout.
Methods
impl KeyCode
[src]
const RETURN: CGKeyCode
RETURN: CGKeyCode = 36
const TAB: CGKeyCode
TAB: CGKeyCode = 48
const SPACE: CGKeyCode
SPACE: CGKeyCode = 49
const DELETE: CGKeyCode
DELETE: CGKeyCode = 51
const ESCAPE: CGKeyCode
ESCAPE: CGKeyCode = 53
const COMMAND: CGKeyCode
COMMAND: CGKeyCode = 55
const SHIFT: CGKeyCode
SHIFT: CGKeyCode = 56
const CAPS_LOCK: CGKeyCode
CAPS_LOCK: CGKeyCode = 57
const OPTION: CGKeyCode
OPTION: CGKeyCode = 58
const CONTROL: CGKeyCode
CONTROL: CGKeyCode = 59
const RIGHT_COMMAND: CGKeyCode
RIGHT_COMMAND: CGKeyCode = 54
const RIGHT_SHIFT: CGKeyCode
RIGHT_SHIFT: CGKeyCode = 60
const RIGHT_OPTION: CGKeyCode
RIGHT_OPTION: CGKeyCode = 61
const RIGHT_CONTROL: CGKeyCode
RIGHT_CONTROL: CGKeyCode = 62
const FUNCTION: CGKeyCode
FUNCTION: CGKeyCode = 63
const VOLUME_UP: CGKeyCode
VOLUME_UP: CGKeyCode = 72
const VOLUME_DOWN: CGKeyCode
VOLUME_DOWN: CGKeyCode = 73
const MUTE: CGKeyCode
MUTE: CGKeyCode = 74
const F1: CGKeyCode
F1: CGKeyCode = 122
const F2: CGKeyCode
F2: CGKeyCode = 120
const F3: CGKeyCode
F3: CGKeyCode = 99
const F4: CGKeyCode
F4: CGKeyCode = 118
const F5: CGKeyCode
F5: CGKeyCode = 96
const F6: CGKeyCode
F6: CGKeyCode = 97
const F7: CGKeyCode
F7: CGKeyCode = 98
const F8: CGKeyCode
F8: CGKeyCode = 100
const F9: CGKeyCode
F9: CGKeyCode = 101
const F10: CGKeyCode
F10: CGKeyCode = 109
const F11: CGKeyCode
F11: CGKeyCode = 103
const F12: CGKeyCode
F12: CGKeyCode = 111
const F13: CGKeyCode
F13: CGKeyCode = 105
const F14: CGKeyCode
F14: CGKeyCode = 107
const F15: CGKeyCode
F15: CGKeyCode = 113
const F16: CGKeyCode
F16: CGKeyCode = 106
const F17: CGKeyCode
F17: CGKeyCode = 64
const F18: CGKeyCode
F18: CGKeyCode = 79
const F19: CGKeyCode
F19: CGKeyCode = 80
const F20: CGKeyCode
F20: CGKeyCode = 90
const HELP: CGKeyCode
HELP: CGKeyCode = 114
const HOME: CGKeyCode
HOME: CGKeyCode = 115
const PAGE_UP: CGKeyCode
PAGE_UP: CGKeyCode = 116
const FORWARD_DELETE: CGKeyCode
FORWARD_DELETE: CGKeyCode = 117
const END: CGKeyCode
END: CGKeyCode = 119
const PAGE_DOWN: CGKeyCode
PAGE_DOWN: CGKeyCode = 121
const LEFT_ARROW: CGKeyCode
LEFT_ARROW: CGKeyCode = 123
const RIGHT_ARROW: CGKeyCode
RIGHT_ARROW: CGKeyCode = 124
const DOWN_ARROW: CGKeyCode
DOWN_ARROW: CGKeyCode = 125
const UP_ARROW: CGKeyCode
UP_ARROW: CGKeyCode = 126