Skip to content

Commit

Permalink
#18 Use ZH as Squirrel Method abbreviation
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Seredkin committed Nov 4, 2024
1 parent 9a24625 commit 25dfcb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/kotlin/com/github/siropkin/kursor/KeyboardLayout.kt
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ private val windowsKeyboardVariantMap = mapOf(
private val macKeyboardVariantMap = mapOf(
"UserDefined_19458" to "RU", // Russian
"UserDefined_com.sogou.inputmethod.pinyin" to "ZH", // Sogou Pinyin: https://pinyin.sogou.com/mac
"UserDefined_im.rime.inputmethod.Squirrel.Hans" to "SS", // Squirrel - Simplified: https://rime.im
"UserDefined_im.rime.inputmethod.Squirrel.Hant" to "ST" // Squirrel - Traditional: https://rime.im
"UserDefined_im.rime.inputmethod.Squirrel.Hans" to "ZH", // Squirrel - Simplified: https://rime.im
"UserDefined_im.rime.inputmethod.Squirrel.Hant" to "ZH" // Squirrel - Traditional: https://rime.im
)

class KeyboardLayoutInfo(private val language: String, private val country: String, private val variant: String) {
Expand Down

0 comments on commit 25dfcb7

Please sign in to comment.