Hi,
I'm experimenting with fake input and I'm failing epicly. I just do not
get it to work.
I tried to fake one press on spacebar, so I figured out what keycode
this is (keycode 65, via "xev") and wrote the following code:
> root.fake_input("key_press", 65, mouse.coords()[1], mouse.coords()[2], 1)
> root.fake_input("key_release", 65, mouse.coords()[1],
mouse.coords()[2], 1)
I put them into a function an call this function via another keybind.
But unfortunately nothing happens, I assume I'm just using the function
the wrong way (with wrong parameters/parameter format).
Is someone used to this function and can help me?
Thanks in advice,
Manuel
--
To unsubscribe, send mail to [email protected].