Open jha11y opened 4 years ago
With #1598, you could forward Ctrl and Shift. Alt is used (by default) for scrcpy shortcuts.
Forwarding Alt would cause unexpected behaviors anyway: https://github.com/Genymobile/scrcpy/pull/1465#issuecomment-638106393
Options for TalkBack keyboard shortcut modifier key is ALT, Search (CMD/Windows Key), or ALT+ SHIFT. So options are limited. Looks like this may not be an option. I'll try the version you mentioned in the comment, but I thought I had tried that one already.
Hello,
I am a blind Android user and would also really love to get TalkBack controls working. Even when I switch TalkBack's key map to classic and reassign keys to something like control plus something, it doesn't work. A requirement for the TalkBack shortcuts is that it has to contain a control or alt key if using the classic key map, or to use control or the search key (not sure what that would be on Windows) for the standard key map.
I'm not sure what a solution might be, but this is currently the only thing that keeps me from using this great program!
I didn't know TalkBack, so I took a look. Indeed, it seems to require the Alt key.
So as a quick test, I forwarded the Alt key.
In "classic key map", I can edit the shortcut, it correctly recognizes the Alt key to customize the shortcut.
However, pressing the shortcut does not work (it is not interpreted by TalkBack, it does not execute the action).
Even when I switch TalkBack's key map to classic and reassign keys to something like control plus something, it doesn't work.
So it seems that the Alt key is not the only issue. I guess it works at a lower level, so injecting keys via the InputManager
does not trigger TalkBack shortcuts.
Is your feature request related to a problem? Please describe. I am testing built in Screen reader on the device (TalkBack) which has specific keyboard shortcuts (e.g., Alt+ arrow right for next element). Pressing this combination does not work for Native apps and in Chrome.
Describe the solution you'd like Allow the keyboard keypresses [Alt, Alt+letter, etc.] (I'm running windows 10 and usb keyboard) to be appropriately sent to the Android device so the work with TalkBack
Describe alternatives you've considered I can use a Bluetooth keyboard for testing as these commands work with Bluetooth keyboards, but this would be helpful for instructing other who may not have a Bluetooth keyboard