makey-button
v0.0.3
Published
Makey-Makey powered button server
Downloads
2
Readme
Makey Makey Button Server
This is a little Node.js server/client that uses Web sockets to transmit button press events across hosts.
Installation
Clone and cd
into the repo, then:
npm install
npm link .
This will make the buttons-client
command available globally.
Use
Run the client using the host -h
, button -b
and command -e
required
flags. For example, this will connect to myhost:7788
, listen for
presses to button a
and run say 'button pressed'
when the button is
pressed:
buttons-client -h myhost:7789 -b a -e "say 'button pressed'"