mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
7ced0d29ab
Android doesn't distinguish between the arrow keys on a keyboard and the directional keys on a remote control, so there's no way to move the caret in an Editor with arrow keys. This change updates the Android port to map Android's DPAD_* key codes to the arrow key names, fixing caret movement. The change also updates Editor to only request arrow keys that actually move the caret, to keep directional focus movement working. Fixes: https://todo.sr.ht/~eliasnaur/gio/410 Signed-off-by: Mearaj <mearajbhagad@gmail.com>