Tag Archives: Gamepad API

FLY AN AR DRONE WITH AN XBOX CONTROLLER AND JAVASCRIPT


via Fly an AR Drone with an Xbox controller and JavaScript (by Mate Marschalko) | Des Holmes – Creative Technical Director.

I always found the controls on the AR Drone mobile application not accurate enough for easy manoeuvring. I wanted something a bit more precise so I thought my USB Xbox controller would be perfect for the job. I used JavaScript to both read the gamepad data and to send control messages to the drone.

Arduino NodeJS RC Car Driven with the HTML5 Gamepad API


via Arduino Node.js RC Car Driven with the HTML5 Gamepad API.

We constantly see developers pushing the limits of JavaScript; mobile and desktop applications, 3D games and so much more … but it’s a different story to connect a USB racing wheel to the browser and read it with the HTML5 Gamepad API and drive a Radio Controlled toy car through WebSockets and a Node.js server.