Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

Update ARMessagEase.kt #226

Merged
merged 1 commit into from
Sep 29, 2024
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 @@ -23,13 +23,17 @@ val AR_MESSAGEASE_MAIN_LAYER = Layer(
KeyM(
actions = mapOf(
Direction.CENTER to Action.Text("ب"),
Direction.TOP to Action.Text("ُ"),
Direction.TOP_RIGHT to Action.Text("َ"),
Direction.BOTTOM to Action.Text("خ"),
Direction.BOTTOM_LEFT to Action.Text("ض"),
)
),
KeyM(
actions = mapOf(
Direction.CENTER to Action.Text("م"),
Direction.LEFT to Action.Text("؟"),
Direction.TOP_LEFT to Action.Text("ْ"),
Direction.BOTTOM_LEFT to Action.Text("إ")
)
),
Expand Down Expand Up @@ -69,6 +73,7 @@ val AR_MESSAGEASE_MAIN_LAYER = Layer(
KeyM(
actions = mapOf(
Direction.CENTER to Action.Text("و"),
Direction.TOP to Action.Text("ّ"),
Direction.TOP_RIGHT to Action.Text("ؤ")
)
),
Expand All @@ -77,6 +82,7 @@ val AR_MESSAGEASE_MAIN_LAYER = Layer(
Direction.CENTER to Action.Text("ن"),
Direction.TOP to Action.Text("ث"),
Direction.RIGHT to Action.Text("أ"),
Direction.LEFT to Action.Text("ء"),
Direction.BOTTOM_RIGHT to Action.Text("ئ"),
Direction.TOP_LEFT to Action.Text("ظ"),
Direction.TOP_RIGHT to Action.Text("غ"),
Expand All @@ -86,7 +92,8 @@ val AR_MESSAGEASE_MAIN_LAYER = Layer(
KeyM(
actions = mapOf(
Direction.CENTER to Action.Text("د"),
Direction.TOP_LEFT to Action.Text("ذ")
Direction.TOP to Action.Text("ً"),
Direction.LEFT to Action.Text("ذ")
)
),
),
Expand All @@ -97,6 +104,7 @@ val AR_MESSAGEASE_MAIN_LAYER = Layer(
val AR_MESSAGEASE = Layout(
mainLayer = AR_MESSAGEASE_MAIN_LAYER,
controlLayer = CONTROL_MESSAGEASE_LAYER,
digits = "٠١٢٣٤٥٦٧٨٩",
textDirection = TextDirection.RightToLeft
)

Expand All @@ -110,4 +118,4 @@ fun ArKeyboardPreview() {
@Preview
fun ArFullKeyboardPreview() {
KeyboardLayoutPreview(layout = AR_MESSAGEASE, showAllModifiers = true)
}
}