Skip to content

fix: honor Reverse Scroll Direction for trackpad/mouse scrolling - #116

Open
MoustacheOff wants to merge 1 commit into
hugeBlack:mainfrom
MoustacheOff:fix/trackpad-scroll-direction
Open

MoustacheOff wants to merge 1 commit into
hugeBlack:mainfrom
MoustacheOff:fix/trackpad-scroll-direction

Conversation

@MoustacheOff

@MoustacheOff MoustacheOff commented Oct 12, 2026 •

Copy link
Copy Markdown

Summary

Fixes #115.

Apply SettingsHandler.reverseScrollDirection in the GCMouse scroll handlers (GameController.swift). It was only read in the touch two-finger scroll path, so the toggle had no effect for a trackpad or mouse.

Rebased on main after #97; this only adds the direction on top of its accumulators. The default is unchanged.

Copilot AI balanced review requested due to automatic review settings October 12, 2026 15:45

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@SandiyosDev

Copy link
Copy Markdown
Collaborator

@MoustacheOff thanks for the fix and for testing it, #97 just merged and adds a fractional accumulator to the same two handlers (one per mouse), so this conflicts now
can you rebase on main and keep only the reverse scroll direction part?

@SandiyosDev

Copy link
Copy Markdown
Collaborator

and keep the default as is, flipping it would change the direction for every mouse user on update
Ill approve build workflows after your changs

The GCMouse scroll handlers ignored the reverseScrollDirection setting,
which was only read in the touch two-finger scroll path.

Fixes hugeBlack#115
@MoustacheOff
MoustacheOff force-pushed the fix/trackpad-scroll-direction branch from 6d3af31 to ccd8a2e Compare October 19, 2026 22:21
@MoustacheOff

Copy link
Copy Markdown
Author

Rebased on main, it now only adds the reverse scroll direction on top of #97's accumulators. Default unchanged.

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.

Trackpad scroll direction is reversed and "Reverse Scroll Direction" has no effect

3 participants