Merge pull request #278 from keyboardio/f/hid/begin

Kaleidoscope::setup: Use the HID facade
pull/282/head
Jesse Vincent 7 years ago committed by GitHub
commit d0706b7bfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -10,7 +10,10 @@ Kaleidoscope_::Kaleidoscope_(void) {
void void
Kaleidoscope_::setup(void) { Kaleidoscope_::setup(void) {
KeyboardHardware.setup(); KeyboardHardware.setup();
Keyboard.begin();
kaleidoscope::hid::initializeKeyboard();
kaleidoscope::hid::initializeConsumerControl();
kaleidoscope::hid::initializeSystemControl();
// A workaround, so that the compiler does not optimize handleKeyswitchEvent 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 // This is a no-op, but tricks the compiler into not being too helpful

Loading…
Cancel
Save