qmk_firmware/tmk_core/protocol
Purdea Andrei 3ebdb1258b
Chibios USB: Take into account if host wants remote wakeup or not (#21287)
According to the USB 2.0 spec, remote wakeup should be disabled by
default, and should only be enabled if the host explicitly requests
it. The chibios driver code already takes care of storing this
information, and returning it on GET_STATUS requests. However our
application code has been ignoring it so far.

This is a USB compliance issue, but also a bug that causes trouble
in some cases: On RP2040 targets this has been causing problems if
a key is held down while the keyboard is plugged in. The keyboard
would fail to enumerate until all keys are released. With this
change that behavior is fixed.

Note that for LUFA targets this is already done correctly.
2023-06-26 10:36:32 +02:00
..
arm_atsam Move protocol makefiles into their respective folders (#21332) 2023-06-22 15:07:28 +01:00
chibios Chibios USB: Take into account if host wants remote wakeup or not (#21287) 2023-06-26 10:36:32 +02:00
lufa Move protocol makefiles into their respective folders (#21332) 2023-06-22 15:07:28 +01:00
usb_hid Move protocol makefiles into their respective folders (#21332) 2023-06-22 15:07:28 +01:00
vusb Move protocol makefiles into their respective folders (#21332) 2023-06-22 15:07:28 +01:00
host.c Joystick feature improvements (#19052) 2022-11-27 03:14:45 +11:00
host.h Remove IS_HOST_LED_ON and migrate usages (#19753) 2023-02-06 02:36:09 +00:00
host_driver.h Refactor send_extra (#18615) 2022-10-06 19:35:01 -07:00
report.c [Core] Move has_mouse_report_changed function to report.c (#16543) 2022-03-14 00:01:47 +00:00
report.h Move KC_MISSION_CONTROL/KC_LAUNCHPAD keycodes to core (#19884) 2023-02-19 18:59:50 +11:00
usb_descriptor.c Detect host OS based on USB fingerprint (#18463) 2022-12-09 03:45:30 +11:00
usb_descriptor.h Detect host OS based on USB fingerprint (#18463) 2022-12-09 03:45:30 +11:00
usb_descriptor_common.h Joystick feature improvements (#19052) 2022-11-27 03:14:45 +11:00
usb_device_state.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
usb_device_state.h Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
usb_util.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
usb_util.h Relocate protocol files within tmk_core/common/ (#14972) 2021-10-28 22:31:59 +01:00