Big steps

This commit is contained in:
zb
2023-08-27 16:20:58 +02:00
parent bf94132c1c
commit 372d684650
16 changed files with 387 additions and 52 deletions

View File

@@ -51,8 +51,6 @@ class KeyCommandResolver (
)),
onLong = HashMap(mapOf(
Key.BACK to Command.HOME,
Key.N0 to Command.NUMBER,
Key.N1 to Command.NUMBER,
Key.N2 to Command.NUMBER,
@@ -78,6 +76,7 @@ class KeyCommandResolver (
)),
onRepeat = HashMap(mapOf(
Key.BACK to Command.HOME,
Key.STAR to Command.DELETE,
))
)

View File

@@ -10,6 +10,9 @@ data class KeyEventResult(
val candidates: List<String>? = null,
val deleteBeforeCursor: Int = 0,
val deleteAfterCursor: Int = 0,
val goHome: Boolean = false,
val left: Boolean = false,
val right: Boolean = false
val right: Boolean = false,
val record: Boolean = false,
val transcribe: Boolean = false
)