Skip to content

enum SF::Keyboard::Scan::Scancode #

Members#

Unknown = -1#

Represents any scancode not present in this enum

A = 0#

Keyboard a and A key

B = 1#

Keyboard b and B key

C = 2#

Keyboard c and C key

D = 3#

Keyboard d and D key

E = 4#

Keyboard e and E key

F = 5#

Keyboard f and F key

G = 6#

Keyboard g and G key

H = 7#

Keyboard h and H key

I = 8#

Keyboard i and I key

J = 9#

Keyboard j and J key

K = 10#

Keyboard k and K key

L = 11#

Keyboard l and L key

M = 12#

Keyboard m and M key

N = 13#

Keyboard n and N key

O = 14#

Keyboard o and O key

P = 15#

Keyboard p and P key

Q = 16#

Keyboard q and Q key

R = 17#

Keyboard r and R key

S = 18#

Keyboard s and S key

T = 19#

Keyboard t and T key

U = 20#

Keyboard u and U key

V = 21#

Keyboard v and V key

W = 22#

Keyboard w and W key

X = 23#

Keyboard x and X key

Y = 24#

Keyboard y and Y key

Z = 25#

Keyboard z and Z key

Num1 = 26#

Keyboard 1 and ! key

Num2 = 27#

Keyboard 2 and @ key

Num3 = 28#

Keyboard 3 and # key

Num4 = 29#

Keyboard 4 and $ key

Num5 = 30#

Keyboard 5 and % key

Num6 = 31#

Keyboard 6 and ^ key

Num7 = 32#

Keyboard 7 and & key

Num8 = 33#

Keyboard 8 and * key

Num9 = 34#

Keyboard 9 and ) key

Num0 = 35#

Keyboard 0 and ) key

Enter = 36#

Keyboard Enter/Return key

Escape = 37#

Keyboard Escape key

Backspace = 38#

Keyboard Backspace key

Tab = 39#

Keyboard Tab key

Space = 40#

Keyboard Space key

Hyphen = 41#

Keyboard - and _ key

Equal = 42#

Keyboard = and +

LBracket = 43#

Keyboard [ and { key

RBracket = 44#

Keyboard ] and } key

Backslash = 45#

Keyboard \ and | key OR various keys for Non-US keyboards

Semicolon = 46#

Keyboard ; and : key

Apostrophe = 47#

Keyboard ' and " key

Grave = 48#

