Non English Keyboard Layout
hello, trying make simple sketch arduino due, keyboard library executes powershell , runs couple of commands.
i've been having lot of problems characters, instead of writing "(" writes "=" example. i've been doing research , i've found due keyboard layout, , can solved editing hid.cpp file, keyboard layout stored inside array called : "uint8_t _asciimap[128]" don't know start, values or numbers should write, can me that?
and if has modified own file using spanish keyboard layout, nice of if share modified file
thanks!
i realised there no such "uint8_t _asciimap[128]" in hid.cpp file, maybe looking @ wrong file :
c:\users\"my user"\documents\arduinodata\packages\arduino\hardware\sam\1.6.11\libraries\hid\src
i've been having lot of problems characters, instead of writing "(" writes "=" example. i've been doing research , i've found due keyboard layout, , can solved editing hid.cpp file, keyboard layout stored inside array called : "uint8_t _asciimap[128]" don't know start, values or numbers should write, can me that?
and if has modified own file using spanish keyboard layout, nice of if share modified file
thanks!
i realised there no such "uint8_t _asciimap[128]" in hid.cpp file, maybe looking @ wrong file :
c:\users\"my user"\documents\arduinodata\packages\arduino\hardware\sam\1.6.11\libraries\hid\src
the map in libraries/keyboard/keyboard.cpp
the keycodes usb hid specification, code page 7.
http://www.usb.org/developers/hidpage/hut1_12v2.pdf
the keycodes represent physical key position on keyboard. the os maps keycodes , modifier keys glyphs based on selected keyboard layout. the table maps glyphs keycodes , shift modifier.
the keycodes usb hid specification, code page 7.
http://www.usb.org/developers/hidpage/hut1_12v2.pdf
the keycodes represent physical key position on keyboard. the os maps keycodes , modifier keys glyphs based on selected keyboard layout. the table maps glyphs keycodes , shift modifier.
Arduino Forum > Using Arduino > Programming Questions > Non English Keyboard Layout
arduino
Comments
Post a Comment