termux / termux-app

Termux - a terminal emulator application for Android OS extendible by variety of packages.
https://f-droid.org/en/packages/com.termux
Other
36.86k stars 3.87k forks source link

[Feature]: Hack key bindings #4218

Open PhilippKaesgen opened 1 month ago

PhilippKaesgen commented 1 month ago

Feature description

A possibility to remap capslock to esc or ctrl would be highly appreciated. I prefer to use an external bluetooth keyboard while tinkering in termux and with this functionality I could match the key bindings with the bindings on my other systems.

Additional information

The functionality would ideally be equivalent to

for instance.

twaik commented 1 month ago

It looks like it will take some time to be implemented, but you can use this. https://github.com/ris58h/exkeymo-web

bojiang commented 1 month ago

@twaik how it works?

twaik commented 1 month ago

AFAIK it generates a code for application which provides additional keyboard layouts (Key Character Map files).