linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marcos Alano <marcoshalano@gmail.com>
To: dmitry.torokhov@gmail.com
Cc: linux-input@vger.kernel.org, Marcos Alano <marcoshalano@gmail.com>
Subject: [PATCH] Add keycode to Dell G-Mode key
Date: Sat, 19 Apr 2025 08:31:18 -0300	[thread overview]
Message-ID: <20250419113132.36504-1-marcoshalano@gmail.com> (raw)

This key exists in some Alienware and Dell machines.
On Windows it activates the performance mode.

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

diff --git a/include/uapi/linux/input-event-codes.h b/include/uapi/linux/input-event-codes.h
index 5a199f3d4a26..85c6a612ee84 100644
--- a/include/uapi/linux/input-event-codes.h
+++ b/include/uapi/linux/input-event-codes.h
@@ -765,6 +765,9 @@
 #define KEY_KBD_LCD_MENU4		0x2bb
 #define KEY_KBD_LCD_MENU5		0x2bc
 
+/* G-Mode key present in some Alienware and Dell machines */
+#define KEY_GMODE			0x2bd
+
 #define BTN_TRIGGER_HAPPY		0x2c0
 #define BTN_TRIGGER_HAPPY1		0x2c0
 #define BTN_TRIGGER_HAPPY2		0x2c1
-- 
2.49.0


             reply	other threads:[~2025-04-19 11:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-19 11:31 Marcos Alano [this message]
2025-04-22 13:49 ` [PATCH] Add keycode to Dell G-Mode key Marcos Alano
2025-04-29  1:44   ` Dmitry Torokhov
2025-04-29 10:28     ` Marcos Alano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250419113132.36504-1-marcoshalano@gmail.com \
    --to=marcoshalano@gmail.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-input@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).