mirror of
https://github.com/qmk/qmk_firmware.git
synced 2026-09-27 04:19:11 +02:00
Fix KC_SYSTEM_SLEEP keycode on Windows (#26455)
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user