Live data from Hacker News

Show HN: Xbox One Controller Driver for OS X

github.com

11–20 of 27 posts

Re: Show HN: Xbox One Controller Driver for OS X

#11
post #10
post #3

Could you provide some technical detail on the creation process? The Xbox One controller doesn't identify itself as a Human Input Device, so it requires a Kext, yeah? Did you need to use a USB sniffer to identify the initialization sequence and button mappings? Another OS X Kext for the (USB) Xbox One controller, if only for comparison: https://github.com/FranticRain/Xone-OSX

using the Xone-OSX https://github.com/FranticRain/Xone-OSX works quite fine for me. Anybody has an input about the differences?

how's steam support?

Re: Show HN: Xbox One Controller Driver for OS X

#12
post #10

Earlier quoted context omitted.

using the Xone-OSX https://github.com/FranticRain/Xone-OSX works quite fine for me. Anybody has an input about the differences?

how's steam support?

Castle Crashers and Guacamelee work well. Unfortunately, The Force Unleashed does not recognize it. Yet, believe it's a game specific problem (the port is terrible ...). Haven't tried other games.

Re: Show HN: Xbox One Controller Driver for OS X

#13
> ...the driver is unsigned and has to be installed with kext dev mode enabled on Yosemite. If you don't know what that means it's probably not a good idea to go further.

That's fine - but why not explain how to do this? People are going to google it anyways - may as well offer a sane tutorial on how to do it.

Re: Show HN: Xbox One Controller Driver for OS X

#14
post #13

> ...the driver is unsigned and has to be installed with kext dev mode enabled on Yosemite. If you don't know what that means it's probably not a good idea to go further. That's fine - but why not explain how to do this? People are going to google it anyways - may as well offer a sane tutorial on how to do it.

> why not explain how to do this? ... may as well offer a sane tutorial on how to do it.

I'd be worried about people making inane pull requests a la "You broke my computer!" if they did something wrong.

Re: Show HN: Xbox One Controller Driver for OS X

#15
post #3

Could you provide some technical detail on the creation process? The Xbox One controller doesn't identify itself as a Human Input Device, so it requires a Kext, yeah? Did you need to use a USB sniffer to identify the initialization sequence and button mappings? Another OS X Kext for the (USB) Xbox One controller, if only for comparison: https://github.com/FranticRain/Xone-OSX

I'm planning to write an article about the development of this driver, including USB woes and writing the HID descriptor. The only thing I didn't do from scratch is getting the init packet (which I got from the Linux kernel).

Re: Show HN: Xbox One Controller Driver for OS X

#16
post #13

> ...the driver is unsigned and has to be installed with kext dev mode enabled on Yosemite. If you don't know what that means it's probably not a good idea to go further. That's fine - but why not explain how to do this? People are going to google it anyways - may as well offer a sane tutorial on how to do it.

This will come, but I plan to get a dev certificate so it'll be way more user friendly. I wanted to get the thing shipped ASAP in a reasonable fashion, as it's been lingering for months due to a stupid bottleneck.

Re: Show HN: Xbox One Controller Driver for OS X

#17
post #14
post #13

> ...the driver is unsigned and has to be installed with kext dev mode enabled on Yosemite. If you don't know what that means it's probably not a good idea to go further. That's fine - but why not explain how to do this? People are going to google it anyways - may as well offer a sane tutorial on how to do it.

> why not explain how to do this? ... may as well offer a sane tutorial on how to do it. I'd be worried about people making inane pull requests a la "You broke my computer!" if they did something wrong.

Exactly. I basically don't want to guide people into lowering what is a perfectly valid level of defense, but while I tell people how to do it there[0], the target public is not exactly the same.

[0]: https://github.com/lloeki/trim_patcher

Re: Show HN: Xbox One Controller Driver for OS X

#18

Nice job! Is there a DualShock 4 Controller Driver out there for OS X? There is a great one for Windows called DS4Windows, but I haven't found on for Mac.

I own one, it works out of the box on Yosemite, and even better than DS3 (which keeps the LEDs flashing, purely cosmetic but annoying).

OS X basically bets on standards (HID Class device compliance) for out of the box support.

Re: Show HN: Xbox One Controller Driver for OS X

#19
post #10
post #3

Could you provide some technical detail on the creation process? The Xbox One controller doesn't identify itself as a Human Input Device, so it requires a Kext, yeah? Did you need to use a USB sniffer to identify the initialization sequence and button mappings? Another OS X Kext for the (USB) Xbox One controller, if only for comparison: https://github.com/FranticRain/Xone-OSX

using the Xone-OSX https://github.com/FranticRain/Xone-OSX works quite fine for me. Anybody has an input about the differences?

I stumbled upon it just yesterday when packaging my release on GitHub. I purposely did not look at anything beforehand because 1) I wanted to do everything from A to Z myself†, and I knew TattieBogle's 360 driver was GPL licensed and 2) I wanted (made possible as a side effect of, and a motivation for, 1.) this one to be BSD.

† When starting this I knew zilch about C++, USB, HID descriptors and kext development. Quite a roadtrip.

(edit): A quick glance show that it's loosely based on TattieBogle's, and tries hard to mimic a 360 gamepad[0], down to the USB products id[1] and string. IOW it's not really a native Xbox One gamepad driver but an "emulator" of the 360 gamepad.

[0]: https://github.com/FranticRain/Xone-OSX/blob/master/Xbox%20O...

[1]: https://github.com/FranticRain/Xone-OSX/blob/master/Xbox%20O...

Post reply on HN