jMonkeyEngine / jMonkeyEngine/jmonkeyengine

Joystick in AwtPanelsContext

Open
#1,600 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.