sonik-br / lgff_wheel_adapter

Adapter for Logitech force feedback wheels
GNU General Public License v3.0
19 stars 1 forks source link

Open up Inputs for Hardware IO #7

Open EmanresuEmanreztuneb opened 7 months ago

EmanresuEmanreztuneb commented 7 months ago

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.

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 commented 7 months ago

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 commented 7 months ago

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 commented 7 months ago

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 commented 7 months ago

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 commented 7 months ago

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

EmanresuEmanreztuneb commented 7 months ago

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

Sure, got a link?