Added support to Logitech F310

For both DirectInput and XInput mode. Also tentatively added support of alternate version of xbox360 controller.
This commit is contained in:
Pesegato 2015-11-09 14:31:52 +01:00
parent 8752c42aa6
commit 539e49e109

View File

@ -69,3 +69,47 @@ Microsoft\ PC-joystick\ driver.12=POV +Y
Microsoft\ PC-joystick\ driver.13=POV +X
Microsoft\ PC-joystick\ driver.14=POV -Y
Microsoft\ PC-joystick\ driver.15=POV -X
# Logitech F310 gamepad with dip switch DirectInput
Logitech\ Dual\ Action.1=2
Logitech\ Dual\ Action.2=1
Logitech\ Dual\ Action.3=0
Logitech\ Dual\ Action.0=3
# Logitech F310 gamepad with dip switch XInput
Gamepad\ F310\ (Controller).0=2
Gamepad\ F310\ (Controller).1=1
Gamepad\ F310\ (Controller).2=3
Gamepad\ F310\ (Controller).3=0
Gamepad\ F310\ (Controller).6=8
Gamepad\ F310\ (Controller).7=9
Gamepad\ F310\ (Controller).8=10
Gamepad\ F310\ (Controller).9=11
Gamepad\ F310\ (Controller).rx=z
Gamepad\ F310\ (Controller).ry=rz
# requires custom code to support trigger buttons but this
# keeps it from confusing the .rx mapping.
Gamepad\ F310\ (Controller).z=trigger
# Alternate version of the XBOX 360 controller
XBOX\ 360\ For\ Windows\ (Controller).0=2
XBOX\ 360\ For\ Windows\ (Controller).1=1
XBOX\ 360\ For\ Windows\ (Controller).2=3
XBOX\ 360\ For\ Windows\ (Controller).3=0
XBOX\ 360\ For\ Windows\ (Controller).6=8
XBOX\ 360\ For\ Windows\ (Controller).7=9
XBOX\ 360\ For\ Windows\ (Controller).8=10
XBOX\ 360\ For\ Windows\ (Controller).9=11
XBOX\ 360\ For\ Windows\ (Controller).rx=z
XBOX\ 360\ For\ Windows\ (Controller).ry=rz
# requires custom code to support trigger buttons but this
# keeps it from confusing the .rx mapping.
XBOX\ 360\ For\ Windows\ (Controller).z=trigger