Skip to content

Commit 1bf4b12

Browse files
committed
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
Pull input fixes from Dmitry Torokhov: "Just a small update to xpad driver to recognize yet another gamepad, and another change making sure userio.h is exported" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: Input: xpad - add support for Razer Wildcat gamepad uapi: add missing install of userio.h
2 parents 7e703ec + 5376366 commit 1bf4b12

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

drivers/input/joystick/xpad.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ static const struct xpad_device {
202202
{ 0x1430, 0x8888, "TX6500+ Dance Pad (first generation)", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX },
203203
{ 0x146b, 0x0601, "BigBen Interactive XBOX 360 Controller", 0, XTYPE_XBOX360 },
204204
{ 0x1532, 0x0037, "Razer Sabertooth", 0, XTYPE_XBOX360 },
205+
{ 0x1532, 0x0a03, "Razer Wildcat", 0, XTYPE_XBOXONE },
205206
{ 0x15e4, 0x3f00, "Power A Mini Pro Elite", 0, XTYPE_XBOX360 },
206207
{ 0x15e4, 0x3f0a, "Xbox Airflo wired controller", 0, XTYPE_XBOX360 },
207208
{ 0x15e4, 0x3f10, "Batarang Xbox 360 controller", 0, XTYPE_XBOX360 },
@@ -326,6 +327,7 @@ static struct usb_device_id xpad_table[] = {
326327
XPAD_XBOX360_VENDOR(0x1430), /* RedOctane X-Box 360 controllers */
327328
XPAD_XBOX360_VENDOR(0x146b), /* BigBen Interactive Controllers */
328329
XPAD_XBOX360_VENDOR(0x1532), /* Razer Sabertooth */
330+
XPAD_XBOXONE_VENDOR(0x1532), /* Razer Wildcat */
329331
XPAD_XBOX360_VENDOR(0x15e4), /* Numark X-Box 360 controllers */
330332
XPAD_XBOX360_VENDOR(0x162e), /* Joytech X-Box 360 controllers */
331333
XPAD_XBOX360_VENDOR(0x1689), /* Razer Onza */

include/uapi/linux/Kbuild

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,7 @@ header-y += unistd.h
445445
header-y += unix_diag.h
446446
header-y += usbdevice_fs.h
447447
header-y += usbip.h
448+
header-y += userio.h
448449
header-y += utime.h
449450
header-y += utsname.h
450451
header-y += uuid.h

0 commit comments

Comments
 (0)