Skip to content

Wayland backend: keyboard + mouse input - #136

Open
LordKobra wants to merge 19 commits into
Try:masterfrom
LordKobra:wayland-input
Open

LordKobra wants to merge 19 commits into
Try:masterfrom
LordKobra:wayland-input

Conversation

@LordKobra

Copy link
Copy Markdown
Contributor

Second part of the Wayland backend (split from #121) after #129

Included:

  • Keyboard: keymap via xkbcommon, key events with text, key repeat
  • Mouse: move, buttons, wheel
  • Cursor shapes ( cursor-shape-v1 )
  • Mouse-look: pointer lock + relative motion while the cursor is hidden (pointer-constraints , relative-pointer)
  • Focus: focus in/out, held keys and buttons released on focus loss, click that focuses the window filtered
  • All input goes through app event queue from Wayland basics: window + event loop #129

New required protocols: wl_seat (v8), wp_cursor_shape_manager_v1, zwp_pointer_constraints_v1, zwp_relative_pointer_manager_v1 (all v1).

Not implemented yet: touchpad scrolling, dead keys.

@LordKobra LordKobra changed the title Wayland backend: keyboard + mouse Wayland backend: keyboard + mouse input Oct 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant