cli: add seat-test
This commit is contained in:
parent
b20abd28d0
commit
2ced50f3a7
11 changed files with 559 additions and 7 deletions
|
|
@ -35,8 +35,21 @@ msg unlock = 8 {
|
|||
|
||||
}
|
||||
|
||||
msg get_seats = 9 {
|
||||
|
||||
}
|
||||
|
||||
msg seat_events = 10 {
|
||||
id: id(jay_seat_events),
|
||||
}
|
||||
|
||||
# events
|
||||
|
||||
msg client_id = 0 {
|
||||
client_id: pod(u64),
|
||||
}
|
||||
|
||||
msg seat = 1 {
|
||||
id: u32,
|
||||
name: str,
|
||||
}
|
||||
|
|
|
|||
62
wire/jay_seat_events.txt
Normal file
62
wire/jay_seat_events.txt
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
# 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,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue