0.0.3 • Published 11 years ago
makey-button v0.0.3
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'"