git.lucas.co / cce-ui
GPU-accelerated UI toolkit (Vulkan)
git clone https://git.lucas.co/cce-ui.git

commit5748a6e7275121857491db07b220a14b814930f7
parent0d9761e2de
authorLucas Galante <[email protected]>
date2026-09-15 21:10
docs(input): note gesture chords in the window-manager domain

The compositor now accepts `focus_left "swipe3_left"`-style entries
beside key chords; show one in the format sketch and say the `(gesture)`
annotation is ignored like `(keybind)`.

Co-Authored-By: Claude Fable 5.1 <[email protected]>

 src/input.rs | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/input.rs b/src/input.rs
index ea8b063..6921ba1 100644
--- a/src/input.rs
+++ b/src/input.rs
@@ -17,6 +17,8 @@
 //     cce-window-manager {
 //         close_window "super+q"
 //         spawn "super+d" command="cce-cloud --apps"
+//         focus_left "swipe3_left"     // a touchpad gesture chord: swipe|pinch,
+//                                      // optional finger count, direction
 //     }
 //     cce-ui {
 //         open_search "ctrl+f"         // toolkit-wide widget defaults
@@ -36,9 +38,9 @@
 //         }
 //     }
 //
-// The chord is the first string argument (a `(keybind)` type annotation is
-// accepted and ignored); a `key="..."` property works too. Extra properties
-// (e.g. `command=` for spawn) ride along on the entry.
+// The chord is the first string argument (a `(keybind)` or `(gesture)` type
+// annotation is accepted and ignored); a `key="..."` property works too.
+// Extra properties (e.g. `command=` for spawn) ride along on the entry.
 //
 // Resolution order for an app is `<app>.<name>` → `cce-ui.<name>`; widgets
 // match the resolved chord string with `widget::match_key_shortcut`. The