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

add iCade support #13

Open
netunlimited opened this issue Oct 15, 2020 · 3 comments
Open

add iCade support #13

netunlimited opened this issue Oct 15, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@netunlimited
Copy link

This is a really cool project. It would be great if it would have support for the iCade controller.

@dillof
Copy link
Member

dillof commented Oct 15, 2020

I tried to find documentation for iCade but came up empty. All I know is that it appears to the iPad as a bluetooth keyboard. Do you have additional information, especially:

  • Which keys correspond to which direction/buttons?

  • How do you recognise an iCade as opposed to a regular keyboard.

  • How does iCade support in other apps look like? Do they detect it automatically, or do you have to select it manually?

yours,
dillo

@dillof dillof added the enhancement New feature or request label Oct 15, 2020
@netunlimited
Copy link
Author

A long time ago I've implemented iCade support in one of my iOS games. As far as I remember there is no way to detect it automatically. So I just added a setting in the app for the user to enable his iCade. After that I just had to make the app listen to the expected key presses.

As for the mapped keys, it's explained here: https://www.raywenderlich.com/2958-adding-icade-support-to-your-game

@dillof
Copy link
Member

dillof commented Oct 15, 2020

Thanks for the link, it seems to contain all the information I'd need.

I'll think about it. iCade doesn't seem to be a common device, but if I can fit it in easily, I'll add support for it. It probably won't be soon, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants