• Jesper Dam's avatar
    Fix issue #326: correct handling of shift key · f6a1d98a
    Jesper Dam authored
    When shortcut modifiers (modifier keys such as CTRL, which do not participate in
    composing character input) are pressed, we try to suppress the keypress
    event, as browsers do not reliably generate it. This means that
    subsequent key events are decoded only based on the keydown event.
    
    Due to a type error (comparing a string to a number), shift was
    mistakenly treated as a shortcut modifier, preventing text input which
    relied on shift, such as _ and %, from being generated.
    f6a1d98a
Name
Last commit
Last update
..
arrays.html Loading commit data...
arrays.js Loading commit data...
base64.html Loading commit data...
base64.js Loading commit data...
browser.js Loading commit data...
canvas.html Loading commit data...
cursor.html Loading commit data...
face.png Loading commit data...
face.png.js Loading commit data...
input.html Loading commit data...
keyboard-tests.html Loading commit data...
run_from_console.casper.js Loading commit data...
run_from_console.js Loading commit data...
run_from_console.zombie.js Loading commit data...
stats.js Loading commit data...
test.helper.js Loading commit data...
test.keyboard.js Loading commit data...
viewport.css Loading commit data...
viewport.html Loading commit data...
vnc_perf.html Loading commit data...
vnc_playback.html Loading commit data...