Skip to content

Commit

Permalink
wire up m101 to TinyUSB
Browse files Browse the repository at this point in the history
Signed-off-by: Taylor Yu <[email protected]>
  • Loading branch information
tlyu committed Mar 22, 2024
1 parent 1c28626 commit ac3df23
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ struct cRGB {
#include "kaleidoscope/device/Base.h"
#include "kaleidoscope/driver/bootloader/Base.h"
#include "kaleidoscope/driver/hid/Base.h"
#include "kaleidoscope/driver/hid/TinyUSB.h"
#include "kaleidoscope/driver/keyscanner/Simple.h"
#include "kaleidoscope/driver/led/Base.h"
#include "kaleidoscope/driver/mcu/Base.h"
Expand All @@ -62,15 +63,15 @@ struct Model101KeyScannerProps : public kaleidoscope::driver::keyscanner::Simple


// If we need to override HID props:
struct Model101HIDProps : public kaleidoscope::driver::hid::BaseProps {
struct Model101HIDProps : public kaleidoscope::driver::hid::TinyUSBProps {
//typedef kaleidoscope::driver::hid::base::AbsoluteMouseProps AbsoluteMouseProps;
//typedef kaleidoscope::driver::hid::base::AbsoluteMouse<AbsoluteMouseProps> AbsoluteMouse;
};


struct Model101Props : public kaleidoscope::device::BaseProps {
typedef Model101HIDProps HIDProps;
typedef kaleidoscope::driver::hid::Base<HIDProps> HID;
typedef kaleidoscope::driver::hid::TinyUSB<HIDProps> HID;

typedef kaleidoscope::driver::led::BaseProps LEDDriverProps;
typedef kaleidoscope::driver::led::Base<LEDDriverProps> LEDDriver;
Expand Down

0 comments on commit ac3df23

Please sign in to comment.