Skip to content

Conversation

@prominentdetail
Copy link

Changes to ensure that keyup fires when combination consists of multiple modifiers and ends with a modifier key.

Changes to ensure that keyup fires when combination consists of multiple modifiers and ends with a modifier key.
This is the start of namespace feature for keybinding. so for example, ctrl+a.name and ctrl+a.name2 could be triggered with same key combination.
If there was a space+c binding for instance, it would fire when c is pressed and not consider space. Now, any key will check to ensure previous keys are still held before firing. If window loses focus, it will clear the arrays that hold the held and released keys.
@magne4000
Copy link

Will this be merged at some time ?

@EmaSuriano
Copy link

Yeah, I'm having this exact same issue ... @ccampbell can you take a look? 😄

@Corchoneitor
Copy link

Any update on this?

@prominentdetail
Copy link
Author

Here are my current mousetrap files.. I'm not sure what i've changed, since it's always a hell to edit. It might include some special case stuff for my own specific use, like if a binding name has a _ character at the beginning, then it will fire regardless of any other keys pressed.
mousetrapstuff.zip

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.

4 participants