Fix 6KRO compatibility issue with NKRO
This commit is contained in:
parent
f73fd6ee59
commit
e36e2493ba
@ -31,8 +31,8 @@ static uint8_t real_mods = 0;
|
||||
static uint8_t weak_mods = 0;
|
||||
|
||||
#ifdef USB_6KRO_ENABLE
|
||||
#undef REPORT_KEYS
|
||||
#define REPORT_KEYS 6
|
||||
#undef KEYBOARD_REPORT_KEYS
|
||||
#define KEYBOARD_REPORT_KEYS 6
|
||||
#define RO_ADD(a, b) ((a + b) % KEYBOARD_REPORT_KEYS)
|
||||
#define RO_SUB(a, b) ((a - b + KEYBOARD_REPORT_KEYS) % KEYBOARD_REPORT_KEYS)
|
||||
#define RO_INC(a) RO_ADD(a, 1)
|
||||
|
Reference in New Issue
Block a user