-
Notifications
You must be signed in to change notification settings - Fork 308
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hid-gadget-test qwerty azerty #29
Comments
It's definitely because of AZERTY layout. You can use some commandline conversion of characters, like echo a | /data/local/tmp/busybox tr qwaz azqw | You will also need to copy busybox to /data/local/tmp
|
Is it possible that I compile HID-gadget-test only with the azerty layout? If Yes can you help to do that, (the compilation part, not the layout change) |
Yes, here they are:
|
Thanks a lot I can create my own hid-gadget now, but another 2 another questions now, {.opt = "a", .val = 0x04},
{.opt = "b", .val = 0x05},
{.opt = "c", .val = 0x06},
{.opt = "d", .val = 0x07},
{.opt = "e", .val = 0x08}, how do you choose the val ? Arbitary way? I can other key like '@'? |
.val is scancode returned by keyboard hardware. There is a list of USB keyboard scancodes here: |
Hello, I have a bug with hid-gadget-test utility, when I run : echo a | /data/local/tmp/hid-gadget-test /dev/hidg0 keyboard, it's print "q" and vice versa
I think to a qwerty azerty conversion... Can you help me with that?
The text was updated successfully, but these errors were encountered: