Skip to content

Hid controller bridge generic#214

Draft
wiedymi wants to merge 6 commits intoPlayCover:masterfrom
wiedymi:hid-controller-bridge-generic
Draft

Hid controller bridge generic#214
wiedymi wants to merge 6 commits intoPlayCover:masterfrom
wiedymi:hid-controller-bridge-generic

Conversation

@wiedymi
Copy link

@wiedymi wiedymi commented Feb 23, 2026

HI there! It's experimental, but I had issue playing Arknights with my gamesir g7 pro controller, so I decided to try to fix it and this is how I did it. The issue was that controller was not recognised at all.

I would like to have any feedback so we can improve it and if possible merge.

@wiedymi wiedymi marked this pull request as draft February 23, 2026 10:40
@wiedymi wiedymi marked this pull request as draft February 23, 2026 10:40
@wiedymi
Copy link
Author

wiedymi commented Feb 23, 2026

I am still testing it and reviewing, but so far it works well

@ohaiibuzzle
Copy link
Member

Does your controller shows up in macOS's Game Controller list? This shouldn't be necessary if that one works.

@wiedymi
Copy link
Author

wiedymi commented Feb 23, 2026

Does your controller shows up in macOS's Game Controller list? This shouldn't be necessary if that one works.

Does your controller shows up in macOS's Game Controller list? This shouldn't be necessary if that one works.

No, it shows as HID Controller (gamepad), but does not recongnizable by the Endfield or system as GameController..

@wiedymi
Copy link
Author

wiedymi commented Feb 23, 2026

the controller also does not work in real iPhone device... so its more issue with controller imho

@ohaiibuzzle
Copy link
Member

Yeah, but then the issue is that your patch should really be made so it works with every generic HID device if you want it to get merged.

See, the issue being that we can't just come back and occasionally add those hardware IDs into the code. It should either be defined externally or generic.

Also, it doesn't work on iPhone is basically because it isn't MFi-certified.

@wiedymi
Copy link
Author

wiedymi commented Feb 23, 2026

Yeah, but then the issue is that your patch should really be made so it works with every generic HID device if you want it to get merged.

See, the issue being that we can't just come back and occasionally add those hardware IDs into the code. It should either be defined externally or generic.

Also, it doesn't work on iPhone is basically because it isn't MFi-certified.

It's already generic, thouth there's different mappings, so for them i need some setting in playcover to control it.

For now its draft, I will see if i manage to make it work without workrounds, there's few issues I have now...

@wiedymi
Copy link
Author

wiedymi commented Feb 23, 2026

Probably I will make some mapping similar to what you have for keyboard, but for HID devices. so its more generic

@wiedymi
Copy link
Author

wiedymi commented Feb 24, 2026

well, i can not figure out how to make RS/LS work... without apple entitlement it will not work 🥲

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants