add squeekboard toggle button

This commit is contained in:
2026-08-02 12:16:23 +02:00
parent 18c00d40b4
commit 9eca88992e
8 changed files with 394 additions and 2 deletions
+21
View File
@@ -63,6 +63,27 @@ ShellRoot {
}
}
// Not a menu: this one drives squeekboard, so it is worth binding to a
// hardware key or a tablet-mode switch as well as clicking.
IpcHandler {
target: "osk"
function toggle(): void {
Osk.toggle();
}
// Named to match the menu targets above: `qs ipc call` swallows a
// function called `show` — it collides with the `ipc show` subcommand
// — and a lone `hide` next to `open` would read oddly anyway.
function open(): void {
Osk.show();
}
function close(): void {
Osk.hide();
}
}
IpcHandler {
target: "bluetooth"