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
|
|
@ -114,6 +114,16 @@ request map_to_output {
|
|||
output: optstr,
|
||||
}
|
||||
|
||||
request set_calibration_matrix (since = 4) {
|
||||
id: u32,
|
||||
m00: pod(f32),
|
||||
m01: pod(f32),
|
||||
m02: pod(f32),
|
||||
m10: pod(f32),
|
||||
m11: pod(f32),
|
||||
m12: pod(f32),
|
||||
}
|
||||
|
||||
# events
|
||||
|
||||
event seat {
|
||||
|
|
@ -158,3 +168,12 @@ event input_device_output {
|
|||
id: u32,
|
||||
output: str,
|
||||
}
|
||||
|
||||
event calibration_matrix (since = 4) {
|
||||
m00: pod(f32),
|
||||
m01: pod(f32),
|
||||
m02: pod(f32),
|
||||
m10: pod(f32),
|
||||
m11: pod(f32),
|
||||
m12: pod(f32),
|
||||
}
|
||||
|
|
|
|||
|
|
@ -239,3 +239,31 @@ event tablet_pad_ring_frame {
|
|||
input_device: u32,
|
||||
ring: u32,
|
||||
}
|
||||
|
||||
event touch_down {
|
||||
seat: u32,
|
||||
time_usec: pod(u64),
|
||||
id: i32,
|
||||
x: fixed,
|
||||
y: fixed,
|
||||
}
|
||||
|
||||
event touch_up {
|
||||
seat: u32,
|
||||
time_usec: pod(u64),
|
||||
id: i32,
|
||||
}
|
||||
|
||||
event touch_motion {
|
||||
seat: u32,
|
||||
time_usec: pod(u64),
|
||||
id: i32,
|
||||
x: fixed,
|
||||
y: fixed,
|
||||
}
|
||||
|
||||
event touch_cancel {
|
||||
seat: u32,
|
||||
time_usec: pod(u64),
|
||||
id: i32,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ event up {
|
|||
|
||||
event motion {
|
||||
time: u32,
|
||||
id: u32,
|
||||
id: i32,
|
||||
x: fixed,
|
||||
y: fixed,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue