abouttreesummaryrefslogcommitdiff
path: root/srcs/juloo.keyboard2/KeyValue.java
diff options
context:
space:
mode:
authorJules Aguillon2023-12-30 01:24:21 +0100
committerJules Aguillon2023-12-30 01:24:21 +0100
commit4a5a125aea4f1edf826dd4897292ba4dc0f1d1b9 (patch)
tree056f490624fd08b250407dd473702554675cb478 /srcs/juloo.keyboard2/KeyValue.java
parent51a41ec90af505b153cc7a016de3c1e8a18dc427 (diff)
downloadunexpected-keyboard-4a5a125aea4f1edf826dd4897292ba4dc0f1d1b9.tar.gz
unexpected-keyboard-4a5a125aea4f1edf826dd4897292ba4dc0f1d1b9.zip
Bring the voice IME chooser with a long press
Diffstat (limited to 'srcs/juloo.keyboard2/KeyValue.java')
-rw-r--r--srcs/juloo.keyboard2/KeyValue.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/srcs/juloo.keyboard2/KeyValue.java b/srcs/juloo.keyboard2/KeyValue.java
index 13b8cca..fdb1f25 100644
--- a/srcs/juloo.keyboard2/KeyValue.java
+++ b/srcs/juloo.keyboard2/KeyValue.java
@@ -20,6 +20,7 @@ final class KeyValue
SWITCH_GREEKMATH,
CAPS_LOCK,
SWITCH_VOICE_TYPING,
+ SWITCH_VOICE_TYPING_CHOOSER,
}
// Must be evaluated in the reverse order of their values.
@@ -369,6 +370,7 @@ final class KeyValue
case "action": return eventKey("Action", Event.ACTION, FLAG_SMALLER_FONT); // Will always be replaced
case "capslock": return eventKey(0xE012, Event.CAPS_LOCK, 0);
case "voice_typing": return eventKey(0xE015, Event.SWITCH_VOICE_TYPING, FLAG_SMALLER_FONT);
+ case "voice_typing_chooser": return eventKey(0xE015, Event.SWITCH_VOICE_TYPING_CHOOSER, FLAG_SMALLER_FONT);
/* Key events */
case "esc": return keyeventKey("Esc", KeyEvent.KEYCODE_ESCAPE, FLAG_SMALLER_FONT);