Browse Source

update nipple.js

main
Hendrik Langer 4 years ago
parent
commit
92bd3644dd
  1. 1475
      raspberry/roberto/static/js/nipplejs.js
  2. 2
      raspberry/roberto/views/frontend/templates/gamepad.js

1475
raspberry/roberto/static/js/nipplejs.js

File diff suppressed because one or more lines are too long

2
raspberry/roberto/views/frontend/templates/gamepad.js

@ -104,7 +104,7 @@ if (haveEvents) {
}); });
joystick.on('move', function(evt, data) { joystick.on('move', function(evt, data) {
console.log(data); console.log(data.vector);
}); });
/* /*
setInterval(function(){ setInterval(function(){

Loading…
Cancel
Save