wire: split messages into requests and events
This commit is contained in:
parent
2b35f30ed4
commit
c473d63df3
98 changed files with 495 additions and 486 deletions
|
|
@ -1,26 +1,26 @@
|
|||
# requests
|
||||
|
||||
msg get_pointer = 0 {
|
||||
request get_pointer = 0 {
|
||||
id: id(wl_pointer),
|
||||
}
|
||||
|
||||
msg get_keyboard = 1 {
|
||||
request get_keyboard = 1 {
|
||||
id: id(wl_keyboard),
|
||||
}
|
||||
|
||||
msg get_touch = 2 {
|
||||
request get_touch = 2 {
|
||||
id: id(wl_touch),
|
||||
}
|
||||
|
||||
msg release = 3 {
|
||||
request release = 3 {
|
||||
}
|
||||
|
||||
# events
|
||||
|
||||
msg capabilities = 0 {
|
||||
event capabilities = 0 {
|
||||
capabilities: u32,
|
||||
}
|
||||
|
||||
msg name = 1 {
|
||||
event name = 1 {
|
||||
name: str,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue