Repository navigation
Conversation
…ir own guest slots
… Controller settings
…e the console's motor
rfandango
force-pushed
the
feat/multi-controller-slots
branch
from
August 14, 2026 17:16
0c2409c to
5734113
Compare
lxyongit
pushed a commit
to lxyongit/Xendroid-Plus
that referenced
this pull request
Nov 4, 2026
…apping The trigger axes (LTRIGGER/BRAKE, RTRIGGER/GAS) reached the guest as a button past half way, on P1 and on P2-P4, and the core turned a pressed trigger into 255: no throttle or brake control in racing games (phforner0#97, phforner0#104). A trigger now sends its travel as the guest's 0-255 byte (dead zone 0.02), and the core passes the value through; a digital press (the touch controls, an L2/R2 key) is still full. Keystrokes see a trigger pressed past XInput's threshold (> 0x1F, as Edge's SDL driver), and the previous key state moves only on a transition, so a KEYDOWN isn't flagged as a repeat. Holding LT for the gyro aim counts from that threshold too. Following XenDroid's take on it (rfandango/XenDroid#81, not merged there). The axes follow the key mapping of L2 and R2, which a pad in analog mode doesn't send as keys: on the guest's LT or RT they keep their travel, on another button they press it past half way, and left unbound they drive nothing. They send only changes and never release what they didn't press, so a trigger at rest leaves alone LT held by a digital ZL key. The key capture of the mapping screen, a dialog, takes a trigger pushed past half in its own window as L2 or R2 (phforner0#97: the mapping didn't see the trigger at all). A pad that sends a trigger both as an axis and as a key past a point of its own has the key, and its release, ignored once the axis has moved; the very first press can still get there before the axis's first sample. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.