Fix KC_SYSTEM_SLEEP keycode on Windows (#26455)

This commit is contained in:
Joel Challis
2026-09-26 21:12:22 +01:00
committed by GitHub
parent 1e340cd59c
commit b1aea25560
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -340,7 +340,7 @@ There are a few different ways to set handedness for split keyboards (listed in
* `#define SPLIT_TRANSACTION_IDS_USER .....`
* Allows for custom data sync with the slave when using the QMK-provided split transport. See [custom data sync between sides](features/split_keyboard#custom-data-sync) for more information.
* `#define SYSTEM_CONTROL_USAGE_MINIMUM 0x0081`
* `#define SYSTEM_CONTROL_USAGE_MINIMUM 0x0001`
* `#define SYSTEM_CONTROL_USAGE_MAXIMUM 0x008F`
* Sets the usage range reported by the System Control collection that `EXTRAKEY_ENABLE` adds. The default range covers the System Control usages QMK can send and stops below the Generic Desktop D-pad usages (`0x90` and up). Raising the maximum into that range makes some hosts detect the keyboard as a gamepad, so only widen it if you need the extra usages and know your host handles them. The minimum must not be greater than the maximum.
+1 -1
View File
@@ -31,7 +31,7 @@
// reaches them, hosts like Steam see the D-pad and treat the keyboard as a gamepad.
#ifndef SYSTEM_CONTROL_USAGE_MINIMUM
# define SYSTEM_CONTROL_USAGE_MINIMUM 0x0081 // System Power Down
# define SYSTEM_CONTROL_USAGE_MINIMUM 0x0001 // Pointer
#endif
#ifndef SYSTEM_CONTROL_USAGE_MAXIMUM
# define SYSTEM_CONTROL_USAGE_MAXIMUM 0x008F // System Warm Restart