mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-17 06:46:39 -04:00
pointer: add unaccelerated deltas to touchpad gesture events
These are not used by Wayland, but can be used by the compositor's built-in features.
This commit is contained in:
parent
823476e76e
commit
5b94d6f3b6
2 changed files with 6 additions and 0 deletions
|
|
@ -96,6 +96,7 @@ struct wlr_event_pointer_swipe_update {
|
|||
// Relative coordinates of the logical center of the gesture
|
||||
// compared to the previous event.
|
||||
double dx, dy;
|
||||
double unaccel_dx, unaccel_dy;
|
||||
};
|
||||
|
||||
struct wlr_event_pointer_swipe_end {
|
||||
|
|
@ -117,6 +118,7 @@ struct wlr_event_pointer_pinch_update {
|
|||
// Relative coordinates of the logical center of the gesture
|
||||
// compared to the previous event.
|
||||
double dx, dy;
|
||||
double unaccel_dx, unaccel_dy;
|
||||
// Absolute scale compared to the begin event
|
||||
double scale;
|
||||
// Relative angle in degrees clockwise compared to the previous event.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue