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 ...