jMonkeyEngine / jMonkeyEngine/jmonkeyengine
Joystick in AwtPanelsContext
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 4.3k
- Forks
- 1.2k
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 14
Description
Using JMonkey to display 3D models in a Swing application/JInternalFrame. Wanted to add support for gamepad/joystick and getting a null from inputManager.getJoysticks();
Digging into the code for AwtPanelsContext no code is implemented to load a joystick and returns null. https://github.com/jMonkeyEngine/jmonkeyengine/blob/master/jme3-desktop/src/main/java/com/jme3/system/awt/AwtPanelsContext.java
Is this code not implemented or not possible to support joystick in a AwtPanelsContext mode?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading jme3-desktop/src/main/java/com/jme3/system/awt/AwtPanelsContext.java and tracing the inputManager.getJoysticks() call for AwtPanelsContext. Determine whether joystick support is possible in this Swing/AWT context and what platform constraints apply. Done means the issue has a clearly supported or unsupported outcome, with the required implementation and verification scope identified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100