From 66bc4ac4576d65f650e1314be1ac102dabe8f42b Mon Sep 17 00:00:00 2001 From: Denis Date: Thu, 7 Dec 2023 23:58:53 +0100 Subject: [PATCH] debug printf --- dev_evdev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev_evdev.c b/dev_evdev.c index ff0275c..e5b9af3 100644 --- a/dev_evdev.c +++ b/dev_evdev.c @@ -81,6 +81,8 @@ int dev_evdev_open( snprintf(path, MAX_PATH_LEN - 1, "%s%s", input_path, dir->d_name); + printf("Testing for device %s\n", path); + // try to open the device, if it cannot be opened to go the next int fd = open(path, O_RDWR); if (fd < 0) {