Browse Source

Add mousekey_send to (un)register_code

pull/4074/head
Drashna Jaelre 5 years ago
committed by Jack Humbert
parent
commit
dad579c8f8
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      tmk_core/common/action.c

+ 2
- 0
tmk_core/common/action.c View File

@ -777,6 +777,7 @@ void register_code(uint8_t code)
#ifdef MOUSEKEY_ENABLE
else if IS_MOUSEKEY(code) {
mousekey_on(code);
mousekey_send();
}
#endif
}
@ -841,6 +842,7 @@ void unregister_code(uint8_t code)
#ifdef MOUSEKEY_ENABLE
else if IS_MOUSEKEY(code) {
mousekey_off(code);
mousekey_send();
}
#endif
}


Loading…
Cancel
Save