Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS: Fix arrow keys #11355

Merged
merged 2 commits into from
Jan 10, 2022
Merged

macOS: Fix arrow keys #11355

merged 2 commits into from
Jan 10, 2022

Conversation

nastys
Copy link
Contributor

@nastys nastys commented Jan 10, 2022

Arrow keys are considered to be part of the keypad on macOS.
While the d-pad can be remapped to the "numpad" arrows by the user, it causes inputs to work incorrectly, so we need to intercept these inputs anyway.

@MSuih
Copy link
Member

MSuih commented Jan 10, 2022

Just to clarify, was this tested on laptop keyboard only or also on usb keyboards (apple and/or generic)?

@nastys
Copy link
Contributor Author

nastys commented Jan 10, 2022

I've only tested this on my MacBook. It doesn't matter whether USB keyboards also require this workaround, because it's not worth checking what kind of keyboard the user has anyway.

@MSuih
Copy link
Member

MSuih commented Jan 10, 2022

I just mean in the sense that it shouldn't break arrow keys on usb keyboards.

@nastys
Copy link
Contributor Author

nastys commented Jan 10, 2022

I've just tested this with a USB keyboard, it works fine.

@Megamouse
Copy link
Contributor

I think this is conceptually wrong.
There has to be a simpler solution.
Additionally this looks like a beautiful memleak.

@nastys nastys force-pushed the patch5 branch 2 times, most recently from 85d6ab7 to 457cc54 Compare January 10, 2022 19:51
@Megamouse Megamouse merged commit ed542b2 into RPCS3:master Jan 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants