diff options
author | Ryan Hendrickson <ryan.hendrickson@alum.mit.edu> | 2022-01-27 18:21:27 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2022-01-28 00:14:56 +0000 |
commit | 9098ae5a16d558a50345ecb8f74dcf8d79dd1d77 (patch) | |
tree | 73d9ae1d494e3d18e8b91d4d2e56fd1391a3a569 /filters/f_lavfi.c | |
parent | 073fbd98eeec86e62b8fada4fe9d42444981edfa (diff) | |
download | mpv-9098ae5a16d558a50345ecb8f74dcf8d79dd1d77.tar.bz2 mpv-9098ae5a16d558a50345ecb8f74dcf8d79dd1d77.tar.xz |
wayland: support extra mouse buttons
Mouse button event codes above `BTN_EXTRA` (the ones currently defined
in `input-event-codes.h` are `BTN_FORWARD`, `BTN_BACK`, and `BTN_TASK`)
are mapped to `MP_MBTN9` and up. (Reminder that due to historical
reasons, the names `BTN_FORWARD` and `BTN_BACK` are completely
misleading; the real forward and back buttons are `BTN_SIDE` and
`BTN_EXTRA` and are already mapped correctly by mpv.)
This functionality is analogous to what the X11 backend supports in
`video/out/x11_common.c` and what the Cocoa backend supports in
`video/out/cocoa/events_view.m`.
Diffstat (limited to 'filters/f_lavfi.c')
0 files changed, 0 insertions, 0 deletions