diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-08-05 16:34:09 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-08-07 10:27:44 +0000 |
| commit | c2cc964116f9fc6c6432c5c00b113c92bdfcdcd6 (patch) | |
| tree | 7d9c713d8247344f4f0880933573cc74b4dd275b /CHANGELOG.md | |
| parent | Revert "terminfo: add ich1=\E[@" (diff) | |
input: implement support for mouse wheel left/right
We now emit button 6/7 events (when the client application grabs the
mouse). This buttons map to mouse wheel horizontal scroll events. Or, left/right
tilting, if you like.
Wayland report these as ‘axis’ events (just like regular scroll wheel events),
and thus we need to translate those scroll events to button events.
libinput does not define any mouse buttons for wheel tilts, so we add our own
defitions. These are added last in the BTN_* range, just before the BTN_JOYSTICK
events.
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index b4451fe2..1e724a75 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,6 +41,7 @@ of box drawing characters rendered by foot itself (rather than using font glyphs) (https://codeberg.org/dnkl/foot/issues/474). * `XM`+`xm` to terminfo. +* Mouse buttons 6/7 (mouse wheel left/right). ### Changed |
