I a using lirc for python. This is working pretty good, but I miss one function: In my tests only a code was sent, when a button was pressed. Now, I want to print a code, while the key is pressed. In other words, a function should be started by "key down" and stopped by "key up". Using just the lirc.nextcode()
is not working, because only the "key down" event is captured.
So, is there any trick to detect a "key up" with python?