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

SNES Multitap #2

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open

SNES Multitap #2

wants to merge 18 commits into from

Conversation

GromRGB
Copy link

@GromRGB GromRGB commented Jun 24, 2020

Hi,

I found how to make a SNES Multitap.

Primary, HID_QUIRK_MULTI_INPUT must be activated for Arduino Pro Micro :

In "u-boot.txt" -> v=loglevel=4 usbhid.jspoll=1 xpad.cpoll=1 usbhid.quirks=0x2341:0x8037:0x040
Or in kernel -> https://github.com/MiSTer-devel/Linux-Kernel_MiSTer/commit/f6e04d804af0878d60aaeda4149492134276e1f8

After, I add reports in _hidReportDescriptor 0x85, 0x01, // REPORT_ID (1)
I add too int8_t ID; in typedef struct GamepadReport
And I create only one Gamepad_ Gamepad;

I attach files of my proof of concept with a random function to press/release all buttons and axis (ProofOfConcept.zip).

Regards,

@patitogit
Copy link

patitogit commented Dec 2, 2022

Hi,

I found how to make a SNES Multitap.

Primary, HID_QUIRK_MULTI_INPUT must be activated for Arduino Pro Micro :

In "u-boot.txt" -> v=loglevel=4 usbhid.jspoll=1 xpad.cpoll=1 usbhid.quirks=0x2341:0x8037:0x040 Or in kernel -> https://github.com/MiSTer-devel/Linux-Kernel_MiSTer/commit/f6e04d804af0878d60aaeda4149492134276e1f8

After, I add reports in _hidReportDescriptor 0x85, 0x01, // REPORT_ID (1) I add too int8_t ID; in typedef struct GamepadReport And I create only one Gamepad_ Gamepad;

I attach files of my proof of concept with a random function to press/release all buttons and axis (ProofOfConcept.zip).

Regards,

Thanks! working perfect on windows 10 after taking out the auto button/joystick movements.
theres any chance to modify it to work as xinput instead of dinput?

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.

4 participants