diff --git a/rmk/CHANGELOG.md b/rmk/CHANGELOG.md index b3c34441..de7e00d1 100644 --- a/rmk/CHANGELOG.md +++ b/rmk/CHANGELOG.md @@ -12,8 +12,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Support home row mod(HRM) mode with improved tap hold processing - BREAKING: Support `direct_pin` type matrix for split configurations, split pin config is moved to [split.central/peripheral.matrix] - Add `clear_storage` option +- Enable USB remote wakeup - py32f07x use_rust example. py32f07x is a super cheap($0.2) cortex-m0 chip from Puya + ### Changed - Remove `rmk-config` diff --git a/rmk/src/usb/mod.rs b/rmk/src/usb/mod.rs index a7cd1d17..342c73e5 100644 --- a/rmk/src/usb/mod.rs +++ b/rmk/src/usb/mod.rs @@ -88,6 +88,7 @@ impl> KeyboardUsbDevice<'static, D> { usb_config.product = Some(keyboard_config.product_name); usb_config.serial_number = Some(keyboard_config.serial_number); usb_config.max_power = 450; + usb_config.supports_remote_wakeup = true; // Required for windows compatibility. usb_config.max_packet_size_0 = 64;