jMonkeyEngine / jMonkeyEngine/jmonkeyengine

Add proper sensor support

Open
#2,810 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature Request / Proposal Needs investigation
Dominant language
Java
Stars
4.3k
Forks
1.2k
Avg merge
4d 7h
Merged PRs (30d)
14

Description

In jme we don't have a proper support for sensors like accelerometer. The thing that gets closer to that is AndroidSensorJoyInput that uses sensor data to fake a joystick.

We should implement a crossplatform generic JmeSystem-level sensor support.
And maybe a joystick-level support for gamepads that come with additional sensors like the steam controller or VR controllers.

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 AndroidSensorJoyInput and the JmeSystem-level input APIs to understand how sensor data is currently represented. Define the scope for cross-platform generic sensor support, including whether joystick-level support for gamepads with additional sensors is included. Done means the agreed sensor API works across the intended platforms and covers the documented sensor use cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
game-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.