input: add flip_x and flip_y for touchpad (#9481)

This commit is contained in:
nyx 2025-03-03 15:56:01 -05:00 committed by GitHub
parent f1ef724a87
commit d7e7a29261
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 50 additions and 8 deletions

View file

@ -19,6 +19,7 @@ CVirtualPointerV1Resource::CVirtualPointerV1Resource(SP<CZwlrVirtualPointerV1> r
.timeMs = timeMs,
.delta = {wl_fixed_to_double(dx), wl_fixed_to_double(dy)},
.unaccel = {wl_fixed_to_double(dx), wl_fixed_to_double(dy)},
.device = nullptr,
});
});