Closed aizaku closed 3 years ago
If the user presses shift first, there is a brief moment when you can capture the keyCode of the shift key which is different for left and right shift, you could then memorise it.
Also it's rather interesting how this library handles keys, for example npm keypress
does that completely differently and will continue to emit capital letter when one of shifts gets depressed.
Closing as apparently answered.
Steps to reproduce:
Expected result:
shiftKey: true
, since one is still being held down Actual result:node v10.16.3 electron v6.0.12
Also a question: is there a way to differentiate between left and right modifier keys? Would be helpful in some cases. If not, is it planned in future release?
p.s. just noticed this while doing some testing while I wait for electron 7 support ;)