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

Open up Inputs for Hardware IO #7

Open
EmanresuEmanreztuneb opened this issue Mar 5, 2024 · 6 comments
Open

Open up Inputs for Hardware IO #7

EmanresuEmanreztuneb opened this issue Mar 5, 2024 · 6 comments

Comments

@EmanresuEmanreztuneb
Copy link

EmanresuEmanreztuneb commented Mar 5, 2024

Hi Sonik,

ive no idea, if this is even possible.
From my bare understanding of coding, this firmware presents itselve as device XY and passes through inputs from another device.

So... Is there a way, to "jump" in between that "conversation" and use the hardware IO of the PICO instead?
In short: Create an FFB device.

  • read encoder
  • read DIO AIO
  • generate PWM/uart/can

For sure, its a lot of work, but it would be awesome, if you could have a quick look, if this would even be possible.

And here is the reason, why im asking for it:
https://m.youtube.com/watch?v=QXPe65nvXwo&t=30s

@sonik-br
Copy link
Owner

sonik-br commented Mar 5, 2024

Amazing device! :)

What's the idea? To interface with PS2/PS3 consoles?
Using the code to output as a PSx wheel device would be easy.
Having any sort of force feedback would require to interpret logitech ffb comands. The adapter does not do that, It just passes through ffb commands.

I know that there are some projects for a diy ffb wheel. But they are for PC usage only and won't work on consoles.

@EmanresuEmanreztuneb
Copy link
Author

Hey! Thx for the quick answhere and compliment :)

Beeing compatible with consoles would be the ultimative goal.
But im afraid, i dont have the money for that 500k licence to get the encryption from sony.

So far its PC only and running on FFBoard.
Now i try to get it wireless. Well a friend and awesome coder spends hours doing so with Two ESP32s.
All i can do, is to help him as good as possible with research.
When i found your firmware, my hope was to inject from one PICO W inside the Gamepad to the another one, which runs on your awesome work.
As mentioned, my coding skills are just based on "bring value A to value B" :)
And ive seen your firmware as 3 parts:
USB signal in to interpreter to USB signal out.

@sonik-br
Copy link
Owner

sonik-br commented Mar 5, 2024

It's mostly how it works.
Get report from input, maps to a common input, then maps to the desired output mode and send it.
It also receives the logitech ffb and rpm leds commands, holds them in a buffer and sends to the real connected wheel.

Just making it work on ps2/ps3 should be trivial. It's a matter of having the correct vid:pid and usb descriptors.

I would not add support for hardware IO on this project as it's heavily tied to it's usb input. But forking it into another project would be ideal.

Btw check out the Santroller adapter. It can do two picos wireless and it can do "auth" on the modern consoles.

@EmanresuEmanreztuneb
Copy link
Author

EmanresuEmanreztuneb commented Mar 5, 2024

That gives Hope! :D

I tryed to make sense from what im reading while scrolling through the code, for some days now.
With google, i verry slowly get a picture, but im far from touching anything.

Long story short:
If you plan to create the verry first wireless wheel firmware any time, just let me know!

Maybe some weeks before you start... I may have to beg my wife for permission for such a donation :D

And thx for the link!
Looks like a goldmine with new puzzle pieces!

@sonik-br
Copy link
Owner

sonik-br commented Mar 5, 2024

We can talk more about the project :)
Have a discord account?

@EmanresuEmanreztuneb
Copy link
Author

We can talk more about the project :) Have a discord account?

Sure, got a link?

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