Linux event binding

Hi all,

Maybe I missed something, but I was wondering if there is a way to have OH handle events on OS level (on a Linux machine)? I would like to know if there is a binding that supports generic events (e.g. responding to events in /dev/input/event*) so that it is possible to trigger rules via, for example, a USB keyboard? Thanks in advance!


Could you write a small Python script that listens for events, and posts commands to an item via the REST API or the CMD servlet (modifying something like this)?