]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Input: xpad - change D-PAD mapping on Razer devices
authorThomaz de Oliveira dos Reis <thor27@gmail.com>
Thu, 2 Jan 2014 23:38:45 +0000 (15:38 -0800)
committerJiri Slaby <jslaby@suse.cz>
Thu, 13 Nov 2014 18:02:01 +0000 (19:02 +0100)
commitb90cbd9256eb7a77c13871f73e76503ae9256a31
treefbc130f6eee462d5fdae2ff6b62063c88053208f
parent0d39ee5105c5394991dc055f218b5d702cca5b90
Input: xpad - change D-PAD mapping on Razer devices

commit dbb48007a016f48f7fc19d8af753bae8b9c15816 upstream.

When using Razer Onza controller the dpad doesn't work in many games
because D-PAD was mapped to buttons (useful for dance pads) and not to
HAT0X/Y axis.

ers who really want to have it mapped to buttons can restore previous
behavior by using 'dpad_to_buttons' module option.

Signed-off-by: Thomaz de Oliveira dos Reis <thor27@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/input/joystick/xpad.c