From 1df3c204f2bc0d7d345287dab2f9349dc52308a5 Mon Sep 17 00:00:00 2001 From: Pesegato Date: Fri, 8 Jan 2016 10:06:49 +0100 Subject: [PATCH] Added support to Logitech F310 with Xinput for Windows 10 --- .../resources/joystick-mapping.properties | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/jme3-core/src/main/resources/joystick-mapping.properties b/jme3-core/src/main/resources/joystick-mapping.properties index b4f1b77bd..73d0f504f 100644 --- a/jme3-core/src/main/resources/joystick-mapping.properties +++ b/jme3-core/src/main/resources/joystick-mapping.properties @@ -95,6 +95,25 @@ Gamepad\ F310\ (Controller).ry=rz # keeps it from confusing the .rx mapping. Gamepad\ F310\ (Controller).z=trigger +# Logitech F310 gamepad with dip switch XInput for Windows 10 +Controller\ (Gamepad\ F310).0=2 +Controller\ (Gamepad\ F310).1=1 +Controller\ (Gamepad\ F310).2=3 +Controller\ (Gamepad\ F310).3=0 + +Controller\ (Gamepad\ F310).6=8 +Controller\ (Gamepad\ F310).7=9 + +Controller\ (Gamepad\ F310).8=10 +Controller\ (Gamepad\ F310).9=11 + +Controller\ (Gamepad\ F310).rx=z +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 + # Alternate version of the XBOX 360 controller XBOX\ 360\ For\ Windows\ (Controller).0=2 XBOX\ 360\ For\ Windows\ (Controller).1=1