Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x11, wl: Fix mouse button indices #704

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Apr 2, 2024

  1. x11: Fix mouse button indices

    In the XCB events the mouse buttons start at index 1, while for WPE we
    need to use 0-based indexing: buttons [left, middle, right] are [1, 2,
    3] in X11, [0, 1, 2] in WPE.
    aperezdc committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    95cf333 View commit details
    Browse the repository at this point in the history
  2. wl: Fix mouse button indices

    Handle the first five pointer buttons by checking their exact
    button codes. Their values are used directly to avoid the need
    for <linux/input-event-codes.h> to be present at build time.
    aperezdc committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    1ff8267 View commit details
    Browse the repository at this point in the history