I'm curious if anyone out there has been able to connect to the gamepad API with either a wireless xbox360 controller or a bluetooth PS3 controller on a Mac. As you can see below, I have both controllers connected and get nothing showing in the console. Yes, I've hit the buttons to make sure to get the handshake. I just wanted to make sure that I'm not missing something completely silly before going and purchasing a wired 360 controller.
Asked
Active
Viewed 1,023 times
3
-
Something silly must be going on because there's no reason a wireless controller can't work for you just fine. "Connect to the gamepad API"... What API might that be? – Joncom Apr 06 '13 at 04:15
-
There's a new HTML5 [gamepad API](https://dvcs.w3.org/hg/gamepad/raw-file/default/gamepad.html) that Chrome has implemented since v21, if I can recall correctly. If you look at the bottom of the screenshot, you'll see that I don't get any feedback on the **navigator.webkitGamepads** object. :( – stagl Apr 07 '13 at 19:52
1 Answers
2
I'm using a PS3 controller via bluetooth, on mac chrome, confirmed here: http://html5gamepad.com/
What OS version / chrome version are you on?

Ben
- 84
- 1
- 7
-
Just tested this out and it is working properly! I'm not sure if Chrome has just been updated or if it is my incompetence; I will revisit my code to find out. Thanks! – stagl Oct 01 '13 at 02:55
-
I am on OSX Yosemite 10.10.5 with google chrome version 44.0.2403.157 (64-bit). My PS3 controller is not detected here. However, it works on firefox. Is there any workaround to make it work on chrome? – Punit Soni Aug 29 '15 at 19:28