Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Smart Calendar Picture Frame - Python uinput test script
#!/usr/bin/env python
import uinput
from time import sleep
device=uinput.Device([uinput.KEY_H, uinput.KEY_E, uinput.KEY_L, uinput.KEY_O,])
sleep(2)
device.emit_click(uinput.KEY_H)
sleep(2)
device.emit_click(uinput.KEY_E)
sleep(2)
device.emit_click(uinput.KEY_L)
sleep(2)
device.emit_click(uinput.KEY_L)
sleep(2)
device.emit_click(uinput.KEY_O)
sleep(4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment