Made right trigger usable on Xbox based controllers

fix-456
grizeldi 8 years ago committed by GitHub
parent ddfa728d60
commit 23d6def5ed
  1. 5
      jme3-core/src/main/resources/joystick-mapping.properties

@ -72,6 +72,7 @@ Controller\ (XBOX\ 360\ For\ Windows).ry=rz
# requires custom code to support trigger buttons but this
# keeps it from confusing the .rx mapping.
Controller\ (XBOX\ 360\ For\ Windows).z=trigger
Controller\ (XBOX\ 360\ For\ Windows).rz=rtrigger
# XBOX 360 Controller connected to Android using
# the USB dongle
@ -110,6 +111,7 @@ 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
Gamepad\ F310\ (Controller).rz=rtrigger
# Logitech F310 gamepad with dip switch XInput for Windows 10
Controller\ (Gamepad\ F310).0=2
@ -129,6 +131,7 @@ Controller\ (Gamepad\ F310).ry=rz
# requires custom code to support trigger buttons but this
# keeps it from confusing the .rx mapping.
Controller\ (Gamepad\ F310).z=trigger
Controller\ (Gamepad\ F310).rz=rtrigger
# Alternate version of the XBOX 360 controller
XBOX\ 360\ For\ Windows\ (Controller).0=2
@ -148,6 +151,7 @@ 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
XBOX\ 360\ For\ Windows\ (Controller).rz=rtrigger
#Xbox One S controller
Microsoft\ X-Box\ One\ S\ pad.0=2
@ -167,6 +171,7 @@ Microsoft\ X-Box\ One\ S\ pad.ry=rz
# requires custom code to support trigger buttons but this
# keeps it from confusing the .rx mapping.
Microsoft\ X-Box\ One\ S\ pad.z=trigger
Microsoft\ X-Box\ One\ S\ pad.rz=rtrigger
# from : Freebox controller as "DragonRise Inc. Generic USB Joystick"
DragonRise\ Inc.\ \ \ Generic\ \ \ USB\ \ Joystick.x=rx

Loading…
Cancel
Save