Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Tonyyu-1 authored Jul 16, 2024
1 parent c0d27d9 commit b94b283
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -1337,10 +1337,10 @@ async function main() {
// document.getElementById('moveLeft').addEventListener('touchend', handleTouchEnd('left'));
// document.getElementById('moveRight').addEventListener('touchstart', handleTouchStart('right'));
// document.getElementById('moveRight').addEventListener('touchend', handleTouchEnd('right'));
// document.getElementById('moveUp').addEventListener('touchstart', handleTouchStart('up'));
// document.getElementById('moveUp').addEventListener('touchend', handleTouchEnd('up'));
// document.getElementById('moveDown').addEventListener('touchstart', handleTouchStart('down'));
// document.getElementById('moveDown').addEventListener('touchend', handleTouchEnd('down'));
document.getElementById('moveUp').addEventListener('touchstart', handleTouchStart('up'));
document.getElementById('moveUp').addEventListener('touchend', handleTouchEnd('up'));
document.getElementById('moveDown').addEventListener('touchstart', handleTouchStart('down'));
document.getElementById('moveDown').addEventListener('touchend', handleTouchEnd('down'));


const joystickContainer = document.getElementById('joystick-container');
Expand Down

0 comments on commit b94b283

Please sign in to comment.