Is it possible to set the JAVA NIO WatchService on files in the /sys/class/gpio/gpioX
device tree to supervise changes there ?
It would be nice idea to detect changes on the GPIO files (i.e. the GPIO -inputs) directly from within Java, but I fear that is not supported.
A confirmation that it's not supported (and perhaps why) would be sufficient.