Handmade Hero » Forums » Code » OSX Controller Support
programmingjay
1 posts
#17013 OSX Controller Support
6 months ago Edited by programmingjay on Dec. 20, 2018, 10:52 a.m. Reason: Initial post

I've only recently discovered the handmade hero series and it's helped me build some motivation for my own side projects again.

I use a Mac mostly and was beginning work on getting controller input working.

I just wanted to check if anyone had had success getting a PS4/XB1 controller to register through the GameController framework or if I'll have to use IOKit and the HID family of functions to determine available controllers?

It looks like I'll eventually have to use IOKit when I come to tighten up the platform layer if I want to support as many controllers as possible but it would be nice if I could take some shortcuts while getting things started.