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

Suggestion: usb Gamepads with PID=0x0006 support #4

Open
ciroH opened this issue Nov 2, 2021 · 8 comments
Open

Suggestion: usb Gamepads with PID=0x0006 support #4

ciroH opened this issue Nov 2, 2021 · 8 comments

Comments

@ciroH
Copy link

ciroH commented Nov 2, 2021

would it be possible to add support to generic usb gamepads with a PID 0006? a lot of usb gamepads use a similar controller.

Here's the source code of a driver, but it's for windows: https://github.com/alessandroasm/generic-usb-gamepad-vibration-driver

I also attach a .ini config file from nintendont in case it helps as a reference
controller.zip

@Invictaz
Copy link

Invictaz commented Nov 11, 2021

Please define "a lot" of usb gamepads? Do you have examples?

@Invictaz
Copy link

Please extract the USB device descriptors using
https://www.thesycon.de/eng/usb_descriptordumper.shtml

@ciroH
Copy link
Author

ciroH commented Jan 24, 2022

I dont have access to a Windows machine at the moment, so i obtained the device info and descriptor's dump using multiple tools on a linux-based OS:
DragonRise-usb-gamepad-dump.txt

@Invictaz
Copy link

Your device is
bInterfaceClass 3 Human Interface Device

Which should work if there are controller configs coming.

We have to wait for Xerpi to see what to do next.

@xerpi
Copy link
Owner

xerpi commented Jan 25, 2022

Can you try this .app? FAKEMOTE.zip
Code is here: https://github.com/xerpi/fakemote/blob/wip/usb_driver_generic_usb_pid_0006/source/usb_driver_generic_usb_pid_0006.c#L39
The buttons will be messed up, but at least we will see if it gets recognized and "does something".

@Invictaz
Copy link

@ciroH

@ciroH
Copy link
Author

ciroH commented Feb 14, 2022

I'm sorry for the delay!! i wasn't receiving GitHub notifications on my e-mail client.
I'll check the .app today as soon as possible and come back with feedback

@ciroH
Copy link
Author

ciroH commented Feb 14, 2022

I followed the Installation instructions, used:

  • base ios = 57
  • slot = 252
  • usb loader gx
    I edited the ciosmaps.xml to use the .app with ios 57.
    But the controller isn't detected, none of the buttons 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

No branches or pull requests

3 participants