dmauro / Keypress

A keyboard input capturing utility in which any key can be a modifier key.
http://dmauro.github.io/Keypress/
Apache License 2.0
3.18k stars 313 forks source link

+/- keys do not register in firefox #50

Closed simonsarris closed 10 years ago

simonsarris commented 10 years ago

The +/- keys on the numpad register, but the +/- keys next to Backspace do not register.

Those two keypresses in Firefox use different e.which values than other browsers, namely 173 for minus and 61 for plus.

Tested on http://dmauro.github.io/Keypress/, it does not work on the sample keyboard.

dmauro commented 10 years ago

Thank you! I'll get it into the next release :)

RyanGlScott commented 9 years ago

This doesn't seem to work quite right for me. Testing on this site, pressing - on Firefox/Gecko 36 causes the = key to be highlighted, and vice versa. Perhaps you mixed up their keycodes in this part of keypress.coffee?

jeremykohn commented 9 years ago

Looks like the -, = issue was fixed in version 2.1.1 on May 13.

But not on the demo website, which still uses version 2.1.0. Better get the latest from GitHub.