forked from mirrors/qmk_firmware
3ebdb1258b
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. |
||
---|---|---|
.. | ||
arm_atsam | ||
chibios | ||
lufa | ||
usb_hid | ||
vusb | ||
host.c | ||
host.h | ||
host_driver.h | ||
report.c | ||
report.h | ||
usb_descriptor.c | ||
usb_descriptor.h | ||
usb_descriptor_common.h | ||
usb_device_state.c | ||
usb_device_state.h | ||
usb_util.c | ||
usb_util.h |