fix command key event left and right reverse on macOS#810
fix command key event left and right reverse on macOS#810Osspial merged 3 commits intorust-windowing:masterfrom TakWolf:master
Conversation
|
Thanks! Sorry it took so long to get back on this - I kept putting it off and, well, here we are. All that's missing is a changelog entry. Add that in, and I'll go ahead and merge this. |
|
I just made changes based on the results. I don't have a clear documentation reference but https://github.com/phracker/MacOSX-SDKs/blob/master/MacOSX10.6.sdk/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Headers/Events.h#L273 I'm not sure it is ok on all keyboard style.It is best to have another one to test this. |
|
Fair enough. @mtak- are you able to test this? |
|
@Osspial Just to potentially speed things up a bit, I've tested this on my macbook at work and I was able to confirm both that the current behavior is wrong (LWin and RWin swapped) and that this PR fixes that. |
|
@chrisduerr Thanks for the test! I'll merge this now. |
…#810) * fix command key event left and right reverse on macOS rust-windowing#808 * update changelog
…#810) * fix command key event left and right reverse on macOS rust-windowing#808 * update changelog
…#810) * fix command key event left and right reverse on macOS rust-windowing#808 * update changelog
…#810) * fix command key event left and right reverse on macOS rust-windowing#808 * update changelog
#808
CHANGELOG.mdif knowledge of this change could be valuable to usersI only swapped the VirtualKeyCode mapping.