diff options
Diffstat (limited to 'src/hid.c')
| -rw-r--r-- | src/hid.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -367,7 +367,8 @@ bool update_keyboard_report(struct hid_keyboard_report *new, struct hid_keyboard_report *old) { - return memcmp(new->codes, old->codes, HID_REPORT_CODES); + return new->mods != old->mods + || memcmp(new->codes, old->codes, HID_REPORT_CODES); } bool |
