From 258b03a45c43ef33d858fa89345857c99c263af6 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Tue, 15 Feb 2022 15:41:13 -0800 Subject: [PATCH] Disable SingleAbsoluteMouse on the Model 100 since our arduino core doesn't yet handle six endpoints --- .../src/kaleidoscope/device/keyboardio/Model100.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/plugins/Kaleidoscope-Hardware-Keyboardio-Model100/src/kaleidoscope/device/keyboardio/Model100.h b/plugins/Kaleidoscope-Hardware-Keyboardio-Model100/src/kaleidoscope/device/keyboardio/Model100.h index 7e1867b6..48a86f88 100644 --- a/plugins/Kaleidoscope-Hardware-Keyboardio-Model100/src/kaleidoscope/device/keyboardio/Model100.h +++ b/plugins/Kaleidoscope-Hardware-Keyboardio-Model100/src/kaleidoscope/device/keyboardio/Model100.h @@ -40,6 +40,7 @@ struct cRGB { #include "kaleidoscope/driver/led/Base.h" #include "kaleidoscope/device/Base.h" #include "kaleidoscope/driver/hid/Keyboardio.h" +#include "kaleidoscope/driver/hid/Base.h" #include "kaleidoscope/driver/bootloader/gd32/Base.h" namespace kaleidoscope { @@ -117,14 +118,25 @@ class Model100KeyScanner : public kaleidoscope::driver::keyscanner::Base AbsoluteMouse; +}; + + struct Model100Props : public kaleidoscope::device::BaseProps { - typedef kaleidoscope::driver::hid::KeyboardioProps HIDProps; + typedef Model100HIDProps HIDProps; typedef kaleidoscope::driver::hid::Keyboardio HID; typedef Model100LEDDriverProps LEDDriverProps; typedef Model100LEDDriver LEDDriver; + typedef Model100KeyScannerProps KeyScannerProps; typedef Model100KeyScanner KeyScanner; + typedef Model100StorageProps StorageProps; typedef kaleidoscope::driver::storage::GD32Flash Storage;