2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 04:03:58 +08:00
linux-next/drivers/input/joystick
Enno Boland dd6bee81c9 Input: xpad - fix GPD Win 2 controller name
This fixes using the controller with SDL2.

SDL2 has a naive algorithm to apply the correct settings to a controller.
For X-Box compatible controllers it expects that the controller name
contains a variation of a 'XBOX'-string.

This patch changes the identifier to contain "X-Box" as substring.  Tested
with Steam and C-Dogs-SDL which both detect the controller properly after
adding this patch.

Fixes: c1ba08390a ("Input: xpad - add GPD Win 2 Controller USB IDs")
Cc: stable@vger.kernel.org
Signed-off-by: Enno Boland <gottox@voidlinux.eu>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2018-06-21 17:21:18 -07:00
..
iforce Input: iforce - constify serio_device_id 2017-08-18 17:14:09 -07:00
a3d.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
adi.c Input: adi - make array seq static, reduces object code size 2017-09-04 09:28:15 -07:00
amijoy.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2012-03-29 23:17:44 -07:00
analog.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2018-04-05 13:21:57 -07:00
as5011.c Input: as5011 - avoid using __set_bit() for capabilities 2018-05-08 15:36:02 -07:00
cobra.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
db9.c treewide: setup_timer() -> timer_setup() 2017-11-21 15:57:07 -08:00
gamecon.c Input: gamecon - avoid using __set_bit() for capabilities 2018-05-08 15:39:04 -07:00
gf2k.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
grip_mp.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
grip.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
guillemot.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
interact.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
joydump.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
Kconfig Input: pxrc - new driver for PhoenixRC Flight Controller Adapter 2018-03-26 15:22:20 -07:00
magellan.c Input: magellan - constify serio_device_id 2017-08-18 17:14:10 -07:00
Makefile Input: pxrc - new driver for PhoenixRC Flight Controller Adapter 2018-03-26 15:22:20 -07:00
maplecontrol.c Input: maplecontrol - drop unnecessary call to input_set_drvdata 2017-01-22 17:22:27 -08:00
psxpad-spi.c Input: add support for PlayStation 1/2 joypads connected via SPI 2017-05-10 14:35:48 -07:00
pxrc.c Input: pxrc - new driver for PhoenixRC Flight Controller Adapter 2018-03-26 15:22:20 -07:00
sidewinder.c Input: sidewinder - mark expected switch fall-throughs 2017-11-10 10:29:55 -08:00
spaceball.c Input: spaceball - mark expected switch fall-throughs 2017-11-10 10:29:54 -08:00
spaceorb.c Input: spaceorb - constify serio_device_id 2017-08-18 17:14:12 -07:00
stinger.c Input: stinger - constify serio_device_id 2017-08-18 17:14:14 -07:00
tmdc.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
turbografx.c treewide: setup_timer() -> timer_setup() 2017-11-21 15:57:07 -08:00
twidjoy.c Input: twidjoy - constify serio_device_id 2017-08-18 17:14:15 -07:00
walkera0701.c ktime: Cleanup ktime_set() usage 2016-12-25 17:21:22 +01:00
warrior.c Input: warrior - constify serio_device_id 2017-08-18 17:14:16 -07:00
xpad.c Input: xpad - fix GPD Win 2 controller name 2018-06-21 17:21:18 -07:00
zhenhua.c Input: zhenhua - constify serio_device_id 2017-08-18 17:14:17 -07:00