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

Move joystick/mouse code out of TinyUSB #175

Open
fruit-bat opened this issue Sep 9, 2024 · 4 comments
Open

Move joystick/mouse code out of TinyUSB #175

fruit-bat opened this issue Sep 9, 2024 · 4 comments

Comments

@fruit-bat
Copy link
Owner

See https://github.com/ikjordan/picozx81/tree/main/usb

@ikjordan
Copy link

I see the pico-zxspectrum code has moved on a bit since I copied it (e.g. the addition of xinput).
The changes I made were to move hid_ri.c, hid_rip.c hid_ri.h and rid_rip.c out of TinyUSB and then modify the application code to point to the new file locations.
If you do this change I'll look forward to merging your code back into picozx81 and automatically getting support for some more HID devices :-)

@fruit-bat
Copy link
Owner Author

Just copied some files in, but is a start...

https://github.com/fruit-bat/pico-hid-host

@fruit-bat
Copy link
Owner Author

I have a working test app and some tests that pass. Needs some work to make it a bit more friendly but interested in what you think of it.

https://github.com/fruit-bat/pico-hid-host

I will try adding to the spectrum next.

@ikjordan
Copy link

Hi sorry for not replying sooner. Thank you for this. I don't have access to any test kit for a while, but will look at in more detail when I do.

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