Python script to simulate navigation on Kodi using pynput
#1
Hi guys,

Im working on a custom keyboard for my Raspberry Pi 3 Model B with Raspbian, Ive installed Kodi as an app and run my python script with pynput library to simulate key press.

The script works fine, but only in current windows, i mean, folder browser, some python games, minecraft... and when I start Kodi, the simulated keys are not executed, log file from my script write the key pressed succesfully.

xbmc library for python only works with inside Kodi, but i dont know how to run my script on this. This library contains other commands to simulate key press.

Does anyone know how to "change" the active window to run python script on Kodi or open kodi console and execute xbmc library? Hope you help me, thanks a lot.
Reply

Logout Mark Read Team Forum Stats Members Help
Python script to simulate navigation on Kodi using pynput0