Forum Rule: Always post complete source code & details to reproduce any issue!
-
Teensy LC HID: Not all keys work on Android
So I am having some success with my project, but I am having trouble using the following keys:
ENTER
LEFT_ARROW
RIGHT_ARROW
I can type normal text and backspace, and shift works.
I am confused as to what codes I need to send.
I found different codes:
https://github.com/jrowberg/keyglove...hid_keyboard.h
https://gist.github.com/MightyPork/6...96ee55fdc73db2
https://www.arduino.cc/reference/en/...oardmodifiers/
https://source.android.com/devices/i...d-devices.html
Sometime P and I are printed when I use left and right.
What code do I need to send for left, right and enter?
-
So two things: the codes at https://github.com/PaulStoffregen/co...3/keylayouts.h work
And I had mistakenly limited myself to 8-bit codes. The keys codes are 16 bit, which is confusing because the 6 key slots are 8 bit!!?
What happens if you want to use a 16 bit code as one of the 6 keys?
-
So here's my (last?) problem.
How do I send Ctrl+Esc?
The example: https://www.pjrc.com/teensy/td_keyboard.html
Doesn't send esc, which is a two-byte code, so set_key can't be used.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules