Skip to content

Fix high-resolution scroll direction in button mappings - #1429

Merged
lujjjh merged 1 commit into
mainfrom
fix-high-resolution-scroll-direction
Oct 4, 2026
Merged

lujjjh merged 1 commit into
mainfrom
fix-high-resolution-scroll-direction

Conversation

@lujjjh

@lujjjh lujjjh commented Oct 4, 2026

Copy link
Copy Markdown
Collaborator

Fix high-resolution scroll-down incorrectly matching scroll-up actions due to applying the direction sign twice.

Addresses the direction issue reported in:
#1408 (comment)

Add regression coverage for Control + scrolling on both axes and reversed scrolling. Validated with 141 related tests.

@lujjjh lujjjh added the bug Something isn't working label Oct 4, 2026
@coderabbitai

coderabbitai Bot commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 087d96c2-6c3d-4acf-9407-b375739cbe82
📥 Commits

Reviewing files that changed from the base of the PR and between 335883c and 73760cf.

📒 Files selected for processing (3)
  • LinearMouse/EventTransformer/ScrollInput.swift
  • LinearMouseUnitTests/EventTransformer/ButtonMappingTransformerTests.swift
  • LinearMouseUnitTests/EventTransformer/ScrollActionRecognizerTests.swift
 ______________________________
< Bugs bunny, at your service. >
 ------------------------------
  \
   \   \
        \ /\
        ( )
      .( o ).
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@lujjjh
lujjjh merged commit 1d7d57f into main Oct 4, 2026
1 of 2 checks passed
@lujjjh
lujjjh deleted the fix-high-resolution-scroll-direction branch October 4, 2026 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant