Logo


search API (or start typing anywhere)


Scan

snow.types.Scan defined in snow.types.Types


typedef alias of snow.systems.input.Scancodes


 

Members


MASKstatic
MASK : Int

ac_backstatic
ac_back : Int

ac_bookmarksstatic
ac_bookmarks : Int

ac_forwardstatic
ac_forward : Int

ac_homestatic
ac_home : Int

ac_refreshstatic
ac_refresh : Int

ac_searchstatic
ac_search : Int

ac_stopstatic
ac_stop : Int

againstatic
again : Int
redo
alterasestatic
alterase : Int
Erase-Eaze
apostrophestatic
apostrophe : Int

app1static
app1 : Int

app2static
app2 : Int

applicationstatic
application : Int
windows contextual menu, compose
audiomutestatic
audiomute : Int

audionextstatic
audionext : Int

audioplaystatic
audioplay : Int

audioprevstatic
audioprev : Int

audiostopstatic
audiostop : Int

backslashstatic
backslash : Int
Located at the lower left of the return key on ISO keyboards and at the right end of the QWERTY row on ANSI keyboards. Produces REVERSE SOLIDUS (backslash) and VERTICAL LINE in a US layout, REVERSE SOLIDUS and VERTICAL LINE in a UK Mac layout, NUMBER SIGN and TILDE in a UK Windows layout, DOLLAR SIGN and POUND SIGN in a Swiss German layout, NUMBER SIGN and APOSTROPHE in a German layout, GRAVE ACCENT and POUND SIGN in a French Mac layout, and ASTERISK and MICRO SIGN in a French Windows layout.
backspacestatic
backspace : Int

brightnessdownstatic
brightnessdown : Int

brightnessupstatic
brightnessup : Int

calculatorstatic
calculator : Int

cancelstatic
cancel : Int

capslockstatic
capslock : Int

clearstatic
clear : Int

clearagainstatic
clearagain : Int

commastatic
comma : Int

computerstatic
computer : Int

copystatic
copy : Int

crselstatic
crsel : Int

currencysubunitstatic
currencysubunit : Int

currencyunitstatic
currencyunit : Int

cutstatic
cut : Int

decimalseparatorstatic
decimalseparator : Int

deletestatic
delete : Int

displayswitchstatic
displayswitch : Int
display mirroring/dual display switch, video mode switch
downstatic
down : Int

ejectstatic
eject : Int

endstatic
end : Int

enterstatic
enter : Int

equalsstatic
equals : Int

escapestatic
escape : Int

executestatic
execute : Int

exselstatic
exsel : Int

f1static
f1 : Int

f10static
f10 : Int

f11static
f11 : Int

f12static
f12 : Int

f13static
f13 : Int

f14static
f14 : Int

f15static
f15 : Int

f16static
f16 : Int

f17static
f17 : Int

f18static
f18 : Int

f19static
f19 : Int

f2static
f2 : Int

f20static
f20 : Int

f21static
f21 : Int

f22static
f22 : Int

f23static
f23 : Int

f24static
f24 : Int

f3static
f3 : Int

f4static
f4 : Int

f5static
f5 : Int

f6static
f6 : Int

f7static
f7 : Int

f8static
f8 : Int

f9static
f9 : Int

findstatic
find : Int

gravestatic
grave : Int
Located in the top left corner (on both ANSI and ISO keyboards). Produces GRAVE ACCENT and TILDE in a US Windows layout and in US and UK Mac layouts on ANSI keyboards, GRAVE ACCENT and NOT SIGN in a UK Windows layout, SECTION SIGN and PLUS-MINUS SIGN in US and UK Mac layouts on ISO keyboards, SECTION SIGN and DEGREE SIGN in a Swiss German layout (Mac: only on ISO keyboards); CIRCUMFLEX ACCENT and DEGREE SIGN in a German layout (Mac: only on ISO keyboards), SUPERSCRIPT TWO and TILDE in a French Windows layout, COMMERCIAL AT and NUMBER SIGN in a French Mac layout on ISO keyboards, and LESS-THAN SIGN and GREATER-THAN SIGN in a Swiss German, German, or French Mac layout on ANSI keyboards.
helpstatic
help : Int

