Skip to content

Add pointer-gestures (touchpad swipe) and tablet support #40

Description

@loukamb

Problem
input.lua's new_input dispatch handles only KEYBOARD/POINTER; there is no pointer-gestures protocol and no swipe/pinch/hold listeners, and graphics-tablet devices are ignored entirely.

Why it matters
Touchpad swipe/pinch gestures (workspace switching, browser back) and drawing-tablet input are expected on modern laptops and creative setups.

Where
compositor/services/input.lua (new_input ~line 440, cursor listeners ~line 908); includes in shared/wayland/server.lua.

Approach
wlr_pointer_gestures_v1_create(display) and forward cursor swipe/pinch/hold begin/update/end; handle WLR_INPUT_DEVICE_TABLET via wlr_tablet_v2_create plus tablet tool/pad mapping and seat wiring.

Effort
L

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew capabilityprotocolWayland protocol support

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions