Struct core_graphics::event::KeyCode [] [src]

#[repr(C)]
pub struct KeyCode;

Key codes for keys that are independent of keyboard layout.

Ref

Methods

impl KeyCode
[src]

RETURN: CGKeyCode = 36

TAB: CGKeyCode = 48

SPACE: CGKeyCode = 49

DELETE: CGKeyCode = 51

ESCAPE: CGKeyCode = 53

COMMAND: CGKeyCode = 55

SHIFT: CGKeyCode = 56

CAPS_LOCK: CGKeyCode = 57

OPTION: CGKeyCode = 58

CONTROL: CGKeyCode = 59

RIGHT_COMMAND: CGKeyCode = 54

RIGHT_SHIFT: CGKeyCode = 60

RIGHT_OPTION: CGKeyCode = 61

RIGHT_CONTROL: CGKeyCode = 62

FUNCTION: CGKeyCode = 63

VOLUME_UP: CGKeyCode = 72

VOLUME_DOWN: CGKeyCode = 73

MUTE: CGKeyCode = 74

F1: CGKeyCode = 122

F2: CGKeyCode = 120

F3: CGKeyCode = 99

F4: CGKeyCode = 118

F5: CGKeyCode = 96

F6: CGKeyCode = 97

F7: CGKeyCode = 98

F8: CGKeyCode = 100

F9: CGKeyCode = 101

F10: CGKeyCode = 109

F11: CGKeyCode = 103

F12: CGKeyCode = 111

F13: CGKeyCode = 105

F14: CGKeyCode = 107

F15: CGKeyCode = 113

F16: CGKeyCode = 106

F17: CGKeyCode = 64

F18: CGKeyCode = 79

F19: CGKeyCode = 80

F20: CGKeyCode = 90

HELP: CGKeyCode = 114

HOME: CGKeyCode = 115

PAGE_UP: CGKeyCode = 116

FORWARD_DELETE: CGKeyCode = 117

END: CGKeyCode = 119

PAGE_DOWN: CGKeyCode = 121

LEFT_ARROW: CGKeyCode = 123

RIGHT_ARROW: CGKeyCode = 124

DOWN_ARROW: CGKeyCode = 125

UP_ARROW: CGKeyCode = 126