Update virtual hardware device to use new USB HID driver

Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
f/driver/keyboardiohid
Michael Richters 3 years ago
parent a63f2ba42b
commit a019b5688b
No known key found for this signature in database
GPG Key ID: 1288FD13E4EEF0C0

@ -19,8 +19,8 @@
#include "kaleidoscope/device/virtual/DefaultHIDReportConsumer.h"
// From KeyboardioHID:
#include <HID-Settings.h> // for HID_REPORTID_NKRO_KEYBOARD
#include <MultiReport/Keyboard.h> // for HID_KeyboardReport_Data_t, (anonymous u...
#include "kaleidoscope/driver/hid/keyboardio/usb/HID-Settings.h"
#include "kaleidoscope/driver/hid/keyboardio/usb/MultiReport/Keyboard.h"
// From system:
#include <stdint.h> // for uint8_t
// From Arduino core:

@ -34,6 +34,7 @@
#include "kaleidoscope/KeyAddr.h" // for MatrixAddr, MatrixAddr...
#include "kaleidoscope/device/virtual/DefaultHIDReportConsumer.h" // for DefaultHIDReportConsumer
#include "kaleidoscope/device/virtual/Logging.h" // for log_error, logging
#include "kaleidoscope/driver/hid/keyboardio/usb/HIDReportObserver.h"
#include "kaleidoscope/key_defs.h" // for Key_NoKey
#include "kaleidoscope/keyswitch_state.h" // for IS_PRESSED, WAS_PRESSED

@ -22,13 +22,12 @@
// library KeyboardioHID. It replaces all hardware related stuff
// with stub implementations.
#include <PluggableUSB.h> // for USBSetup, EP_TYPE_INTERRUPT_IN, PluggableUSBModule
#include <stddef.h> // for NULL
#include <stdint.h> // for uint8_t
// From KeyboardioHID:
#include "HID.h" // for HID_, HIDSubDescriptor, HID_::(anonymous), HID, HID_REPOR...
#include "HIDReportObserver.h" // for HIDReportObserver
#include "PluggableUSB.h" // for USBSetup, EP_TYPE_INTERRUPT_IN, PluggableUSBModule
#include "kaleidoscope/driver/hid/keyboardio/usb/HID_.h"
#include "kaleidoscope/driver/hid/keyboardio/usb/HIDReportObserver.h"
#if defined(USBCON)

Loading…
Cancel
Save