Make KEYMAP's __xdata so they can be edited at runtime
This commit is contained in:
committed by
Jeremy Soller
parent
882dd02e06
commit
f36b38a7b2
@@ -43,7 +43,7 @@
|
||||
#define KM_LAY 2
|
||||
|
||||
// Keymap
|
||||
extern uint16_t __code KEYMAP[KM_LAY][KM_OUT][KM_IN];
|
||||
extern uint16_t __xdata KEYMAP[KM_LAY][KM_OUT][KM_IN];
|
||||
|
||||
// Get a keycode from the keymap
|
||||
uint16_t keymap(int output, int input, int layer);
|
||||
|
Reference in New Issue
Block a user