joystick : added mapping for two gamepads

- the "GASIA CORP. PLAYSTATION(R)3 Controller"
- the "DragonRise Inc.   Generic   USB  Joystick"
cleanup_build_scripts
Dokthar 9 years ago
parent a7766c6855
commit 256abb38fa
  1. 45
      jme3-core/src/main/resources/joystick-mapping.properties

@ -7,10 +7,26 @@
# interface. # interface.
# #
# Keys with spaces in them should have those spaces escaped. # Keys with spaces in them should have those spaces escaped.
# Values do not need their spaces escaped. For example: # Values do not need their spaces escaped :
# #
# Joystick\ Name.{axis/button id}={remapping id value}
#
# For example :
# Some\ Joystick.0=3 # Some\ Joystick.0=3
# #
# Mappings logicalId :
# triangle / 1 : 0
# circle / 2 : 1
# cross / 3 : 2
# square / 4 : 3
# L1 : 4
# R1 : 5
# L2 : 6
# R2 : 7
# select : 8
# start : 9
# Lstick button : 10
# Rstick button : 11
# Final Fantasy XIV mapping # Final Fantasy XIV mapping
@ -132,3 +148,30 @@ XBOX\ 360\ For\ Windows\ (Controller).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.
XBOX\ 360\ For\ Windows\ (Controller).z=trigger XBOX\ 360\ For\ Windows\ (Controller).z=trigger
# from : Freebox controller as "DragonRise Inc. Generic USB Joystick"
DragonRise\ Inc.\ \ \ Generic\ \ \ USB\ \ Joystick.x=rx
DragonRise\ Inc.\ \ \ Generic\ \ \ USB\ \ Joystick.y=ry
DragonRise\ Inc.\ \ \ Generic\ \ \ USB\ \ Joystick.z=y
DragonRise\ Inc.\ \ \ Generic\ \ \ USB\ \ Joystick.rx=z
DragonRise\ Inc.\ \ \ Generic\ \ \ USB\ \ Joystick.rz=rz
# from : Two dots controller as "GASIA CORP. PLAYSTATION(R)3 Controller"
# most of the button have a analog axis
# two controllers are detected at the same time instead of one
# some button mappings are missing (triangle, circle, cross) on linux
GASIA\ CORP.\ PLAYSTATION(R)3\ Controller.8=6
GASIA\ CORP.\ PLAYSTATION(R)3\ Controller.9=7
GASIA\ CORP.\ PLAYSTATION(R)3\ Controller.10=4
GASIA\ CORP.\ PLAYSTATION(R)3\ Controller.11=5
GASIA\ CORP.\ PLAYSTATION(R)3\ Controller.12=3
GASIA\ CORP.\ PLAYSTATION(R)3\ Controller.0=8
GASIA\ CORP.\ PLAYSTATION(R)3\ Controller.3=9
GASIA\ CORP.\ PLAYSTATION(R)3\ Controller.1=10
GASIA\ CORP.\ PLAYSTATION(R)3\ Controller.2=11
GASIA\ CORP.\ PLAYSTATION(R)3\ Controller.5=POV +X
GASIA\ CORP.\ PLAYSTATION(R)3\ Controller.6=POV -Y
GASIA\ CORP.\ PLAYSTATION(R)3\ Controller.7=POV -X
GASIA\ CORP.\ PLAYSTATION(R)3\ Controller.4=POV +Y
Loading…
Cancel
Save