Skip to content

Joystick detection on linux and more...#486

Merged
pspeed42 merged 5 commits into
jMonkeyEngine:masterfrom
dokthar:joysticks
Apr 25, 2016
Merged

Joystick detection on linux and more...#486
pspeed42 merged 5 commits into
jMonkeyEngine:masterfrom
dokthar:joysticks

Conversation

@dokthar
Copy link
Copy Markdown
Contributor

@dokthar dokthar commented Apr 25, 2016

This pull request attempt to fix issue on linux where joystick/gamepad are detected whit the wrong logicalId (button name on linux instead of button number on windows).

  • add missing .trim() in JoystickCompatibilityMappings.java
  • fix some minor logging issue in JInputJoyInput
  • add mapping for two gamepad : "GASIA CORP. PLAYSTATION(R)3 Controller", "DragonRise Inc. Generic USB Joystick"
  • add a easier way to create a custom joystick mapping in TestJoystick : "push a joystick button and click on the expected mapped button to print the entry for remapping the button"

for more info see the topic on the forum here

dokthar added 5 commits April 25, 2016 20:52
…ngs :

- push the joystick/gamepad button
- if the wrong button is highlighted, click with the mouse on the correct button (on the gamepad gui)
- this will print the string to be inserted into the joystick-mapping.properties file
- the "GASIA CORP. PLAYSTATION(R)3 Controller"
- the "DragonRise Inc.   Generic   USB  Joystick"
@pspeed42 pspeed42 merged commit 7c74262 into jMonkeyEngine:master Apr 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants