Skip to content

Fix iPad scroll source and natural direction - #97

Open
alantangok wants to merge 2 commits into
hugeBlack:mainfrom
alantangok:alan/fix/ipad-scroll
Open

alantangok wants to merge 2 commits into
hugeBlack:mainfrom
alantangok:alan/fix/ipad-scroll

Conversation

@alantangok

@alantangok alantangok commented Sep 14, 2026

Copy link
Copy Markdown

Summary

  • make GCMouse the sole scroll owner while a usable GCMouse source is connected; use UIKit pan only as a no-mouse fallback
  • preserve the existing GameController axis mapping (yAxis -> wheelX, xAxis -> wheelY) and Natural Scrolling sign
  • accumulate fractional GameController deltas without adding synthetic glide to discrete mouse-wheel input
  • apply the existing Scroll Speed setting consistently to GameController and UIKit paths

Verification

  • unsigned Release iOS device build succeeded
  • Xcode Release static analysis succeeded
  • exact-source mapper/accumulator checks cover axis mapping, Natural Scrolling direction, fractional accumulation, source ownership, and scroll sensitivity
  • no project file, .checkpoint, or scripts/ changes

Device validation still required

  • Magic Keyboard trackpad: smooth vertical/horizontal scrolling with Natural Scrolling on and off
  • physical discrete mouse wheel: one notch must not receive synthetic momentum
  • disconnect/reconnect the mouse and confirm UIKit fallback activates without duplicate events

Split from #93.

@alantangok alantangok changed the title Fix iPad scroll momentum and natural direction Fix iPad scroll source and natural direction Sep 15, 2026
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