1
0
Fork 0
forked from wry/wry
wry/wire/jay_seat_events.txt
2022-06-03 12:00:08 +02:00

62 lines
787 B
Text

# events
msg key = 0 {
seat: u32,
time_usec: pod(u64),
key: u32,
state: u32,
}
msg pointer_abs = 1 {
seat: u32,
time_usec: pod(u64),
x: fixed,
y: fixed,
}
msg pointer_rel = 2 {
seat: u32,
time_usec: pod(u64),
x: fixed,
y: fixed,
dx: fixed,
dy: fixed,
dx_unaccelerated: fixed,
dy_unaccelerated: fixed,
}
msg button = 3 {
seat: u32,
time_usec: pod(u64),
button: u32,
state: u32,
}
msg axis_source = 5 {
source: u32,
}
msg axis_px = 6 {
dist: fixed,
axis: u32,
}
msg axis_stop = 7 {
axis: u32,
}
msg axis_120 = 8 {
dist: i32,
axis: u32,
}
msg axis_frame = 9 {
seat: u32,
time_usec: pod(u64),
}
msg modifiers = 10 {
seat: u32,
modifiers: u32,
group: u32,
}