uinput daemon
Run uinputd with specifying configuration file like below.
$ uinputd -c ~/.config/uinputd
A format of configuration file is:
device: XX:XX:XX:XX:XX:XX
press: echo PRESS
release: echo RELEASE
longpress: echo LONGPRESS
$ go get github.com/mattn/uinputd
MIT
Yasuhiro Matsumoto (a.k.a. mattn)