tools: fix a debug message in the demo client

This commit is contained in:
Peter Hutterer 2023-03-06 16:00:22 +10:00
parent 1ddf8058e6
commit 8c2f51fcff

View file

@ -368,15 +368,15 @@ int main(int argc, char **argv)
break;
case EI_EVENT_DEVICE_PAUSED:
if (ei_event_get_device(e) == ptr) {
colorprint("Pointer device was resumed\n");
colorprint("Pointer device was paused\n");
have_ptr = false;
}
if (ei_event_get_device(e) == kbd) {
colorprint("Keyboard device was resumed\n");
colorprint("Keyboard device was paused\n");
have_kbd = false;
}
if (ei_event_get_device(e) == abs) {
colorprint("Abs pointer device was resumed\n");
colorprint("Abs pointer device was paused\n");
have_abs = false;
}
break;