HID Keyboard: How to send a TAB character/keypress? #3518
Replies: 2 comments
-
Posted at 2022-01-03 by ThomasVikström Ok, partially answering myself. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2022-01-03 by ThomasVikström Ok... found out how to use the first skeleton code, maybe it's of some help to others. So, just needed to add |
Beta Was this translation helpful? Give feedback.
-
Posted at 2022-01-03 by ThomasVikström
With the below skeleton code I'm trying to send a TAB character (or should it be keypress?) instead of the letter A's. The intention is to control a program which is using the TAB-key to navigate forward, and SHIFT-TAB backward.
If I intepreted the reference at https://www.espruino.com/modules/ble_hid_keyboard.js correctly,
"\t"
might be TAB, but have not succeeded in replacing the..KEY.A..
with..KEY."\t"..
or with some other variations.Can this be done, if so, how?
Beta Was this translation helpful? Give feedback.
All reactions