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

[WIP] Restrict ReplayKeyboard events to application mappeable shortcuts #17

Closed
wants to merge 1 commit into from

Conversation

vkareh
Copy link
Member

@vkareh vkareh commented Dec 4, 2017

Determine when to allow Replay versus Async events based on whether the keycode is properly mappeable to application-level shortcuts. This prevents strange key combinations to be replayed, including ones like Alt+Tab.

We determine which keycodes are valid based on whether they are both shift-able and alt-able. This effectively rules out most function and control keys, which should be only allows asynchronously.

keycode is properly mappeable to application-level shortcuts. This
prevents strange key combinations to be replayed, including ones like
Alt+Tab.

We determine which keycodes are valid based on whether they are both
shift-able and alt-able. This effectively rules out most function and
control keys, which should be only allows asynchronously.
@vkareh
Copy link
Member Author

vkareh commented Dec 4, 2017

Fixes #16 ... maybe!
edit: it does not...

@vkareh vkareh changed the title Restrict ReplayKeyboard events to application mappeable shortcuts [WIP] Restrict ReplayKeyboard events to application mappeable shortcuts Dec 4, 2017
@vkareh vkareh closed this Dec 4, 2017
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.

None yet

1 participant