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

Question #1

Open
Al3601 opened this issue Jun 21, 2024 · 5 comments
Open

Question #1

Al3601 opened this issue Jun 21, 2024 · 5 comments

Comments

@Al3601
Copy link

Al3601 commented Jun 21, 2024

Hello and thank you for sharing this great litlle project.

did some testing to see how it work, but had some troubles.

after flashing the RP2040 is not detected as a HID device, is this normal ?

How you assign each button and label ?

for me all labels are set to "b\HO=" buttons and switch does nothing, only the two encoders are interacting with screen.

IMG_20240621_040958

@orangenpresse
Copy link
Owner

orangenpresse commented Jun 21, 2024 via email

@Al3601
Copy link
Author

Al3601 commented Jun 22, 2024

Nice ! that was helpful, got it working now .
any way to give a name for each simulated gamepad ? they are all named "pico" wich is confusing.

@orangenpresse
Copy link
Owner

That's a whole topic for itself, also discussed here: MHeironimus/ArduinoJoystickLibrary#14

I think without a custom driver it's not possible.

@Al3601
Copy link
Author

Al3601 commented Jun 22, 2024

i did my tests, and it is possible.

cannot push a commit but here is how i did it :

add these 3 lines to the loop.ino file

` // Initialize gamepad

TinyUSBDevice.setManufacturerDescriptor("Name");

TinyUSBDevice.setProductDescriptor("XXX Controller");

// optionnal only if second pico devide connected (this change the Vendor ID)

TinyUSBDevice.setID(0x2e8a, 0x000a);`

Capture d’écran 2024-06-23 001340

results

Capture d’écran 2024-06-23 000738

still not perfect as i wanted a generated number/page "Controller 1 " Controller 2" etc, il do more tests.

next step is splash screen per page and changing the screen for a 3" touch screen.

@orangenpresse
Copy link
Owner

Thank you, that's great! You can create a fork and a merge request, then I can add your contribution.

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

2 participants