Skip to content
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

hardware keyboard - modifier keys not delivered with cursor keys and page up / down #1758

Open
bubnikv opened this issue Sep 15, 2020 · 3 comments

Comments

@bubnikv
Copy link

bubnikv commented Sep 15, 2020

Problem description

When using the Midnight Commander, the Shift-Cursor Up/Down combination is used to select items and the Ctrl-Page Up/Down are used to navigate directories. In Termux App, modifiers are not delivered for these keys.

Steps to reproduce

Open mc, hold Shift and press the "arrow down" cursor key. Expected behavior: Files or directories are marked as selected and the cursor in mc moves down. Current behavior: Cursor does not move at all.

@Grimler91
Copy link
Member

In my experience this is keyboard dependent, and android version/ROM dependent

@bubnikv
Copy link
Author

bubnikv commented Sep 15, 2020

I forgot to note, that if I use a remote desktop client and I connect to a Windows box with Midnight commander started in there, the shift-up/down keys are correctly registered. I have also written a simple Android app to write out keyboard events captured in activity.dispatchKeyEvent() and I am seeing the modifiers being set correctly for these keys.

@bubnikv
Copy link
Author

bubnikv commented Sep 20, 2020

Interestingly enough, when the same midnight commander is executed under tmux, the shift-up/down commands are processed correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants