vpeter:
I currently have a Kodi python addon that uses GPIO input to select which video to play. To make for seamless transitions, I concatenate 4 videos into a single .mp4, and use the GPIO to select what section of the video to seek to, play it, and return to the beginning.
I want to change this to be a touchpanel control.
My main video section will display 4 or more square zones on the screen. When I read a touch event, I will determine which zone is selected and then seek to that part of the video, play it, and return to the main video section.
Python seemed to be the easiest way to implement the kodi addon.
Does your touch daemon/addon really run while Kodi is running?
Like I said, I understand how one could create a daemon that autoruns before Kodi starts to exclusively grab the touchpanel.
Or do you kill Kodi and relaunch it, as I think I saw in your code?
Hias:
The documentation for LIBINPUT_IGNORE_DEVICE indicates that the device will not be set up by libinput. I can see why that would prevent Kodi from grabbing it. But won't that also prevent an open and read in python?
Thanks,
-Jeff