systemd/0274-hwdb-CH-Pro-Pedals-not-classified-correctly-due-to-n.patch

29 lines
869 B
Diff
Raw Normal View History

From c81a00694952469b1a3afa7c0345a5f2390c8024 Mon Sep 17 00:00:00 2001
From: Tyson Whitehead <twhitehead@gmail.com>
Date: Wed, 19 Jan 2022 22:38:21 -0500
Subject: [PATCH] hwdb: CH Pro Pedals not classified correctly due to no
buttons
(cherry picked from commit 230ed4c4bad8b3c1d9d746a80e6f78dc71d1c87f)
Related: #2087778
---
hwdb.d/60-input-id.hwdb | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/hwdb.d/60-input-id.hwdb b/hwdb.d/60-input-id.hwdb
index c4101cc2a5..f7b61fb980 100644
--- a/hwdb.d/60-input-id.hwdb
+++ b/hwdb.d/60-input-id.hwdb
@@ -70,4 +70,9 @@ id-input:modalias:input:b0005v046DpB00De0700*
# Logitech MX Keys
id-input:modalias:input:b0003v046Dp408Ae0111*
- ID_INPUT_MOUSE=0
+ ID_INPUT_MOUSE=0
+
+# CH Products Pro Pedals
+id-input:modalias:input:b0003v068Ep00F2e0100*
+ ID_INPUT_ACCELEROMETER=0
+ ID_INPUT_JOYSTICK=1