Inspired by a Wired article 
<https://www.wired.com/story/xbox-one-x-and-xbox-one-deals/> mentioning 
XBox One gamepads for $34, I finally got a game controller.

Naturally, now I'm wondering how to read it from Go :-)

It connects to Mac OS over Bluetooth. Various games seem to vary in whether 
they recognize or even notice it, but it works flawlessly in Chrome 
using http://html5gamepad.com/

So, if there's anyone here who even begins to know how gamepads work… am I 
about to wade into an ocean of pain? I'd *like* to avoid linking to sdl as 
gobot seems to do for joysticks: it would be lovely to have something in 
pure Go. Is that unlikely?

How are games (and Chrome) even finding the controller? Do they have to 
interrogate the Bluetooth stack, and then speak both Bluetooth and the XBox 
controller protocol?

Any help appreciated.

Zellyn

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to