Skip to content

Commit

Permalink
Fixes and improvements in br-fr layout (#875)
Browse files Browse the repository at this point in the history
* Add Z, mute ꝃ and move Ꝃ and ꝃ in br-fr layout

* Add - and ! in br-fr layout
  • Loading branch information
zeecho authored May 3, 2024
1 parent 119a496 commit 4b8a591
Showing 1 changed file with 41 additions and 11 deletions.
52 changes: 41 additions & 11 deletions app/src/main/java/com/dessalines/thumbkey/keyboards/BRFRThumbKey.kt
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ val KB_BR_FR_THUMBKEY_MAIN =
display = KeyDisplay.TextDisplay("q"),
action = KeyAction.CommitText("q"),
),
SwipeDirection.BOTTOM to
KeyC(
display = KeyDisplay.TextDisplay("-"),
action = KeyAction.CommitText("-"),
color = ColorVariant.MUTED,
),
SwipeDirection.LEFT to
KeyC(
display = KeyDisplay.TextDisplay("\""),
Expand Down Expand Up @@ -111,6 +117,12 @@ val KB_BR_FR_THUMBKEY_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 @@ -128,11 +140,6 @@ val KB_BR_FR_THUMBKEY_MAIN =
display = KeyDisplay.TextDisplay("k"),
action = KeyAction.CommitText("k"),
),
SwipeDirection.BOTTOM to
KeyC(
display = KeyDisplay.TextDisplay(""),
action = KeyAction.CommitText(""),
),
SwipeDirection.BOTTOM_LEFT to
KeyC(
display = KeyDisplay.TextDisplay("y"),
Expand Down Expand Up @@ -277,6 +284,12 @@ val KB_BR_FR_THUMBKEY_MAIN =
display = KeyDisplay.TextDisplay("m"),
action = KeyAction.CommitText("m"),
),
SwipeDirection.BOTTOM_RIGHT to
KeyC(
display = KeyDisplay.TextDisplay("!"),
action = KeyAction.CommitText("!"),
color = ColorVariant.MUTED,
),
),
),
KeyItemC(
Expand Down Expand Up @@ -440,6 +453,12 @@ val KB_BR_FR_THUMBKEY_SHIFTED =
display = KeyDisplay.TextDisplay("Q"),
action = KeyAction.CommitText("Q"),
),
SwipeDirection.BOTTOM to
KeyC(
display = KeyDisplay.TextDisplay("-"),
action = KeyAction.CommitText("-"),
color = ColorVariant.MUTED,
),
SwipeDirection.LEFT to
KeyC(
display = KeyDisplay.TextDisplay("\""),
Expand Down Expand Up @@ -493,6 +512,12 @@ val KB_BR_FR_THUMBKEY_SHIFTED =
),
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 @@ -510,12 +535,6 @@ val KB_BR_FR_THUMBKEY_SHIFTED =
display = KeyDisplay.TextDisplay("K"),
action = KeyAction.CommitText("K"),
),
SwipeDirection.BOTTOM to
KeyC(
display = KeyDisplay.TextDisplay(""),
action = KeyAction.CommitText(""),
color = ColorVariant.MUTED,
),
SwipeDirection.BOTTOM_LEFT to
KeyC(
display = KeyDisplay.TextDisplay("Y"),
Expand Down Expand Up @@ -666,6 +685,12 @@ val KB_BR_FR_THUMBKEY_SHIFTED =
display = KeyDisplay.TextDisplay("M"),
action = KeyAction.CommitText("M"),
),
SwipeDirection.BOTTOM_RIGHT to
KeyC(
display = KeyDisplay.TextDisplay("!"),
action = KeyAction.CommitText("!"),
color = ColorVariant.MUTED,
),
),
),
KeyItemC(
Expand Down Expand Up @@ -717,6 +742,11 @@ val KB_BR_FR_THUMBKEY_SHIFTED =
action = KeyAction.CommitText(","),
color = ColorVariant.MUTED,
),
SwipeDirection.LEFT to
KeyC(
display = KeyDisplay.TextDisplay("Z"),
action = KeyAction.CommitText("Z"),
),
),
),
KeyItemC(
Expand Down

0 comments on commit 4b8a591

Please sign in to comment.