bit of a weird issue; I've got a webapp with an iframe embedded in it, and have been using pynput as a way to detect the mouse inputs on this webapp. Trouble is, when using the touchscreen to click on the iframe it no longer records the clicks. It works fine with a mouse and it works fine when clicking on anything that isn't the iframe, however it seems the combination of touch screen + iframe means pynput can't detect inputs. Was wondering if anyone knows a way (preferably in Python) to record any sort of clicks on an iframe? I was using pynput due to cross-origin issues with detecting on the page itself, but basically need to detect any press at all on the touch screen and feed it to python. Pynput listener can detect clicks anywhere else on touch, or anywhere at all with a mouse but with a touchscreen, clicking on an iframe doesn't get picked up by pynput. Continue reading...