Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update TypeSplitESv1.1.kt #361

Merged
merged 2 commits into from
Aug 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ val TYPESPLIT_ES_V1 = KeyboardC(
color = ColorVariant.MUTED,
),
SwipeDirection.LEFT to KeyC(
display = null,
action = KeyAction.CommitText("é"),
display = KeyDisplay.TextDisplay("qu"),
action = KeyAction.CommitText("qu"),
color = ColorVariant.MUTED,
),
SwipeDirection.BOTTOM to KeyC(
display = KeyDisplay.TextDisplay("q"),
Expand Down Expand Up @@ -149,6 +150,18 @@ val TYPESPLIT_ES_V1 = KeyboardC(
size = FontSizeVariant.LARGE,
color = ColorVariant.PRIMARY,
),
swipeType = SwipeNWay.TWO_WAY_HORIZONTAL,
swipes = mapOf(
SwipeDirection.RIGHT to KeyC(
display = KeyDisplay.TextDisplay("#"),
action = KeyAction.CommitText("#"),
color = ColorVariant.MUTED,
),
SwipeDirection.LEFT to KeyC(
display = null,
action = KeyAction.CommitText("#"),
),
),
),
SPACEBAR_TYPESPLIT_MIDDLE_KEY_ITEM,
KeyItemC(
Expand Down Expand Up @@ -239,6 +252,10 @@ val TYPESPLIT_ES_V1 = KeyboardC(
display = KeyDisplay.TextDisplay("v"),
action = KeyAction.CommitText("v"),
),
SwipeDirection.TOP to KeyC(
display = KeyDisplay.TextDisplay("\""),
action = KeyAction.CommitText("\""),
),
),
),
SPACEBAR_TYPESPLIT_BOTTOM_KEY_ITEM,
Expand Down Expand Up @@ -326,8 +343,9 @@ val TYPESPLIT_ES_V1_SHIFTED = KeyboardC(
color = ColorVariant.MUTED,
),
SwipeDirection.LEFT to KeyC(
display = null,
action = KeyAction.CommitText("É"),
display = KeyDisplay.TextDisplay("Qu"),
action = KeyAction.CommitText("Qu"),
color = ColorVariant.MUTED,
),
SwipeDirection.BOTTOM to KeyC(
display = KeyDisplay.TextDisplay("Q"),
Expand Down Expand Up @@ -446,6 +464,18 @@ val TYPESPLIT_ES_V1_SHIFTED = KeyboardC(
size = FontSizeVariant.LARGE,
color = ColorVariant.PRIMARY,
),
swipeType = SwipeNWay.TWO_WAY_HORIZONTAL,
swipes = mapOf(
SwipeDirection.RIGHT to KeyC(
display = KeyDisplay.TextDisplay("#"),
action = KeyAction.CommitText("#"),
color = ColorVariant.MUTED,
),
SwipeDirection.LEFT to KeyC(
display = null,
action = KeyAction.CommitText("#"),
),
),
),
SPACEBAR_TYPESPLIT_MIDDLE_KEY_ITEM,
KeyItemC(
Expand Down Expand Up @@ -536,6 +566,10 @@ val TYPESPLIT_ES_V1_SHIFTED = KeyboardC(
display = KeyDisplay.TextDisplay("V"),
action = KeyAction.CommitText("V"),
),
SwipeDirection.TOP to KeyC(
display = KeyDisplay.TextDisplay("\""),
action = KeyAction.CommitText("\""),
),
),
),
SPACEBAR_TYPESPLIT_BOTTOM_KEY_ITEM,
Expand Down