-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Open
Labels
Description
Problem description
I posted on the discussion but not received a feedback, so re-post here with some further details.
I use a Samsung s7+ tablet (android 12, kernel: 4.19.113, Termux via F-droid: 0.118.0), and a physical keyboard (Apple magic keyboard2) connected via bluetooth. The keyboard works with other apps on the Fn key combinations.
in Termux, all the Fn combs are not work: when I press Fn+ Key, it flashes very fast with the menu popup window as I screenshot in the other post, but not give expected keys. Specifically I mean: Fn+Left, Fn+Right, Fn+Backescape for Home, End, and Delete.
What I tried:
- monitor the key event, such as
Fn+Leftto see the keycodes:
KeyDown : action=0 code=119 repeat=0 meta=2097160 scanCode=464 flags=8 label='0' chars='null' number='0'
KeyUp : action=1 code=122 repeat=0 meta=2097160 scanCode=102 flags=8 label='0' chars='null' number='0'
KeyUp : action=1 code=119 repeat=0 meta=2097152 scanCode=464 flags=8 label='0' chars='null' number='0'
- tried to add customized key in the
~/.termux/termux.properties: such asHOME=FN+LEFT, not work - try to modify
/system/usr/keychars/Generic.kcm, according another post but not allowed since I am not a root user.
any suggestion please?
Steps to reproduce the behavior.
as described above
What is the expected behavior?
No response
System information
- Termux application version: 0.118.0 (Termux via F-droid)
- Android OS version:12 , kernel: 4.19.113
- Device model:SM-T970