Touch controls refinement #534
Open
Xnick417x wants to merge 3 commits into
Open
Conversation
- Consolidate mouse toggles into a Touch drawer pane with mutually-exclusive Trackpad/Touchscreen/Map-to-Right-Stick modes (per-game) and an RTS Gestures toggle - Map-to-Right-Stick: touch drives the virtual gamepad right stick via WinHandler overlay (profile-gated, coexists with gyro); GameHub curve + 80ms recenter, no physical controller required - RTS gesture engine: multi-finger taps/holds/swipes/pan/pinch -> bindings, per-game config, editor under gyro in input controls - Dual right-stick sensitivity slider (map-to-RS default 125% / gamepad 100%, up to 300%)
- Toggling Touchscreen/Map-to-Right-Stick off now reverts to Trackpad (the base mode) - Fix touch stuck at touchscreen for all modes: drop the dead legacy global touchscreen_toggle pref from dispatch so the Touch pane's mode is authoritative - Add a small back arrow at the top-left of the Touch pane to return to the menu
…verted Y Feeding per-event touch deltas into the absolute stick axis jittered (same root cause as WinNative-Emu#510 trackpad-as-gamepad). Drive the stick from the offset to the touch-down origin, normalized by radius and dead-zoned, so a held finger gives a stable deflection. Drop the velocity curve/smoothing/recenter timer; remove the inverted Y.
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.
Touch card added replacing the double mouse card.
Included features. Touchscreen mode and right stick like gamehub. Mapping right stick to touch screen. Only enabled when a gamepad touch profile is on
Rts gestures like gamehub lite but expanded to include 4 fingers.
Sensitivity slider added to controls for right stick with dual function.