Skip to content

Quickly specify emulated keyboard input from pi zero over USB

Notifications You must be signed in to change notification settings

wbradmoore/pi0key

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

pi0key

This allows emulating a keyboard by plugging a pi zero w into a computer's usb port. Specifically, it allows the user to quickly define a series of keystrokes as a cli arg to the program.

Example:

sudo python3 pi0key.py del,sleep:1,repeat:600

The above example would emulate a press of the Delete key about every second for about ten minutes

Note that sleep instructions randomize the length of the sleep, distributed roughly around the value provided (in seconds).

Todo:

  • nested repeats
  • document getting pi 0 into state where it can emulate input device

About

Quickly specify emulated keyboard input from pi zero over USB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages