|
|
@ -44,11 +44,6 @@ Kaleidoscope_::setup(void) {
|
|
|
|
kaleidoscope::hid::initializeConsumerControl();
|
|
|
|
kaleidoscope::hid::initializeConsumerControl();
|
|
|
|
kaleidoscope::hid::initializeSystemControl();
|
|
|
|
kaleidoscope::hid::initializeSystemControl();
|
|
|
|
|
|
|
|
|
|
|
|
// 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(anyone): figure out how to hint the compiler in a more reasonable way
|
|
|
|
|
|
|
|
handleKeyswitchEvent(Key_NoKey, 255, 255, 0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Update the keymap cache, so we start with a non-empty state.
|
|
|
|
// Update the keymap cache, so we start with a non-empty state.
|
|
|
|
Layer.updateActiveLayers();
|
|
|
|
Layer.updateActiveLayers();
|
|
|
|
for (byte row = 0; row < ROWS; row++) {
|
|
|
|
for (byte row = 0; row < ROWS; row++) {
|
|
|
|