Browse Source

Merge branch '6kro'

yuk86
Kai Ryu 9 years ago
parent
commit
fb105cd339
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      common/action_util.c

+ 2
- 0
common/action_util.c View File

@@ -31,6 +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
#define RO_ADD(a, b) ((a + b) % REPORT_KEYS)
#define RO_SUB(a, b) ((a - b + REPORT_KEYS) % REPORT_KEYS)
#define RO_INC(a) RO_ADD(a, 1)