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

Ignore the AltGr key when populating ModifersState #763

Merged
merged 4 commits into from
Mar 5, 2019

Conversation

Osspial
Copy link
Contributor

@Osspial Osspial commented Jan 16, 2019

  • Tested on all platforms changed
  • Added an entry to CHANGELOG.md if knowledge of this change could be valuable to users
  • Updated documentation to reflect any user-facing changes, including notes of platform-specific behavior

At some point we should more comprehensively change how Windows handles keyboard input so that pressing AltGr doesn't result in both RAlt and LControl being sent to the window, but in the meantime this fixes a downstream issue.

On Windows, addresses the issue behind #756 . I'm not closing that issue for a couple of reasons - this behavior still exists on MacOS, and that thread brings up some API changes that I think are worth considering.

@Osspial Osspial added B - bug Dang, that shouldn't have happened DS - windows labels Jan 17, 2019
@Osspial Osspial mentioned this pull request Feb 22, 2019
@Osspial Osspial merged commit c5d22fd into rust-windowing:master Mar 5, 2019
elinorbgr pushed a commit to elinorbgr/winit that referenced this pull request Apr 7, 2019
* When building ModifiersState, ignore AltGr on Windows

* Add CHANGELOG entry

* Also filter out Control when pressing AltGr
elinorbgr pushed a commit to elinorbgr/winit that referenced this pull request Apr 7, 2019
* When building ModifiersState, ignore AltGr on Windows

* Add CHANGELOG entry

* Also filter out Control when pressing AltGr
elinorbgr pushed a commit to elinorbgr/winit that referenced this pull request Apr 7, 2019
* When building ModifiersState, ignore AltGr on Windows

* Add CHANGELOG entry

* Also filter out Control when pressing AltGr
felixrabe pushed a commit to felixrabe/winit that referenced this pull request Jun 30, 2019
* When building ModifiersState, ignore AltGr on Windows

* Add CHANGELOG entry

* Also filter out Control when pressing AltGr
kosyak pushed a commit to kosyak/winit that referenced this pull request Jul 10, 2019
* When building ModifiersState, ignore AltGr on Windows

* Add CHANGELOG entry

* Also filter out Control when pressing AltGr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B - bug Dang, that shouldn't have happened DS - windows
Development

Successfully merging this pull request may close these issues.

1 participant