port to new hid facade

pull/389/head
Jesse Vincent 7 years ago
parent 63e616099e
commit 271aba9373
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -17,6 +17,7 @@
*/ */
#include <Kaleidoscope-SpaceCadet.h> #include <Kaleidoscope-SpaceCadet.h>
#include <kaleidoscope/hid.h>
namespace kaleidoscope { namespace kaleidoscope {
@ -83,7 +84,7 @@ Key SpaceCadetShift::eventHandlerHook(Key mapped_key, byte row, byte col, uint8_
handleKeyswitchEvent(mapped_key, row, col, IS_PRESSED | INJECTED); handleKeyswitchEvent(mapped_key, row, col, IS_PRESSED | INJECTED);
handleKeyswitchEvent(paren, row, col, IS_PRESSED | INJECTED); handleKeyswitchEvent(paren, row, col, IS_PRESSED | INJECTED);
Keyboard.sendReport(); hid::sendKeyboardReport();
paren_needed_ = 0; paren_needed_ = 0;
} }

Loading…
Cancel
Save