mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-08 18:18:02 +02:00
test: remove unused litest_handle_events
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
dbe519f176
commit
09a8c5b505
2 changed files with 0 additions and 17 deletions
|
|
@ -1441,20 +1441,6 @@ litest_create_device(enum litest_device_type which)
|
||||||
return litest_create_device_with_overrides(which, NULL, NULL, NULL, NULL);
|
return litest_create_device_with_overrides(which, NULL, NULL, NULL, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
|
||||||
litest_handle_events(struct litest_device *d)
|
|
||||||
{
|
|
||||||
struct pollfd fd;
|
|
||||||
|
|
||||||
fd.fd = libinput_get_fd(d->libinput);
|
|
||||||
fd.events = POLLIN;
|
|
||||||
|
|
||||||
while (poll(&fd, 1, 1))
|
|
||||||
libinput_dispatch(d->libinput);
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
litest_delete_device(struct litest_device *d)
|
litest_delete_device(struct litest_device *d)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -410,9 +410,6 @@ litest_current_device(void);
|
||||||
void
|
void
|
||||||
litest_delete_device(struct litest_device *d);
|
litest_delete_device(struct litest_device *d);
|
||||||
|
|
||||||
int
|
|
||||||
litest_handle_events(struct litest_device *d);
|
|
||||||
|
|
||||||
void
|
void
|
||||||
litest_event(struct litest_device *t,
|
litest_event(struct litest_device *t,
|
||||||
unsigned int type,
|
unsigned int type,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue