Merge pull request #24 from keyboardio/f/mousekey-support

When playing back, also report mouse keys
pull/365/head
Gergely Nagy 6 years ago committed by GitHub
commit 4cc74eacdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -13,6 +13,7 @@ byte Macros_::row, Macros_::col;
void playMacroKeyswitchEvent(Key key, uint8_t flags) {
handleKeyswitchEvent(key, UNKNOWN_KEYSWITCH_LOCATION, INJECTED | flags);
kaleidoscope::hid::sendKeyboardReport();
kaleidoscope::hid::sendMouseReport();
}
static void readKeyCodeAndPlay(const macro_t *macro_p, uint8_t flags, uint8_t keyStates) {

Loading…
Cancel
Save