Advertisement
Guest User

Problem with uinput

a guest
May 21st, 2017
580
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.19 KB | None | 0 0
  1. import uinput
  2. import time
  3.  
  4. with uinput.Device([uinput.KEY_RIGHT]) as device:
  5.         for i in range(0,100):
  6.                 device.emit_click(uinput.KEY_RIGHT)
  7.                 time.sleep(3)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement