diff options
author | Ryan <fauxpark@gmail.com> | 2022-10-13 10:28:49 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-13 10:28:49 +1100 |
commit | 2078a56369af376e3275f02e21d48ab6cc39bc36 (patch) | |
tree | dbbc7e6ba8c81b008da08addd57d5969929c9936 /tmk_core/protocol/chibios/usb_main.h | |
parent | cd5b2e84f50e02a080d2a6743f44ce0c72c35d01 (diff) |
Fix joystick functionality for ChibiOS and OTG (Blackpill) (#18631)
Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
Diffstat (limited to 'tmk_core/protocol/chibios/usb_main.h')
-rw-r--r-- | tmk_core/protocol/chibios/usb_main.h | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/tmk_core/protocol/chibios/usb_main.h b/tmk_core/protocol/chibios/usb_main.h index fb33c8cd0f..dd105e7b5e 100644 --- a/tmk_core/protocol/chibios/usb_main.h +++ b/tmk_core/protocol/chibios/usb_main.h @@ -17,9 +17,6 @@ #pragma once -// TESTING -// extern uint8_t blinkLed; - #include <ch.h> #include <hal.h> @@ -48,43 +45,6 @@ void usb_event_queue_init(void); /* Task to dequeue and execute any handlers for the USB events on the main thread */ void usb_event_queue_task(void); -/* --------------- - * Keyboard header - * --------------- - */ - -/* extern report_keyboard_t keyboard_report_sent; */ - -/* keyboard IN request callback handler */ -void kbd_in_cb(USBDriver *usbp, usbep_t ep); - -/* start-of-frame handler */ -void kbd_sof_cb(USBDriver *usbp); - -#ifdef NKRO_ENABLE -/* nkro IN callback hander */ -void nkro_in_cb(USBDriver *usbp, usbep_t ep); -#endif /* NKRO_ENABLE */ - -/* ------------ - * Mouse header - * ------------ - */ - -#ifdef MOUSE_ENABLE - -/* mouse IN request callback handler */ -void mouse_in_cb(USBDriver *usbp, usbep_t ep); -#endif /* MOUSE_ENABLE */ - -/* --------------- - * Shared EP header - * --------------- - */ - -/* shared IN request callback handler */ -void shared_in_cb(USBDriver *usbp, usbep_t ep); - /* -------------- * Console header * -------------- |