Infocatcher / Custom_Buttons

Buttons for Custom Buttons extension for Firefox (and other Gecko-based applications)
38 stars 11 forks source link

UpperCase for charcode #11

Closed galedrag closed 11 years ago

galedrag commented 11 years ago

UpperCase for charcode

Infocatcher commented 11 years ago

Shift+c != C on your keyboard layout? Interesting.

galedrag commented 11 years ago

Shift+c != C on your keyboard layout? Interesting. Only when "caps lock" is pressed (Ctrl+Shift+c == c)

galedrag commented 11 years ago

I guess this is also the case with others hotkey

Infocatcher commented 11 years ago

Only when "caps lock" is pressed (Ctrl+Shift+c == c)

Oh, I forgot about this.

I guess this is also the case with others hotkey

All other seems to works correctly: used e.keyCode == e.DOM_VK_XXX and String.fromCharCode(e.charCode).toUpperCase() == "I" for Ctrl+I/Ctrl+Shift+I