Skip to main content

default_binding

Function default_binding 

Source
pub fn default_binding(button: ButtonId) -> Action
Expand description

Sensible defaults for a fresh device so the panel isn’t empty on first run.

Thumbwheel / GestureButton defaults match what Logi Options+ ships for MX-line devices: thumb wheel click → App Exposé, gesture button → Mission Control. The thumb wheel isn’t captured yet; the gesture button is (per-direction, see default_gesture_binding). The bindings persist regardless so the user only configures once.

GestureButton’s entry here is the legacy single-binding placeholder; the per-direction sub-bindings live in default_gesture_binding and are what the UI now edits.