Set mouse absolute coordinates
Asked by
Kaar3l
import time
import uinput
def main():
events = (
)
device = uinput.
for i in range(20):
# syn=False to emit an "atomic" (5, 5) event.
# Just for demonstration purposes: shows the motion. In real
# application, this is of course unnecessary.
if __name__ == "__main__":
main()
I tested that exaple script with abs coords, but that doesn't put my mouse to the position where it should. :( How could I use the absolute coordinates to set my mouse location.
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Kaar3l
- Solved:
- Last query:
- Last reply:
To post a message you must log in.