Skip to content

Commit 2a81503

Browse files
authored
Added slide gestures to Type-Split layouts (dessalines#521)
1 parent 4f9dc5d commit 2a81503

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/src/main/java/com/dessalines/thumbkey/keyboards/CommonKeys.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ val SPACEBAR_TYPESPLIT_TOP_KEY_ITEM =
282282
action = KeyAction.CommitText(" "),
283283
),
284284
swipeType = SwipeNWay.FOUR_WAY_CROSS,
285+
slideType = SlideType.MOVE_CURSOR,
285286
swipes = mapOf(
286287
SwipeDirection.LEFT to KeyC(
287288
action = KeyAction.SendEvent(
@@ -471,6 +472,7 @@ val BACKSPACE_TYPESPLIT_KEY_ITEM =
471472
color = ColorVariant.SECONDARY,
472473
),
473474
swipeType = SwipeNWay.FOUR_WAY_CROSS,
475+
slideType = SlideType.DELETE,
474476
swipes = mapOf(
475477
SwipeDirection.LEFT to KeyC(
476478
action = KeyAction.DeleteWordBeforeCursor,

0 commit comments

Comments
 (0)