Keyboard ` and ~ key

Comma = 49#

Keyboard , and < key

Period = 50#

Keyboard . and > key

Slash = 51#

Keyboard / and ? key

F1 = 52#

Keyboard F1 key

F2 = 53#

Keyboard F2 key

F3 = 54#

Keyboard F3 key

F4 = 55#

Keyboard F4 key

F5 = 56#

Keyboard F5 key

F6 = 57#

Keyboard F6 key

F7 = 58#

Keyboard F7 key

F8 = 59#

Keyboard F8 key

F9 = 60#

Keyboard F9 key

F10 = 61#

Keyboard F10 key

F11 = 62#

Keyboard F11 key

F12 = 63#

Keyboard F12 key

F13 = 64#

Keyboard F13 key

F14 = 65#

Keyboard F14 key

F15 = 66#

Keyboard F15 key

F16 = 67#

Keyboard F16 key

F17 = 68#

Keyboard F17 key

F18 = 69#

Keyboard F18 key

F19 = 70#

Keyboard F19 key

F20 = 71#

Keyboard F20 key

F21 = 72#

Keyboard F21 key

F22 = 73#

Keyboard F22 key

F23 = 74#

Keyboard F23 key

F24 = 75#

Keyboard F24 key

CapsLock = 76#

Keyboard Caps Lock key

PrintScreen = 77#

Keyboard Print Screen key

ScrollLock = 78#

Keyboard Scroll Lock key

Pause = 79#

Keyboard Pause key

Insert = 80#

Keyboard Insert key

Home = 81#

Keyboard Home key

PageUp = 82#

Keyboard Page Up key

Delete = 83#

Keyboard Delete Forward key

End = 84#

Keyboard End key

PageDown = 85#

Keyboard Page Down key

Right = 86#

Keyboard Right Arrow key

Left = 87#

Keyboard Left Arrow key

Down = 88#

Keyboard Down Arrow key

Up = 89#

Keyboard Up Arrow key

NumLock = 90#

Keypad Num Lock and Clear key

NumpadDivide = 91#

Keypad / key

NumpadMultiply = 92#

Keypad * key

NumpadMinus = 93#

Keypad - key

NumpadPlus = 94#

Keypad + key

NumpadEqual = 95#

keypad = key

NumpadEnter = 96#

Keypad Enter/Return key

NumpadDecimal = 97#

Keypad . and Delete key

Numpad1 = 98#

Keypad 1 and End key

Numpad2 = 99#

Keypad 2 and Down Arrow key

Numpad3 = 100#

Keypad 3 and Page Down key

Numpad4 = 101#

Keypad 4 and Left Arrow key

Numpad5 = 102#

Keypad 5 key

Numpad6 = 103#

Keypad 6 and Right Arrow key

Numpad7 = 104#

Keypad 7 and Home key

Numpad8 = 105#

Keypad 8 and Up Arrow key

Numpad9 = 106#

Keypad 9 and Page Up key

Numpad0 = 107#

Keypad 0 and Insert key

NonUsBackslash = 108#

Keyboard Non-US \ and | key

Application = 109#

Keyboard Application key

Execute = 110#

Keyboard Execute key

ModeChange = 111#

Keyboard Mode Change key

Help = 112#

Keyboard Help key

Menu = 113#

Keyboard Menu key

Select = 114#

Keyboard Select key

Redo = 115#

Keyboard Redo key

Undo = 116#

Keyboard Undo key

Cut = 117#

Keyboard Cut key

Copy = 118#

Keyboard Copy key

Paste = 119#

Keyboard Paste key

VolumeMute = 120#

Keyboard Volume Mute key

VolumeUp = 121#

Keyboard Volume Up key

VolumeDown = 122#

Keyboard Volume Down key

MediaPlayPause = 123#

Keyboard Media Play Pause key

MediaStop = 124#

Keyboard Media Stop key

MediaNextTrack = 125#

Keyboard Media Next Track key

MediaPreviousTrack = 126#

Keyboard Media Previous Track key

LControl = 127#

Keyboard Left Control key

LShift = 128#

Keyboard Left Shift key

LAlt = 129#

Keyboard Left Alt key

LSystem = 130#

Keyboard Left System key

RControl = 131#

Keyboard Right Control key

RShift = 132#

Keyboard Right Shift key

RAlt = 133#

Keyboard Right Alt key

RSystem = 134#

Keyboard Right System key

Back = 135#

Keyboard Back key

Forward = 136#

Keyboard Forward key

Refresh = 137#

Keyboard Refresh key

Stop = 138#

Keyboard Stop key

Search = 139#

Keyboard Search key

Favorites = 140#

Keyboard Favorites key

HomePage = 141#

Keyboard Home Page key

LaunchApplication1 = 142#

Keyboard Launch Application 1 key

LaunchApplication2 = 143#

Keyboard Launch Application 2 key

LaunchMail = 144#

Keyboard Launch Mail key

LaunchMediaSelect = 145#

Keyboard Launch Media Select key

ScancodeCount = 146#

Keep last -- the total number of scancodes

Methods#

#apostrophe?#

View source

#application?#

View source

#back?#

View source

#backslash?#

View source

#backspace?#

View source

#caps_lock?#

View source

#comma?#

View source

#copy?#

View source

#cut?#

View source

#delete?#

View source

#down?#

View source

#end?#

View source

#enter?#

View source

#equal?#

View source

#escape?#

View source

#execute?#

View source

#f10?#

View source

#f11?#

View source

#f12?#

View source

#f13?#

View source

#f14?#

View source

#f15?#

View source

#f16?#

View source

#f17?#

View source

#f18?#

View source

#f19?#

View source

#f20?#

View source

#f21?#

View source

#f22?#

View source

#f23?#

View source

#f24?#

View source

#favorites?#

View source

#forward?#

View source

#grave?#

View source

#help?#

View source

#home?#

View source

#home_page?#

View source

#hyphen?#

View source

#insert?#

View source

#l_alt?#

View source

#l_bracket?#

View source

#l_control?#

View source

#l_shift?#

View source

#l_system?#

View source

#launch_application1?#

View source

#launch_application2?#

View source

#launch_mail?#

View source

#launch_media_select?#

View source

#left?#

View source

#media_next_track?#

View source

#media_play_pause?#

View source

#media_previous_track?#

View source

#media_stop?#

View source

#menu?#

View source

#mode_change?#

View source

#non_us_backslash?#

View source

#num0?#

View source

#num1?#

View source

#num2?#

View source

#num3?#

View source

#num4?#

View source

#num5?#

View source

#num6?#

View source

#num7?#

View source

#num8?#

View source

#num9?#

View source

#num_lock?#

View source

#numpad0?#

View source

#numpad1?#

View source

#numpad2?#

View source

#numpad3?#

View source

#numpad4?#

View source

#numpad5?#

View source

#numpad6?#

View source

#numpad7?#

View source

#numpad8?#

View source

#numpad9?#

View source

#numpad_decimal?#

View source

#numpad_divide?#

View source

#numpad_enter?#

View source

#numpad_equal?#

View source

#numpad_minus?#

View source

#numpad_multiply?#

View source

#numpad_plus?#

View source

#page_down?#

View source

#page_up?#

View source

#paste?#

View source

#pause?#

View source

#period?#

View source

#print_screen?#

View source

#r_alt?#

View source

#r_bracket?#

View source

#r_control?#

View source

#r_shift?#

View source

#r_system?#

View source

#redo?#

View source

#refresh?#

View source

#right?#

View source

#scancode_count?#

View source

#scroll_lock?#

View source

#search?#

View source

#select?#

View source

#semicolon?#

View source

#slash?#

View source

#space?#

View source

#stop?#

View source

#tab?#

View source

#undo?#

View source

#unknown?#

View source

#volume_down?#

View source

#volume_mute?#

View source

#volume_up?#

View source