mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-18 06:47:31 -04:00
Merge branch 'unaccel-gestures' into 'master'
pointer: add unaccelerated deltas to touchpad gesture events See merge request wlroots/wlroots!3410
This commit is contained in:
commit
d925decb2b
2 changed files with 6 additions and 0 deletions
|
|
@ -96,6 +96,7 @@ struct wlr_pointer_swipe_update_event {
|
|||
// Relative coordinates of the logical center of the gesture
|
||||
// compared to the previous event.
|
||||
double dx, dy;
|
||||
double unaccel_dx, unaccel_dy;
|
||||
};
|
||||
|
||||
struct wlr_pointer_swipe_end_event {
|
||||
|
|
@ -117,6 +118,7 @@ struct wlr_pointer_pinch_update_event {
|
|||
// 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