Skip to content

Touch controls refinement #534

Open
Xnick417x wants to merge 3 commits into
WinNative-Emu:mainfrom
Xnick417x:touch
Open

Touch controls refinement #534
Xnick417x wants to merge 3 commits into
WinNative-Emu:mainfrom
Xnick417x:touch

Conversation

@Xnick417x

Copy link
Copy Markdown
Collaborator

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.

Xnick417x added 3 commits June 9, 2026 04:10
- 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant