This commit is contained in:
Christopher Jeffrey 2013-01-27 11:32:22 -06:00
parent 8f85e05293
commit 34ecaac3d3
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ program.on('key', function(ch, key) {
program.setMouse({ normalMouse: true });
program.mouse('mouse', function(data) {
program.on('mouse', function(data) {
console.log('Mouse event received:');
console.log(data.button, data.x, data.y);
});