const gphoto2 = require('./tools/tools-gphoto2') const server = require('./server') gphoto2.init(function (pErr) { console.log('[>] Checking list done with success') let app = server() }) // killall gvfs-gphoto2-volume-monitor // // Initialize the library // BOB_var_gamepad.init() // // List the state of all currently attached devices // for (var i = 0, l = BOB_var_gamepad.numDevices(); i < l; i++) { // console.log(i, BOB_var_gamepad.deviceAtIndex(i)); // } // // Create a game loop and poll for events // setInterval(BOB_var_gamepad.processEvents, 16); // // Scan for new gamepads as a slower rate // setInterval(BOB_var_gamepad.detectDevices, 500); // // Listen for button down events on all gamepads // BOB_var_gamepad.on("down", function (pId, pNum) { // BOB_cfg_config.io.emit('boothClick', { // id : pId, // num : pNum // }); // })