diff --git a/dev_evdev.c b/dev_evdev.c index 573b5bc..5075c5b 100644 --- a/dev_evdev.c +++ b/dev_evdev.c @@ -107,11 +107,11 @@ int dev_evdev_open( } if (libevdev_new_from_fd(fd, &out_evdev) != 0) { - fprintf(stderr, "Cannot initialize libevdev from this device (%s): skipping.\n", path); + fprintf(stderr, "Cannot initialize libevdev from this device (%s) -- Skipping.\n", path); close(fd); continue; } else { - printf("Acquired evdev device %d", fd); + printf("Acquired evdev device %s: fd=%d", path, fd); } // try to open the device diff --git a/dev_in.c b/dev_in.c index b880d79..14d9b5c 100644 --- a/dev_in.c +++ b/dev_in.c @@ -241,7 +241,7 @@ void* dev_in_thread_func(void *ptr) { } else if (devices[i].type == DEV_IN_TYPE_IIO) { } else if (devices[i].type == DEV_IN_TYPE_NONE) { - fprintf(stderr, "Device %zu not found -- Attempt reconnection", i); + fprintf(stderr, "Device %zu not found -- Attempt reconnection\n", i); if (devs->input_dev_decl[i].dev_type == input_dev_type_uinput) { const int open_res = open_device(&devs->input_dev_decl[i].filters.ev, &devices[i].dev.evdev);