]> git.karo-electronics.de Git - linux-beck.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)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 2 Jan 2014 23:47:16 +0000 (15:47 -0800)
commitdbb48007a016f48f7fc19d8af753bae8b9c15816
treeb13a903ba6c172651be7dc5f1ad1fe8e8564d2ec
parent28a2a2e1aedbe2d8b2301e6e0e4e63f6e4177aca
Input: xpad - change D-PAD mapping on Razer devices

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>
drivers/input/joystick/xpad.c