isXander / isXander/Controlify

[Feature] Double-Tap To Toggle Gyro

Open
#468 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
341
Forks
97
Avg merge
1h
Merged PRs (30d)
1

Description

Is your feature request related to a problem? Please describe.
Currently, you can hold a button to disable the gyro. This is nice, and inverted mode is great.

However, I have to pause the game to set the controller down.
It would be nice to have access to both pause and toggle.

Describe the solution you'd like
Implement a checkbox: 'Pause Gyro On Gyro Button Double-Tap'.
Double Tapping the button disables the gyro. Tapping the gyro button again re-enables gyro, preferably on release of the button you can still have it paused whilst holding it.

Describe alternatives you've considered
Alternatively, take notes from Jibb Smart's JoyShockMapper and make buttons for 'Gyro On' and 'Gyro Off', as well as 'Gyro Toggle'.

The equivalent in JSM is:
E = GYRO_OFF
E , E = ^GYRO_OFF

This pauses gyro controls when the button is tapped and held, toggles it double-tapped and re-enabled when released.
Something like this but natively would be awesome.

Contributor guide

No contributing guide indexed for this repository

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 locating the existing gyro-button hold-to-disable behavior and the settings that control it. Trace how button taps, holds, and releases are handled, then compare the desired pause, double-tap toggle, and release behavior with the JoyShockMapper example in the issue. Done means the requested checkbox and interaction work without removing the existing hold behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
game-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.