1.0.1 • Published 9 years ago

broadcastmouseevents v1.0.1

Weekly downloads
2
License
BSD-2-Clause
Repository
github
Last release
9 years ago

BroadCast Mouse Position

NodeJS experiment to broadcast your mouse position, mouse click and scroll to all the other clients.

Requirements

  • Express
  • Socket.io
    sudo npm install
Demo
----
To see the effect open this link in multiple browser windows

[Broadcast Mouse position Demo](http://dutchprogrammer.nl:9002/)


How to start
----
  All experiments can be start with the broadCastMousePosition.js
```bash
sudo nodejs broadCastMousePosition.js

How to start this chat as an service:

sudo forever start -l forever.log -o out.log -e err.log -a broadCastMousePosition.js

Problems and fixes

When you got problems with ubuntu server because it can't find the node command execute the following line:

sudo update-alternatives --install /usr/sbin/node node /usr/bin/nodejs 99