mirror of
https://github.com/dessalines/thumb-key.git
synced 2024-09-11 17:05:34 +03:00
Farsi/Persian Spacebar Multi-taps (#983)
* Changed Farsi Spacebar Multi-taps * Update FAThumbKey.kt * Update FarsiNumeric.kt
This commit is contained in:
parent
900b2cfabb
commit
e6a53693c0
@ -616,4 +616,19 @@ val SPACEBAR_FRENCH_TYPESPLIT_BOTTOM_KEY_ITEM =
|
||||
),
|
||||
)
|
||||
|
||||
val SPACEBAR_FARSI_KEY_ITEM =
|
||||
SPACEBAR_KEY_ITEM.copy(
|
||||
nextTapActions =
|
||||
listOf(
|
||||
KeyAction.ReplaceLastText("، ", trimCount = 1),
|
||||
KeyAction.ReplaceLastText(". "),
|
||||
KeyAction.ReplaceLastText("؟ "),
|
||||
KeyAction.ReplaceLastText("! "),
|
||||
KeyAction.ReplaceLastText(": "),
|
||||
KeyAction.ReplaceLastText("؛ "),
|
||||
),
|
||||
)
|
||||
|
||||
val SPACEBAR_FARSI_SKINNY_KEY_ITEM = SPACEBAR_FARSI_KEY_ITEM.copy(widthMultiplier = 1)
|
||||
|
||||
val SPACEBAR_ZERO_KEY_ITEM = SPACEBAR_KEY_ITEM.copy(longPress = KeyAction.CommitText("0"))
|
||||
|
@ -303,7 +303,7 @@ val KB_FA_THUMBKEY_MAIN =
|
||||
BACKSPACE_KEY_ITEM,
|
||||
),
|
||||
listOf(
|
||||
SPACEBAR_KEY_ITEM,
|
||||
SPACEBAR_FARSI_KEY_ITEM,
|
||||
RETURN_KEY_ITEM,
|
||||
),
|
||||
),
|
||||
|
@ -355,7 +355,7 @@ val FARSI_NUMERIC_KEYBOARD =
|
||||
),
|
||||
widthMultiplier = 2,
|
||||
),
|
||||
SPACEBAR_SKINNY_KEY_ITEM,
|
||||
SPACEBAR_FARSI_SKINNY_KEY_ITEM,
|
||||
RETURN_KEY_ITEM,
|
||||
),
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user