|
|
@ -12,7 +12,9 @@ Kaleidoscope_::setup(void) {
|
|
|
|
KeyboardHardware.setup();
|
|
|
|
KeyboardHardware.setup();
|
|
|
|
Keyboard.begin();
|
|
|
|
Keyboard.begin();
|
|
|
|
|
|
|
|
|
|
|
|
// A workaround, so that the compiler does not optimize this out...
|
|
|
|
// A workaround, so that the compiler does not optimize handleKeyswitchEvent out...
|
|
|
|
|
|
|
|
// This is a no-op, but tricks the compiler into not being too helpful
|
|
|
|
|
|
|
|
// TODO: figure out how to hint the compiler in a more reasonable way
|
|
|
|
handleKeyswitchEvent(Key_NoKey, 255, 255, 0);
|
|
|
|
handleKeyswitchEvent(Key_NoKey, 255, 255, 0);
|
|
|
|
|
|
|
|
|
|
|
|
// Update the key cache, so we start with a non-empty state.
|
|
|
|
// Update the key cache, so we start with a non-empty state.
|
|
|
|