How to read /dev/input/eventX with Java
I’m attempting to read input events in Linux. I tried to use WatchService unusuccessfully and then migrated to Apache Commons IO, also unsuccessfully. I imagine that these character devices don’t generate filesystem events that either of these two mechanisms pick up?
WatchService /dev/input
I’m attempting to read input events in Linux. I tried to use WatchService unusuccessfully and then migrated to Apache Commons IO, also unsuccessfully. I imagine that these character devices don’t generate filesystem events that either of these two mechanisms pick up?