From a88fdf99f033050cb9dcebf6a80eec430aefb02c Mon Sep 17 00:00:00 2001 From: grizeldi Date: Sun, 30 Dec 2018 17:59:48 +0100 Subject: [PATCH] More XBOX controller remappings --- .../resources/joystick-mapping.properties | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/jme3-core/src/main/resources/joystick-mapping.properties b/jme3-core/src/main/resources/joystick-mapping.properties index 6c0653c50..dcef4f6a1 100644 --- a/jme3-core/src/main/resources/joystick-mapping.properties +++ b/jme3-core/src/main/resources/joystick-mapping.properties @@ -173,6 +173,26 @@ Microsoft\ X-Box\ One\ S\ pad.ry=rz Microsoft\ X-Box\ One\ S\ pad.z=trigger Microsoft\ X-Box\ One\ S\ pad.rz=rtrigger +# XBONE S pad connected via Bluetooth +Xbox\ Wireless\ Controller.0=2 +Xbox\ Wireless\ Controller.1=1 +Xbox\ Wireless\ Controller.2=3 +Xbox\ Wireless\ Controller.3=0 + +Xbox\ Wireless\ Controller.6=8 +Xbox\ Wireless\ Controller.7=9 + +Xbox\ Wireless\ Controller.8=10 +Xbox\ Wireless\ Controller.9=11 + +Xbox\ Wireless\ Controller.rx=z +Xbox\ Wireless\ Controller.ry=rz + +# requires custom code to support trigger buttons but this +# keeps it from confusing the .rx mapping. +Xbox\ Wireless\ Controller.z=trigger +Xbox\ Wireless\ Controller.rz=rtrigger + # from : Freebox controller as "DragonRise Inc. Generic USB Joystick" DragonRise\ Inc.\ \ \ Generic\ \ \ USB\ \ Joystick.x=rx DragonRise\ Inc.\ \ \ Generic\ \ \ USB\ \ Joystick.y=ry