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

Hebrew symbols messageease fixup #753

Merged
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 @@ -10,7 +10,6 @@ import com.dessalines.thumbkey.utils.KeyboardC
import com.dessalines.thumbkey.utils.KeyboardDefinition
import com.dessalines.thumbkey.utils.KeyboardDefinitionModes
import com.dessalines.thumbkey.utils.SwipeDirection
import com.dessalines.thumbkey.utils.SwipeNWay

val KB_HE_MESSAGEASE_SYMBOLS_MAIN =
KeyboardC(
Expand All @@ -24,14 +23,25 @@ val KB_HE_MESSAGEASE_SYMBOLS_MAIN =
size = FontSizeVariant.LARGE,
color = ColorVariant.PRIMARY,
),
swipeType = SwipeNWay.FOUR_WAY_DIAGONAL,
swipes =
mapOf(
SwipeDirection.BOTTOM_RIGHT to
KeyC(
display = KeyDisplay.TextDisplay("ן"),
action = KeyAction.CommitText("ן"),
),
SwipeDirection.RIGHT to
KeyC(
display = KeyDisplay.TextDisplay("-"),
action = KeyAction.CommitText("-"),
color = ColorVariant.MUTED,
),
SwipeDirection.BOTTOM_LEFT to
KeyC(
display = KeyDisplay.TextDisplay("$"),
action = KeyAction.CommitText("$"),
color = ColorVariant.MUTED,
),
),
),
KeyItemC(
Expand All @@ -42,14 +52,55 @@ val KB_HE_MESSAGEASE_SYMBOLS_MAIN =
size = FontSizeVariant.LARGE,
color = ColorVariant.PRIMARY,
),
swipeType = SwipeNWay.TWO_WAY_VERTICAL,
swipes =
mapOf(
SwipeDirection.BOTTOM to
KeyC(
display = KeyDisplay.TextDisplay("ג"),
action = KeyAction.CommitText("ג"),
),
SwipeDirection.TOP_LEFT to
KeyC(
display = KeyDisplay.TextDisplay("`"),
action = KeyAction.CommitText("`"),
color = ColorVariant.MUTED,
),
SwipeDirection.TOP to
KeyC(
display = KeyDisplay.TextDisplay("^"),
action = KeyAction.CommitText("^"),
color = ColorVariant.MUTED,
),
SwipeDirection.TOP_RIGHT to
KeyC(
display = KeyDisplay.TextDisplay("´"),
action = KeyAction.CommitText("´"),
color = ColorVariant.MUTED,
),
SwipeDirection.RIGHT to
KeyC(
display = KeyDisplay.TextDisplay("!"),
action = KeyAction.CommitText("!"),
color = ColorVariant.MUTED,
),
SwipeDirection.BOTTOM_RIGHT to
KeyC(
display = KeyDisplay.TextDisplay("\\"),
action = KeyAction.CommitText("\\"),
color = ColorVariant.MUTED,
),
SwipeDirection.BOTTOM_LEFT to
KeyC(
display = KeyDisplay.TextDisplay("/"),
action = KeyAction.CommitText("/"),
color = ColorVariant.MUTED,
),
SwipeDirection.LEFT to
KeyC(
display = KeyDisplay.TextDisplay("+"),
action = KeyAction.CommitText("+"),
color = ColorVariant.MUTED,
),
),
),
KeyItemC(
Expand All @@ -72,6 +123,12 @@ val KB_HE_MESSAGEASE_SYMBOLS_MAIN =
display = KeyDisplay.TextDisplay("ץ"),
action = KeyAction.CommitText("ץ"),
),
SwipeDirection.BOTTOM to
KeyC(
display = KeyDisplay.TextDisplay("="),
action = KeyAction.CommitText("="),
color = ColorVariant.MUTED,
),
),
),
EMOJI_KEY_ITEM,
Expand All @@ -95,7 +152,7 @@ val KB_HE_MESSAGEASE_SYMBOLS_MAIN =
SwipeDirection.TOP_LEFT to
KeyC(
display = KeyDisplay.TextDisplay("{"),
action = KeyAction.CommitText("{"),
action = KeyAction.CommitText("}"),
color = ColorVariant.MUTED,
),
SwipeDirection.TOP_RIGHT to
Expand All @@ -112,13 +169,13 @@ val KB_HE_MESSAGEASE_SYMBOLS_MAIN =
SwipeDirection.BOTTOM_LEFT to
KeyC(
display = KeyDisplay.TextDisplay("["),
action = KeyAction.CommitText("["),
action = KeyAction.CommitText("]"),
color = ColorVariant.MUTED,
),
SwipeDirection.LEFT to
KeyC(
display = KeyDisplay.TextDisplay("("),
action = KeyAction.CommitText("("),
action = KeyAction.CommitText(")"),
color = ColorVariant.MUTED,
),
),
Expand Down Expand Up @@ -183,7 +240,6 @@ val KB_HE_MESSAGEASE_SYMBOLS_MAIN =
size = FontSizeVariant.LARGE,
color = ColorVariant.PRIMARY,
),
swipeType = SwipeNWay.FOUR_WAY_DIAGONAL,
swipes =
mapOf(
SwipeDirection.TOP_LEFT to
Expand All @@ -194,19 +250,19 @@ val KB_HE_MESSAGEASE_SYMBOLS_MAIN =
SwipeDirection.TOP_RIGHT to
KeyC(
display = KeyDisplay.TextDisplay("}"),
action = KeyAction.CommitText("}"),
action = KeyAction.CommitText("{"),
color = ColorVariant.MUTED,
),
SwipeDirection.RIGHT to
KeyC(
display = KeyDisplay.TextDisplay(")"),
action = KeyAction.CommitText(")"),
action = KeyAction.CommitText("("),
color = ColorVariant.MUTED,
),
SwipeDirection.BOTTOM_RIGHT to
KeyC(
display = KeyDisplay.TextDisplay("]"),
action = KeyAction.CommitText("]"),
action = KeyAction.CommitText("["),
color = ColorVariant.MUTED,
),
SwipeDirection.BOTTOM_LEFT to
Expand All @@ -228,7 +284,6 @@ val KB_HE_MESSAGEASE_SYMBOLS_MAIN =
size = FontSizeVariant.LARGE,
color = ColorVariant.PRIMARY,
),
swipeType = SwipeNWay.FOUR_WAY_DIAGONAL,
swipes =
mapOf(
SwipeDirection.TOP_RIGHT to
Expand All @@ -250,8 +305,8 @@ val KB_HE_MESSAGEASE_SYMBOLS_MAIN =
),
SwipeDirection.BOTTOM_RIGHT to
KeyC(
display = KeyDisplay.TextDisplay(":"),
action = KeyAction.CommitText(":"),
display = KeyDisplay.TextDisplay(""),
action = KeyAction.CommitText("\t"),
color = ColorVariant.MUTED,
),
SwipeDirection.LEFT to
Expand All @@ -272,6 +327,12 @@ val KB_HE_MESSAGEASE_SYMBOLS_MAIN =
),
swipes =
mapOf(
SwipeDirection.TOP_LEFT to
KeyC(
display = KeyDisplay.TextDisplay("\""),
action = KeyAction.CommitText("\""),
color = ColorVariant.MUTED,
),
SwipeDirection.TOP to
KeyC(
display = KeyDisplay.TextDisplay("ס"),
Expand All @@ -283,16 +344,10 @@ val KB_HE_MESSAGEASE_SYMBOLS_MAIN =
action = KeyAction.CommitText("'"),
color = ColorVariant.MUTED,
),
SwipeDirection.TOP_LEFT to
KeyC(
display = KeyDisplay.TextDisplay("\""),
action = KeyAction.CommitText("\""),
color = ColorVariant.MUTED,
),
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 @@ -341,7 +396,6 @@ val KB_HE_MESSAGEASE_SYMBOLS_MAIN =
size = FontSizeVariant.LARGE,
color = ColorVariant.PRIMARY,
),
swipeType = SwipeNWay.FOUR_WAY_DIAGONAL,
swipes =
mapOf(
SwipeDirection.TOP_LEFT to
Expand Down