Skip to content

input: tell left and right modifiers apart on macOS - #3

Merged
freezy merged 1 commit into
VisualPinball:masterfrom
jsm174:macos-sided-modifiers
Nov 16, 2026
Merged

freezy merged 1 commit into
VisualPinball:masterfrom
jsm174:macos-sided-modifiers

Conversation

@jsm174

@jsm174 jsm174 commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

CGEventSourceKeyState reports right shift/ctrl/option/cmd as the left key, so right shift fires the left flipper. Read the device-dependent bits of CGEventSourceFlagsState for those keys instead.

@greptile-apps

greptile-apps Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no actionable defects were established.

Summary

The PR changes how macOS reads left and right modifier keys.

  • macOS modifier bindings now tell left and right keys apart.

No actionable issues were established. Runtime behavior was not tested on macOS.

Reviews (1) · Last reviewed commit: "input: tell left and right modifiers apa..." · Reviewed by Greptile

@freezy

freezy commented Nov 16, 2026

Copy link
Copy Markdown
Member

Thanks!

@freezy
freezy merged commit dabac1c into VisualPinball:master Nov 16, 2026
9 checks passed
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.

2 participants