Android: add joystick compatibility mapping for XBOX 360 controller connected to Android device using USB dongle

experimental
iwgeric 10 years ago
parent d80de0cc5b
commit fecfa8ccd0
  1. 7
      jme3-core/src/main/resources/joystick-mapping.properties

@ -56,3 +56,10 @@ Controller\ (XBOX\ 360\ For\ Windows).ry=rz
# requires custom code to support trigger buttons but this # requires custom code to support trigger buttons but this
# keeps it from confusing the .rx mapping. # keeps it from confusing the .rx mapping.
Controller\ (XBOX\ 360\ For\ Windows).z=trigger Controller\ (XBOX\ 360\ For\ Windows).z=trigger
# XBOX 360 Controller connected to Android using
# the USB dongle
Xbox\ 360\ Wireless\ Receiver.AXIS_RX=z
Xbox\ 360\ Wireless\ Receiver.AXIS_RY=rz
Xbox\ 360\ Wireless\ Receiver.z=AXIS_RX
Xbox\ 360\ Wireless\ Receiver.rz=AXIS_RY

Loading…
Cancel
Save