Skip to content

Add configurable source-key swipe actions#105

Closed
AsafMah wants to merge 1 commit into
devfrom
issue37-source-key-swipes
Closed

Add configurable source-key swipe actions#105
AsafMah wants to merge 1 commit into
devfrom
issue37-source-key-swipes

Conversation

@AsafMah

@AsafMah AsafMah commented Jun 13, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add a SourceKeySwipeActions binding model for ACTION/Enter, period, and comma source keys.
  • Dispatch configured swipes through existing toolbar/key-code actions instead of adding new action paths.
  • Add an Advanced setting for the MVP binding string, e.g. ACTION:LEFT=JOIN_NEXT;PERIOD:UP=UNDO_WORD.
  • Add focused parser/canonicalization tests and changelog entry.

Notes

  • This deliberately does not add Enter/period/comma to KeyCode.isModifier().
  • Shift/Symbol/Numpad sliding remains hard-coded in KeyboardState.
  • Space/delete swipe paths remain excluded from the source-key swipe binding path.

Verification

  • ./gradlew.bat :app:testOfflineDebugUnitTest --tests "helium314.keyboard.latin.utils.SourceKeySwipeActionsTest" --tests "helium314.keyboard.settings.SettingsContainerTest" --no-daemon --console=plain
  • ./gradlew.bat :app:assembleStandardDebug --no-daemon --console=plain

Closes #37

@AsafMah

AsafMah commented Jun 13, 2026

Copy link
Copy Markdown
Owner Author

Closing this because it implemented the wrong abstraction: coarse (source key + direction) shortcuts. #37 is about Shift/Symbol/Numpad-style press-slide-release selection, where the target under the finger supplies the action. The issue body has been corrected to reflect that.

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

Successfully merging this pull request may close these issues.

1 participant