homestatic
home : Int

insertstatic
insert : Int
insert on PC, help on some Mac keyboards (but does send code 73, not 117)
international1static
international1 : Int
used on Asian keyboards; see footnotes in USB doc
international2static
international2 : Int

international3static
international3 : Int
Yen
international4static
international4 : Int

international5static
international5 : Int

international6static
international6 : Int

international7static
international7 : Int

international8static
international8 : Int

international9static
international9 : Int

kbdillumdownstatic
kbdillumdown : Int

kbdillumtogglestatic
kbdillumtoggle : Int

kbdillumupstatic
kbdillumup : Int

key_0static
key_0 : Int

key_1static
key_1 : Int

key_2static
key_2 : Int

key_3static
key_3 : Int

key_4static
key_4 : Int

key_5static
key_5 : Int

key_6static
key_6 : Int

key_7static
key_7 : Int

key_8static
key_8 : Int

key_9static
key_9 : Int

key_astatic
key_a : Int

key_bstatic
key_b : Int

key_cstatic
key_c : Int

key_dstatic
key_d : Int

key_estatic
key_e : Int

key_fstatic
key_f : Int

key_gstatic
key_g : Int

key_hstatic
key_h : Int

key_istatic
key_i : Int

key_jstatic
key_j : Int

key_kstatic
key_k : Int

key_lstatic
key_l : Int

key_mstatic
key_m : Int

key_nstatic
key_n : Int

key_ostatic
key_o : Int

key_pstatic
key_p : Int

key_qstatic
key_q : Int

key_rstatic
key_r : Int

key_sstatic
key_s : Int

key_tstatic
key_t : Int

key_ustatic
key_u : Int

key_vstatic
key_v : Int

key_wstatic
key_w : Int

key_xstatic
key_x : Int

key_ystatic
key_y : Int

key_zstatic
key_z : Int

kp_0static
kp_0 : Int

kp_00static
kp_00 : Int

kp_000static
kp_000 : Int

kp_1static
kp_1 : Int

kp_2static
kp_2 : Int

kp_3static
kp_3 : Int

kp_4static
kp_4 : Int

kp_5static
kp_5 : Int

kp_6static
kp_6 : Int

kp_7static
kp_7 : Int

kp_8static
kp_8 : Int

kp_9static
kp_9 : Int

kp_astatic
kp_a : Int

kp_ampersandstatic
kp_ampersand : Int

kp_atstatic
kp_at : Int

kp_bstatic
kp_b : Int

kp_backspacestatic
kp_backspace : Int

kp_binarystatic
kp_binary : Int

kp_cstatic
kp_c : Int

kp_clearstatic
kp_clear : Int

kp_clearentrystatic
kp_clearentry : Int

kp_colonstatic
kp_colon : Int

kp_commastatic
kp_comma : Int

kp_dstatic
kp_d : Int

kp_dblampersandstatic
kp_dblampersand : Int

kp_dblverticalbarstatic
kp_dblverticalbar : Int

kp_decimalstatic
kp_decimal : Int

kp_dividestatic
kp_divide : Int

kp_estatic
kp_e : Int

kp_enterstatic
kp_enter : Int

kp_equalsstatic
kp_equals : Int

kp_equalsas400static
kp_equalsas400 : Int

kp_exclamstatic
kp_exclam : Int

kp_fstatic
kp_f : Int

kp_greaterstatic
kp_greater : Int

kp_hashstatic
kp_hash : Int

kp_hexadecimalstatic
kp_hexadecimal : Int

kp_leftbracestatic
kp_leftbrace : Int

kp_leftparenstatic
kp_leftparen : Int

kp_lessstatic
kp_less : Int

kp_memaddstatic
kp_memadd : Int

kp_memclearstatic
kp_memclear : Int

kp_memdividestatic
kp_memdivide : Int

kp_memmultiplystatic
kp_memmultiply : Int

kp_memrecallstatic
kp_memrecall : Int

