From 8039b51b48b4775e0a0e1d9f88a2b1bfdc05a657 Mon Sep 17 00:00:00 2001 From: Taylor Yu Date: Sat, 9 Dec 2023 12:38:59 -0600 Subject: [PATCH] delete unused stuff --- src/kaleidoscope/driver/hid/base/Keyboard.h | 8 -------- src/kaleidoscope/driver/hid/keyboardio/Keyboard.h | 7 ------- 2 files changed, 15 deletions(-) diff --git a/src/kaleidoscope/driver/hid/base/Keyboard.h b/src/kaleidoscope/driver/hid/base/Keyboard.h index 7397ac17df..661994c76a 100644 --- a/src/kaleidoscope/driver/hid/base/Keyboard.h +++ b/src/kaleidoscope/driver/hid/base/Keyboard.h @@ -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; @@ -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(); diff --git a/src/kaleidoscope/driver/hid/keyboardio/Keyboard.h b/src/kaleidoscope/driver/hid/keyboardio/Keyboard.h index c6815472eb..6930f0033f 100644 --- a/src/kaleidoscope/driver/hid/keyboardio/Keyboard.h +++ b/src/kaleidoscope/driver/hid/keyboardio/Keyboard.h @@ -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();