Skip to content

Commit

Permalink
Add layout to enum
Browse files Browse the repository at this point in the history
  • Loading branch information
bluedrink9 committed Feb 12, 2024
1 parent e747e8c commit 25a3420
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ import com.dessalines.thumbkey.utils.autoCapitalizeI
import com.dessalines.thumbkey.utils.autoCapitalizeIApostrophe
import com.dessalines.thumbkey.utils.lastColKeysToFirst

val KB_EN_MESSAGEEASE_LEFT: KeyboardDefinition =
val KB_EN_MESSAGEASE_LEFT: KeyboardDefinition =
KeyboardDefinition(
title = "english messageease left-handed",
title = "english MessagEase left-handed",
modes =
KeyboardDefinitionModes(
main = lastColKeysToFirst(KB_EN_MESSAGEEASE_MAIN),
shifted = lastColKeysToFirst(KB_EN_MESSAGEEASE_SHIFTED),
numeric = lastColKeysToFirst(NUMERIC_KEYBOARD),
main = lastColKeysToFirst(KB_EN_MESSAGEASE_MAIN),
shifted = lastColKeysToFirst(KB_EN_MESSAGEASE_SHIFTED),
numeric = lastColKeysToFirst(KB_EN_MESSAGEASE_NUMERIC),
),
settings =
KeyboardDefinitionSettings(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ import com.dessalines.thumbkey.utils.autoCapitalizeI
import com.dessalines.thumbkey.utils.autoCapitalizeIApostrophe
import com.dessalines.thumbkey.utils.lastColKeysToFirst

val KB_EN_MESSAGEEASE_SYMBOLS_LEFT: KeyboardDefinition =
val KB_EN_MESSAGEASE_SYMBOLS_LEFT: KeyboardDefinition =
KeyboardDefinition(
title = "english symbols messageease left-handed",
title = "english symbols MessagEase left-handed",
modes =
KeyboardDefinitionModes(
main = lastColKeysToFirst(KB_EN_MESSAGEEASE_SYMBOLS_MAIN),
shifted = lastColKeysToFirst(KB_EN_MESSAGEEASE_SYMBOLS_SHIFTED),
numeric = lastColKeysToFirst(NUMERIC_KEYBOARD_MESSAGEASE),
main = lastColKeysToFirst(KB_EN_MESSAGEASE_SYMBOLS_MAIN),
shifted = lastColKeysToFirst(KB_EN_MESSAGEASE_SYMBOLS_SHIFTED),
numeric = lastColKeysToFirst(KB_EN_MESSAGEASE_NUMERIC),
),
settings =
KeyboardDefinitionSettings(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ import com.dessalines.thumbkey.keyboards.KB_EN_EE_THUMBKEY
import com.dessalines.thumbkey.keyboards.KB_EN_FR_MESSAGEASE_SYMBOLS
import com.dessalines.thumbkey.keyboards.KB_EN_IT_THUMBKEY
import com.dessalines.thumbkey.keyboards.KB_EN_MESSAGEASE
import com.dessalines.thumbkey.keyboards.KB_EN_MESSAGEASE_LEFT
import com.dessalines.thumbkey.keyboards.KB_EN_MESSAGEASE_SYMBOLS
import com.dessalines.thumbkey.keyboards.KB_EN_MESSAGEASE_SYMBOLS_LEFT
import com.dessalines.thumbkey.keyboards.KB_EN_MI_THUMBKEY
import com.dessalines.thumbkey.keyboards.KB_EN_MI_THUMBKEY_SYMBOLS
import com.dessalines.thumbkey.keyboards.KB_EN_NO_MESSAGEASE_SYMBOLS
Expand Down Expand Up @@ -200,4 +202,6 @@ enum class KeyboardLayout(val keyboardDefinition: KeyboardDefinition) {
HEMessageEaseSymbols(KB_HE_MESSAGEEASE_SYMBOLS),
ENNOMessagEaseSymbols(KB_EN_NO_MESSAGEASE_SYMBOLS),
SLMessagEaseSymbols(KB_SL_MESSAGEEASE_SYMBOLS),
ENMessagEaseLeft(KB_EN_MESSAGEASE_LEFT),
ENMessagEaseSymbolsLeft(KB_EN_MESSAGEASE_SYMBOLS_LEFT),
}

0 comments on commit 25a3420

Please sign in to comment.