When I bind the keys ?and /using javascripton the qwerty keyboard, they have the same
keycode (191), but you have to click shiftto do ?.
How can I specify which symbol has been pressed on azerty keyboard (layout, shown below), as they are for different keys and need shift, and I get to have the same code keyup.:
$(document).keyup(function(event) {
if (event.which === 191) {
action();
}
});

(The original image is “KB France” from Yitscar (English Wikipedia) Michka B (French Wikipedia) License for Creative Commons Attribution-Share Alike 3.0 via Wikipedia - see the use in the article linked above .)
source
share