python-evdev
python-evdev copied to clipboard
Add an example of serialization
Serialization might be a good topic for the tutorial, or for a simple examples/uinput-serialize.py.
For inspiration, there is https://github.com/MerlijnWajer/uinput-mapper , which can send pickled device capabilities and events between machines. input-read /dev/input/event1 | ssh somewhere input-create
Interesting. At one time I started working on an evpipe tool that was supposed to offer exactly this functionality (i.e. evpipe read <devices> | evpipe write). I'll look into it when I get more time to work on python-evdev.
Thanks for the suggestion.