45 void useKeymap(uint8_t* pSparseTable, uint8_t* pDataTable);
48 bool useCompiledKeymap(uint32_t* pCompiledKeymap,
size_t keymapLength);
52 bool handleHidModifier(uint8_t keyCode,
bool bDown);
57 uint64_t resolveHidKeycode(uint8_t keyCode);
66 uint8_t convertPc102ScancodeToHidKeycode(uint8_t scancode, EscapeState& escape);
70 enum Flags { Special = 0x80000000 };
76 KeymapEntry* getKeymapEntry(
bool bCtrl,
bool bShift,
bool bAlt,
bool bAltGr, uint8_t nCombinator,
80 enum IndexModifiers { IndexCtrl = 1, IndexShift = 2, IndexAlt = 4, IndexAltGr = 8 };
97 enum Flags { DataFlag = 0x8000 };
Structure representing an entry in the keymap table.
Structure representing an entry in the sparse table.