Skip to content

Commit

Permalink
MessagEase fixes (#709)
Browse files Browse the repository at this point in the history
* fix MessagEase numeric keyboard and MessagEase spanish keyboard

* formatting

* fix MessagEase EN layout

* separate numeric layers for EN and ES messagEase

* split numeric EN/ES ME layouts in their own files, and fix some symbol names
  • Loading branch information
asdkant committed Feb 10, 2024
1 parent 25567d1 commit fb54a4a
Show file tree
Hide file tree
Showing 6 changed files with 446 additions and 135 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import com.dessalines.thumbkey.utils.SwipeNWay
import com.dessalines.thumbkey.utils.autoCapitalizeI
import com.dessalines.thumbkey.utils.autoCapitalizeIApostrophe

val KB_EN_MESSAGEEASE_MAIN =
val KB_EN_MESSAGEASE_MAIN =
KeyboardC(
listOf(
listOf(
Expand Down Expand Up @@ -224,8 +224,8 @@ val KB_EN_MESSAGEEASE_MAIN =
),
SwipeDirection.BOTTOM_RIGHT to
KeyC(
display = KeyDisplay.TextDisplay("-"),
action = KeyAction.CommitText("-"),
display = KeyDisplay.TextDisplay(":"),
action = KeyAction.CommitText(":"),
color = ColorVariant.MUTED,
),
SwipeDirection.BOTTOM to
Expand Down Expand Up @@ -269,7 +269,7 @@ val KB_EN_MESSAGEEASE_MAIN =
),
)

val KB_EN_MESSAGEEASE_SHIFTED =
val KB_EN_MESSAGEASE_SHIFTED =
KeyboardC(
listOf(
listOf(
Expand Down Expand Up @@ -480,8 +480,8 @@ val KB_EN_MESSAGEEASE_SHIFTED =
),
SwipeDirection.BOTTOM_RIGHT to
KeyC(
display = KeyDisplay.TextDisplay("-"),
action = KeyAction.CommitText("-"),
display = KeyDisplay.TextDisplay(":"),
action = KeyAction.CommitText(":"),
color = ColorVariant.MUTED,
),
SwipeDirection.BOTTOM to
Expand Down Expand Up @@ -525,14 +525,14 @@ val KB_EN_MESSAGEEASE_SHIFTED =
),
)

val KB_EN_MESSAGEEASE: KeyboardDefinition =
val KB_EN_MESSAGEASE: KeyboardDefinition =
KeyboardDefinition(
title = "english messageease",
title = "English MessagEase",
modes =
KeyboardDefinitionModes(
main = KB_EN_MESSAGEEASE_MAIN,
shifted = KB_EN_MESSAGEEASE_SHIFTED,
numeric = NUMERIC_KEYBOARD,
main = KB_EN_MESSAGEASE_MAIN,
shifted = KB_EN_MESSAGEASE_SHIFTED,
numeric = KB_EN_MESSAGEASE_NUMERIC,
),
settings =
KeyboardDefinitionSettings(
Expand Down
Loading

0 comments on commit fb54a4a

Please sign in to comment.