systemd/SOURCES/1139-hwdb-XBox-Series-Elite-controller-modalias-entry-has.patch

35 lines
1.2 KiB
Diff

From bc6f9ac8329ac385cd3c08209876e9295a8b7bbf Mon Sep 17 00:00:00 2001
From: Daniil <10421134+Forbear@users.noreply.github.com>
Date: Fri, 7 Feb 2025 10:46:44 +0100
Subject: [PATCH] hwdb: XBox Series Elite controller modalias entry has been
added. (#36305)
Change was requested in response on #36297.
The reason for that change is that XBox Series Elite controller has
exact 4 buttons identified as keyboard key sets.
While it detects using USB connection without any issues, wireless
connection ends with assumption that it's a keyboard.
(cherry picked from commit d7c86fea6b7d7ae3313356e84304392c463fd7e6)
Resolves: RHEL-72697
---
hwdb.d/60-input-id.hwdb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/hwdb.d/60-input-id.hwdb b/hwdb.d/60-input-id.hwdb
index dfb035de2a..6a53cc3b4c 100644
--- a/hwdb.d/60-input-id.hwdb
+++ b/hwdb.d/60-input-id.hwdb
@@ -55,6 +55,10 @@
id-input:modalias:input:b0003v28bdp0078*
ID_INPUT_TABLET=1
+# XBox Series Elite controller
+id-input:modalias:input:b0005v045Ep0B22e0517*
+ ID_INPUT_JOYSTICK=1
+
# Lite-On Tech IBM USB Travel Keyboard with Ultra Nav Mouse
id-input:modalias:input:b0003v04B3p301Ee0100-e0,1,2,4*
ID_INPUT_POINTINGSTICK=1