Open Piciok opened 4 years ago
Yeah, that should be possible.
https://github.com/google/talkback Talkback source code.
I don't think it is possible to send key events so Talkback can detect them. I'll see if there is an API or some way to interact with Talkback.
@Piciok I will add an action for each of the gestures Talkback can detect and I will test they all work. I think I can get this done pretty quickly. I will also create a way to dispatch a custom gesture but that will take more work so I will do it further down the line.
Were you able to find an API or a workaround for TalkBack keyboard shortcuts? Before finding this issue I (unsuccessfully) tried pairing Key Mapper's key event action with both types of TalkBack keyboard shortcuts ("default keymap" which requires a modifier key such as ALT or Search and "classic keymap" which doesn't require a modifier key, but has less than half of the actions vailable with the default keymap
I haven't found a way yet. Is there someone you know, who is blind, that would benefit from having these accessibility features in Key Mapper? If so I can increase the priority of this feature.
Is there someone you know, who is blind, that would benefit from having these accessibility features in Key Mapper?
I don't know such a person. I've been playing with TalkBack recently and was hoping to pair it with KeyMapper, with omly a vague goal in mind. I just wasn't sure if I was doing something wrong with the Key event action. Thanks for the reply
Reproducing talkback gestures would enable to create personalized chains of actions. For example create a set of actions:
The app looks really promising and has a great potential for what I would like to achieve and this could potentially open a world of possibilities if one thing was implemented.
I suggested this in the XDA thread but would like to propose it here also for the record. Blind people handle touch-based Android devices using a dedicated set of gestures offered by the built-in Talkback screenreader. Those gestures include:
Would it be possible to integrate these accessibility gestures as found in the Talkback source code as possible actions to be assigned to keys in Keymapper? This way it would be easier for blind people to handle all sorts of devices that rely on traditional keypad navigation (Android TV boxes, Hi-Fi systems, the few landline phones or flip phones with traditional keyboards).
One way of doing this I thought would be to assign Keymapper key events to perform keyboard shortcuts that are assigned in Talkback's settings by emulating a PC keyboard but this leaves out the possibility to use an alternative input method (see my second ticket) so I thought native support for these gestures could make it easier to achieve what is needed.
Thanks.