You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 8, 2017. It is now read-only.
It lowercases codes to make selection of said codes easier. If you jwerty.key("shift+q"... it should fire on those to keys pressed in combination, its a little ambiguious to use jwerty.key("Q"... or jwerty.key("q", as it can be prone to errors or typos (other typos could include jwerty.key("Shift+q"...
Also there is a case where if the caps-lock is on, what key does it fire? Q or q?
Well, imagine you have a binding like "Q", and "q" - both of them are fired by hitting "Q" key on your keyboard.
But if you somehow display these keys on the screen of your app - users type shift+q to match the uppercase "Q", and just q for lowercase "q".
Hence, it would be nice if jwerty could detect shift+key, if bound key IS IN uppercase.
The text was updated successfully, but these errors were encountered: