We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdaaec9 commit 51424b2Copy full SHA for 51424b2
app/src/main/java/com/osfans/trime/ime/keyboard/KeyAction.kt
@@ -151,7 +151,7 @@ class KeyAction(
151
// match like: { x: 1 } or { x: q } ...
152
code = Keycode.keyCodeOf(unbraced)
153
// match like: { x: "(){Left}" } (key sequence to simulate)
154
- if (unbraced.isNotEmpty() && code == KeyEvent.KEYCODE_UNKNOWN) {
+ if (unbraced.isNotEmpty() && !Keycode.isStdKey(code)) {
155
text = raw
156
label = raw.replace(BRACED_STR, "")
157
} else {
0 commit comments