Termux-app: Physical keyboard: buttons CTRL, ESC, SHIFT are not working

Created on 9 Apr 2019  路  2Comments  路  Source: termux/termux-app

Hello termux,
Recently i used physical keyboard in my phone. I have faced a trouble that CTRL esc not working on termux.. Can you fix it!
It will great thing if you can
Thanks buddy

Most helpful comment

Yah I am also tried using physical keyboard with otg on termux, shift ctrl alt not working for me. Is there anybody who can help.

All 2 comments

Yah I am also tried using physical keyboard with otg on termux, shift ctrl alt not working for me. Is there anybody who can help.

If your devices are rooted, try an app called "KeyEvent Display ". This app logs all keys events that are passed through system.
Then connect your OTG keyboard, and press keys of interest on hardware keyboard.

The point of doing this is to see if the keyboard actually sends keys to the phone. Sometimes hardware keyboards will disable function keys and control keys etc when they detect Android Phones, (my Bluetooth keyboard does this.)

If the app logs any key events, you could look at /system/usr/keylaout/Generic.kl and /system/usr/keychars/Generic.kcm to see how your device processes different key inputs. You can go on to provide device specific keylaout and key character map files from there on.

If the app doesn't log any key events, too bad, the keyboard doesn't send key events for the said keys and you should try a different keyboard.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gerroon picture gerroon  路  5Comments

msh2050 picture msh2050  路  4Comments

baconicsynergy picture baconicsynergy  路  5Comments

bitnetwork picture bitnetwork  路  3Comments

joakim-noah picture joakim-noah  路  5Comments