rem: socket.on('jotstickMoved', function (data) {  
add: socket.on('controllerButtonEvent', function (key, value) {  writeToFile(key+":"+value);  
context:     socket.on('jotstickMoved', function (data) {        // pick off which value was sent via switch case and write to file    });
meta: 10965	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10965/7bcb17ecdca163ad23f428441d7b74fd044c4803/BeagleQuadServer.js/clean/code/ControlTower/BeagleQuadServer.js