kp_memstorestatic
kp_memstore : Int

kp_memsubtractstatic
kp_memsubtract : Int

kp_minusstatic
kp_minus : Int

kp_multiplystatic
kp_multiply : Int

kp_octalstatic
kp_octal : Int

kp_percentstatic
kp_percent : Int

kp_periodstatic
kp_period : Int

kp_plusstatic
kp_plus : Int

kp_plusminusstatic
kp_plusminus : Int

kp_powerstatic
kp_power : Int

kp_rightbracestatic
kp_rightbrace : Int

kp_rightparenstatic
kp_rightparen : Int

kp_spacestatic
kp_space : Int

kp_tabstatic
kp_tab : Int

kp_verticalbarstatic
kp_verticalbar : Int

kp_xorstatic
kp_xor : Int

laltstatic
lalt : Int
alt, option
lang1static
lang1 : Int
Hangul/English toggle
lang2static
lang2 : Int
Hanja conversion
lang3static
lang3 : Int
Katakana
lang4static
lang4 : Int
Hiragana
lang5static
lang5 : Int
Zenkaku/Hankaku
lang6static
lang6 : Int
reserved
lang7static
lang7 : Int
reserved
lang8static
lang8 : Int
reserved
lang9static
lang9 : Int
reserved
lctrlstatic
lctrl : Int

leftstatic
left : Int

leftbracketstatic
leftbracket : Int

lmetastatic
lmeta : Int
windows, command (apple), meta
lshiftstatic
lshift : Int

mailstatic
mail : Int

mediaselectstatic
mediaselect : Int

menustatic
menu : Int

minusstatic
minus : Int

modestatic
mode : Int
Not sure if this is really not covered by any of the above, but since there’s a special KMOD_MODE for it I’m adding it here
mutestatic
mute : Int

nonusbackslashstatic
nonusbackslash : Int
This is the additional key that ISO keyboards have over ANSI ones, located between left shift and Y. Produces GRAVE ACCENT and TILDE in a US or UK Mac layout, REVERSE SOLIDUS (backslash) and VERTICAL LINE in a US or UK Windows layout, and LESS-THAN SIGN and GREATER-THAN SIGN in a Swiss German, German, or French layout.
nonushashstatic
nonushash : Int
ISO USB keyboards actually use this code instead of 49 for the same key, but all OSes I’ve seen treat the two codes identically. So, as an implementor, unless your keyboard generates both of those codes and your OS treats them differently, you should generate public static var BACKSLASH instead of this code. As a user, you should not rely on this code because SDL will never generate it with most (all?) keyboards.
numlockclearstatic
numlockclear : Int
num lock on PC, clear on Mac keyboards
operstatic
oper : Int

outstatic
out : Int

pagedownstatic
pagedown : Int

pageupstatic
pageup : Int

pastestatic
paste : Int

pausestatic
pause : Int

periodstatic
period : Int

powerstatic
power : Int
The USB document says this is a status flag, not a physical key - but some Mac keyboards do have a power key.
printscreenstatic
printscreen : Int

priorstatic
prior : Int

raltstatic
ralt : Int
alt gr, option
rctrlstatic
rctrl : Int

return2static
return2 : Int

rightstatic
right : Int

rightbracketstatic
rightbracket : Int

rmetastatic
rmeta : Int
windows, command (apple), meta
rshiftstatic
rshift : Int

scrolllockstatic
scrolllock : Int

selectstatic
select : Int

semicolonstatic
semicolon : Int

separatorstatic
separator : Int

slashstatic
slash : Int

sleepstatic
sleep : Int

spacestatic
space : Int

stopstatic
stop : Int

sysreqstatic
sysreq : Int

tabstatic
tab : Int

thousandsseparatorstatic
thousandsseparator : Int

undostatic
undo : Int

unknownstatic
unknown : Int

upstatic
up : Int

volumedownstatic
volumedown : Int

volumeupstatic
volumeup : Int

wwwstatic
www : Int

Methods


namestatic
name(scancode:Int) : String
Convert a scancode to a name