Skip to content

Commit

Permalink
delete unused stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
tlyu committed Dec 9, 2023
1 parent 99f2e5c commit 8039b51
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
8 changes: 0 additions & 8 deletions src/kaleidoscope/driver/hid/base/Keyboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ class NoBootKeyboard {
uint8_t getProtocol() {
return 1;
}
void setProtocol(uint8_t protocol) {}
void setDefaultProtocol(uint8_t protocol) {}

uint8_t getBootOnly() {
return 0;
Expand Down Expand Up @@ -209,12 +207,6 @@ class Keyboard {
uint8_t getProtocol() {
return boot_keyboard_.getProtocol();
}
void setProtocol(uint8_t protocol) {
boot_keyboard_.setProtocol(protocol);
}
void setDefaultProtocol(uint8_t protocol) {
boot_keyboard_.setDefaultProtocol(protocol);
}

uint8_t getBootOnly() {
return boot_keyboard_.getBootOnly();
Expand Down
7 changes: 0 additions & 7 deletions src/kaleidoscope/driver/hid/keyboardio/Keyboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,6 @@ class BootKeyboardWrapper {
uint8_t getProtocol() {
return BootKeyboard().getProtocol();
}
void setProtocol(uint8_t protocol) {
BootKeyboard().setProtocol(protocol);
}
void setDefaultProtocol(uint8_t protocol) {
BootKeyboard().default_protocol = protocol;
setProtocol(protocol);
}

uint8_t getBootOnly() {
return BootKeyboard().getBootOnly();
Expand Down

0 comments on commit 8039b51

Please sign in to comment.