Module fermium::scancode

source ·
Expand description

Physical key mappings (ignores locale).

Structs

The SDL keyboard scancode representation.

Constants

Marks the number of scancodes, for array sizes and such.
windows contextual menu, compose
display mirroring/dual display switch, video mode switch
insert on PC, help on some Mac keyboards (but does send code 73, not 117)
Hangul/English toggle
Hanja conversion
Zenkaku/Hankaku
windows, command (apple), meta
I’m 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
Basically \, if you see it at all.
num lock on PC, clear on Mac keyboards
The USB document says this is a status flag, not a physical key - but some Mac keyboards do have a power key.
alt gr, option
windows, command (apple), meta