3 ms·
The www has an API for gamepads. I need a moment.
by andrepd 8y ago
The www has an API for gamepads. I need a moment.
- mywittyname 8y agoIt seems entirely appropriate for browsers to support input from devices other than keyboard, mouse, and touch screen.
- bzbarsky 8y agoBrowsers run on TVs...
- wongarsu 8y agoYou remember how HTML5 was sold as the replacement for Flash; as a platform perfect for browser games? This is the logical extension of that.
- JohnFen 8y agoYeah, that sort of thing is one of the reasons why I dislike HTML5 so much.
- mrspeaker 8y agoOff topic, but besides being a really cool API for playing games - and heaps of games support it - I used this in a talk to control my "slides" via an xbox controller: https://mrspeaker.github.io/emacs_talk/ https://mrspeaker.github.io/emacs_talk/ - moving around topics, triggering slides forward/back, starting/stopping videos, and changing slide opacity using the d-pad, analog sticks, and triggers. I'll never use an apple remote again ;)
- sitkack 8y agoThis is the nerdiest thing I have seen a long time. It is lovely! Keep it up.
- kalleboo 8y agoI already had that moment when I heard about the "Web Bluetooth API"
- sitkack 8y agohttps://wicg.github.io/webusb/ https://wicg.github.io/webusb/ and https://www.w3.org/TR/webmidi/ https://www.w3.org/TR/webmidi/ And I welcome them, it would be awesome to program an arduino from a web based dev env.