Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GameController Framework support #55

Closed
paiv opened this issue Jan 17, 2015 · 4 comments
Closed

GameController Framework support #55

paiv opened this issue Jan 17, 2015 · 4 comments
Labels

Comments

@paiv
Copy link

paiv commented Jan 17, 2015

Apple has their own framework to provide access to game controllers: Game Controller Framework Reference

I have tried it with Xbox360 Wireless and this driver, but nothing gets found:

#import <GameController/GameController.h>

for (GCController *controller in [GCController controllers]) {
    NSLog(@"CONTROLLER FOUND: %@", controller);
}

I could access it via SDL2.
So I was wondering, what would be the effort to add support for GameController Framework?

@MaddTheSane
Copy link
Collaborator

At a cursory glance, it doesn't look like there is a way to add non-mFi(Made for iPad/iPhone/iPod) controllers to the GameController framework.

@dak180
Copy link

dak180 commented Feb 4, 2016

@MaddTheSane you may want to check out https://github.com/slembcke/CCController since it seems to add some preliminary support for this.

@slime73
Copy link

slime73 commented Feb 4, 2016

CCController isn't a way to have non-MFi gamepads added to GameController.framework, it's just a GameController.framework-like wrapper over the HID API. So it's not especially useful, as each developer of each game would have to integrate it into their codebase.

@Drewbadour
Copy link
Member

There is a note about this in the README, so I am going to close this down.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants