Skip to content

Commit

Permalink
Merge pull request #184 from HaoboGu/feat/support_remote_wakeup
Browse files Browse the repository at this point in the history
Enable remote wakeup
  • Loading branch information
HaoboGu authored Dec 13, 2024
2 parents eca629b + 91cc5f9 commit c5d13a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rmk/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
1 change: 1 addition & 0 deletions rmk/src/usb/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ impl<D: Driver<'static>> 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;
Expand Down

0 comments on commit c5d13a4

Please sign in to comment.