-
Notifications
You must be signed in to change notification settings - Fork 1
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
Comments
It only registers the CDC (Serial COM Port) and the joysticks. I couldn't
figure out how to name it yet. But flashing over the serial should work.
The display reads data from the Flash, because it's not initialized you get
the outputs. Try send this commands over the serial:
0;0;A
0;1;B
0;2;C
0;3;D
0;4;E
0;5;F
0;6;G
0;7;H
0;8;I
0;9;J
0;10;K
0;11;L
0;12;M
SAVE
The first number is the page, the second the label position. SAVE writes it
to the flash. I want to create a program to set it comfortable over UI but
could not find the time yet.
All buttons except for the rotary buttons are set up as a 3x8 matrix. I
used 8 inputs, because my switches have a common connector.
The row pins are set es output and in the button loop one pin will be set
to LOW, then it will check the cols pins (input) if there are LOW
(pressed). Then it proceeds with the next pin and shifts it in the gamepad
register.
I hope I could help you a bit with the information.
Al3601 ***@***.***> schrieb am Fr. 21. Juni 2024 um 04:56:
… 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.jpg (view on web)
<https://github.com/orangenpresse/ArduinoRP2040-ButtonBox/assets/33935485/f39a7332-b2e6-49cc-b64f-77582a38b1f3>
—
Reply to this email directly, view it on GitHub
<#1>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAE7Y3RBM6Q3A3EREPP2AMDZIOI6DAVCNFSM6AAAAABJVB3HQ6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGM3DKNRQG43TGMA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Nice ! that was helpful, got it working now . |
That's a whole topic for itself, also discussed here: MHeironimus/ArduinoJoystickLibrary#14 I think without a custom driver it's not possible. |
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);` results 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. |
Thank you, that's great! You can create a fork and a merge request, then I can add your contribution. |
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.
The text was updated successfully, but these errors were encountered: