Browse Source

Fix for return value from HID mod functions.

xmkb
Pete Johanson 5 years ago
parent
commit
0db57b0c12
  1. 3
      src/hid.c

3
src/hid.c

@ -9,7 +9,8 @@ static struct zmk_hid_report report = { @@ -9,7 +9,8 @@ static struct zmk_hid_report report = {
{ \
return -EINVAL; \
} \
WRITE_BIT(report.modifiers, mod, state);
WRITE_BIT(report.modifiers, mod, state); \
return 0;
int zmk_hid_register_mod(zmk_mod modifier)
{

Loading…
Cancel
Save