examples: add input-timestamp-v1 example

The client simply requests input-timestamps resources for both the
keyboard and the pointer, and prints all relevant events with their more
precise timestamps when they arrive. Touch support is not implemented as
of now.
This commit is contained in:
random human 2019-06-15 00:20:29 +00:00
parent dcb38e7f1c
commit d924f9d5b1
No known key found for this signature in database
GPG key ID: 73E5A60444CC77A3
2 changed files with 517 additions and 0 deletions

View file

@ -69,6 +69,10 @@ examples = {
'src': 'input-inhibitor.c',
'dep': [wayland_client, wayland_cursor, wlr_protos, wlroots],
},
'input-timestamps': {
'src': 'input-timestamps-unstable-v1.c',
'dep': [wayland_client, wlr_protos, wlroots],
},
'gamma-control': {
'src': 'gamma-control.c',
'dep': [wayland_client, wayland_cursor, wlr_protos, math],