[Android] Don't register analog stick movement on first touch
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 14.1k
- Forks
- 2.2k
- Avg merge
- 7h 35m
- Merged PRs (30d)
- 51
Description
Currently RetroArch registers the analog stick movement as soon as you place your finger in its hitbox area. This behaviour causes issues in many games, especially the ones where precise analog stick movements are required.
The analogue sticks in a touchscreen gamepad overlay should work as shown on the site I linked below (even remaining in a static position as it is now, but the first touch should only allow to "take control" of the analog stick without registering any movement):
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 comparing the requested behavior with the linked PlayCanvas touch joypad tutorial, then locate RetroArch's Android touchscreen gamepad overlay input handling. The change is complete when the first touch claims control of an analog stick without registering movement, while subsequent movement still works as expected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, c
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100