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
@@ -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