wayland: implement wl_touch
Co-authored-by: Julian Orth <ju.orth@gmail.com>
This commit is contained in:
parent
905e2dd7ba
commit
681c1ad033
35 changed files with 1071 additions and 52 deletions
|
|
@ -897,6 +897,10 @@ impl Client {
|
|||
self.send(&ClientMessage::SetTransformMatrix { device, matrix })
|
||||
}
|
||||
|
||||
pub fn set_calibration_matrix(&self, device: InputDevice, matrix: [[f32; 3]; 2]) {
|
||||
self.send(&ClientMessage::SetCalibrationMatrix { device, matrix })
|
||||
}
|
||||
|
||||
pub fn set_px_per_wheel_scroll(&self, device: InputDevice, px: f64) {
|
||||
self.send(&ClientMessage::SetPxPerWheelScroll { device, px })
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue