Add support for accessibility navigation gestures (TalkBack)#2144
Open
keymapper-ai wants to merge 1 commit into
Open
Add support for accessibility navigation gestures (TalkBack)#2144keymapper-ai wants to merge 1 commit into
keymapper-ai wants to merge 1 commit into
Conversation
Adds a new "TalkBack gesture" action that dispatches TalkBack navigation gestures (swipes, multi-finger taps, and multi-directional swipes) via the accessibility service's dispatchGesture API. https://claude.ai/code/session_01K15jUcBgeWMmHcmWJ3DWgK
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #262
Summary
ActionId.TALKBACK_GESTURE) that lets users trigger TalkBack navigation gestures via a key mapping.dispatchGesture()API using computed screen-center coordinates.Files changed
TalkBackGestureType.ktTalkBackGestureStrings.ktActionId.ktTALKBACK_GESTUREentryActionData.ktActionData.TalkBackGesture(gesture)data classActionEntity.ktEXTRA_TALKBACK_GESTURE_TYPEextra constantActionDataEntityMapper.ktActionUtils.ktINTERFACE), title, icon (Icons.Outlined.Accessibility), editabilityActionUiHelper.ktActionErrorSnapshot.ktCreateActionDelegate.ktPerformActionsUseCase.ktIAccessibilityService.ktperformTalkBackGesture()method in interfaceBaseAccessibilityService.ktdispatchGesture()strings.xmlCHANGELOG.mdKnown limitations
com.google.android.marvin.talkback).GestureDescriptionto 10 strokes. Four-finger triple-tap would require 12 strokes and is not included in the gesture set for this reason. The implemented set stays within this limit.Generated by Claude Code