This commit is contained in:
zb
2023-08-27 09:27:18 +02:00
parent 877daf15eb
commit bf94132c1c
5 changed files with 33 additions and 3 deletions

View File

@@ -27,6 +27,7 @@ class KeyCommandResolver (
fun getBasic(): KeyCommandResolver {
return KeyCommandResolver(
onShort = HashMap(mapOf(
Key.BACK to Command.BACK,
Key.N0 to Command.SPACE,
Key.N1 to Command.CHARACTER,
@@ -50,6 +51,8 @@ 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,
@@ -66,6 +69,7 @@ class KeyCommandResolver (
)),
afterShort = HashMap(mapOf(
Key.BACK to Command.BACK,
Key.POUND to Command.SHIFT_MODE,
)),