piranha / keymage

Yet Another JS Keybinding library
ISC License
332 stars 31 forks source link

Can't bind listener for the "Shift" key only #18

Open abuduba opened 7 years ago

abuduba commented 7 years ago

Currently it's not possible to bind listener for modifier keys only like: keymage('shift', () => { console.log('Whoa!'); }

brianreeve commented 3 years ago

Consequently, it isn't possible to perform chords using modifier keys like shift shift.

piranha commented 3 years ago

Unfortunately, that would mean rewrite whole core. Ideally that's what needs to be done, but OTOH I don't use this library currently, so my motivation is pretty low :)