public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] HID: quirks: Add quirk for Logitech G923 Xbox steering wheel
@ 2023-01-27 22:03 Walt Holman
  2023-01-27 22:06 ` Walt Holman
  0 siblings, 1 reply; 4+ messages in thread
From: Walt Holman @ 2023-01-27 22:03 UTC (permalink / raw)
  To: linux-input, linux-kernel, Mattijs Korpershoek

Hello,

This patch adds support for the Logitech G923 Xbox edition steering
wheel.

-Walt

diff -uprN linux-master-source/drivers/hid/hid-ids.h linux-master-target/drivers/hid/hid-ids.h
--- linux-master-source/drivers/hid/hid-ids.h	2023-01-27 15:18:14.000000000 -0600
+++ linux-master-target/drivers/hid/hid-ids.h	2023-01-27 15:50:24.077639994 -0600
@@ -819,6 +819,7 @@
  #define USB_DEVICE_ID_LOGITECH_G510_USB_AUDIO	0xc22e
  #define USB_DEVICE_ID_LOGITECH_G29_WHEEL	0xc24f
  #define USB_DEVICE_ID_LOGITECH_G920_WHEEL	0xc262
+#define USB_DEVICE_ID_LOGITECH_G923_XBOX_WHEEL	0xc26e
  #define USB_DEVICE_ID_LOGITECH_WINGMAN_F3D	0xc283
  #define USB_DEVICE_ID_LOGITECH_FORCE3D_PRO	0xc286
  #define USB_DEVICE_ID_LOGITECH_FLIGHT_SYSTEM_G940	0xc287
diff -uprN linux-master-source/drivers/hid/hid-logitech-hidpp.c linux-master-target/drivers/hid/hid-logitech-hidpp.c
--- linux-master-source/drivers/hid/hid-logitech-hidpp.c	2023-01-27 15:18:14.000000000 -0600
+++ linux-master-target/drivers/hid/hid-logitech-hidpp.c	2023-01-27 15:50:24.077639994 -0600
@@ -4347,6 +4347,9 @@ static const struct hid_device_id hidpp_
  	{ /* Logitech G920 Wheel over USB */
  	  HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_G920_WHEEL),
  		.driver_data = HIDPP_QUIRK_CLASS_G920 | HIDPP_QUIRK_FORCE_OUTPUT_REPORTS},
+	{ /* Logitech G923 Wheel (Xbox version) over USB */
+	  HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_G923_XBOX_WHEEL),
+		.driver_data = HIDPP_QUIRK_CLASS_G920 | HIDPP_QUIRK_FORCE_OUTPUT_REPORTS },
  	{ /* Logitech G Pro Gaming Mouse over USB */
  	  HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, 0xC088) },
  

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-02-07 21:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-27 22:03 [PATCH] HID: quirks: Add quirk for Logitech G923 Xbox steering wheel Walt Holman
2023-01-27 22:06 ` Walt Holman
2023-02-06  9:51   ` Benjamin Tissoires
2023-02-07 21:42     ` Walt Holman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox