Adding OPCODE "Insert Row" to KLM
* Insert Row OPCODE requires a row taken from the provided key * Insert Row will insert provided key if the row insert was successful. * Provide "UNUSED" key for an empty row insert.
This commit is contained in:
parent
a276ceedb3
commit
2777c05907
2 changed files with 51 additions and 1 deletions
|
|
@ -61,7 +61,8 @@ enum KEYBOARD_OPCODE
|
|||
KEYBOARD_OPCODE_SWAP_ONLY = 1,
|
||||
KEYBOARD_OPCODE_REMOVE_SHIFT_LEFT = 2,
|
||||
KEYBOARD_OPCODE_INS_SHFT_ADJACENT = 3,
|
||||
KEYBOARD_OPCODE_REMOVE_ROW = 4,
|
||||
KEYBOARD_OPCODE_INSERT_ROW = 4,
|
||||
KEYBOARD_OPCODE_REMOVE_ROW = 5,
|
||||
};
|
||||
|
||||
typedef struct
|
||||
|
|
@ -131,6 +132,7 @@ private:
|
|||
void OpCodeSwitch(key_set change_keys);
|
||||
void InsertKey(keyboard_led key);
|
||||
void InsertKeys(std::vector<keyboard_led> keys);
|
||||
bool InsertRow(uint8_t row);
|
||||
void SwapKey(keyboard_led keys);
|
||||
void SwapKeys(std::vector<keyboard_led> keys);
|
||||
void RemoveKey(keyboard_led keys);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue