input: implement wl_seat version 9
This commit is contained in:
parent
887e2b6cbc
commit
78b557b4a1
15 changed files with 91 additions and 20 deletions
|
|
@ -149,11 +149,13 @@ impl MetalBackend {
|
|||
InputEvent::Axis120 {
|
||||
dist: scroll as _,
|
||||
axis,
|
||||
inverted: dev.natural_scrolling.get(),
|
||||
}
|
||||
} else {
|
||||
InputEvent::AxisPx {
|
||||
dist: Fixed::from_f64(scroll),
|
||||
axis,
|
||||
inverted: dev.natural_scrolling.get(),
|
||||
}
|
||||
};
|
||||
dev.event(ie);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue