Module key

Module key 

Source

Structs§

Key
packed into 32bit C struct so that we can use AtomicU32 for L2/L3 synchronization. We mask the highest byte to indicate “None”
Modifiers
Technically the *Lock are special keys, instead of Modifiers but we don’t need another type FWIW. Mask bits[2:0] to get the leds.

Enums§

Scan
scan codes of a few specific keys

Constants§

ALT_TAB
ASC_NUM_TAB
NORMAL_TAB
SCAN_NUM_TAB
SHIFT_TAB