Unfortunately, <Right Shift>1</Right Shift>
doesn't work. It looks like both "1" and "!" share the same HID code 0x1E
. How does the Twiddler tell the computer to use one over the other?
Edit: I did a little more digging into this, and I found a website which displays keyevents in the browser.
On my laptop, when I press the chord for "@", this is what is displayed:
keydown keyCode=50 (2) which=50 (2) charCode=0
keypress keyCode=50 (2) which=50 (2) charCode=50 (2)
textInput data=2
2keydown keyCode=16 which=16 charCode=0
keyup keyCode=50 (2) which=50 (2) charCode=0
keyup keyCode=16 which=16 charCode=0
On my phone (which correctly displays the symbol) this is what is displayed:
keydown keyCode=16 which=16 charCode=0
keydown keyCode=50 (2) which=50 (2) charCode=0
keypress keyCode=64 (@) which=64 (@) charCode=64 (@)
keyup keyCode=16 which=16 charCode=0
keyup keyCode=50 (2) which=50 (2) charCode=0
Notice how the keydown on the Chromebook for shift comes after the keypress event? That seems like it could be related to the issue. Any ideas?