diff mbox series

Add keycode for performance mode keys

Message ID 20250509193432.2189533-1-marcoshalano@gmail.com
State New
Headers show
Series Add keycode for performance mode keys | expand

Commit Message

Marcos Alano May 9, 2025, 7:34 p.m. UTC
Alienware calls this key "Performance Boost", and
Dell calls it "G-Mode".

Signed-off-by: Marcos Alano <marcoshalano@gmail.com>
---
 include/uapi/linux/input-event-codes.h | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox series

Patch

diff --git a/include/uapi/linux/input-event-codes.h b/include/uapi/linux/input-event-codes.h
index 5a199f3d4a26..f410394cd769 100644
--- a/include/uapi/linux/input-event-codes.h
+++ b/include/uapi/linux/input-event-codes.h
@@ -765,6 +765,11 @@ 
 #define KEY_KBD_LCD_MENU4		0x2bb
 #define KEY_KBD_LCD_MENU5		0x2bc
 
+/* Performance Boost key (Alienware)
+ * G-Mode key (Dell)
+ */
+#define KEY_PERFORMANCE                 0x2bd
+
 #define BTN_TRIGGER_HAPPY		0x2c0
 #define BTN_TRIGGER_HAPPY1		0x2c0
 #define BTN_TRIGGER_HAPPY2		0x2c1