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
Support for Logitech PRO Racing Wheel #135
Comments
Of course. We should add the vendor/product ids for the wheel. They can be read using Once added so it gets recognized, the wheel, pedals and buttons have to be tested to see if the mappings are correct. Please, state which version do you have too, PlayStation or XBox. |
I have the Xbox/PC version. Already got some readings with jstest, so I know the wheel works in the first place. 🎉 I'll try if I manage to get it recognized in the following days when I have some free time. |
Is It possible that Xbox/Pc version has different product Id than the PS/Pc one? |
Yes, very probably based on what we know about previous models. |
Oversteer now recognizes the wheel. Working:
Not working:
The clutch pedal including both clutch paddles registers as a break pedal, but behaves weirdly. Gas and break have no effect. Turning the Left Adjustment Dial to the right seems to register as B24, but turning it to left or pushing doesn't register to any button slot. Here's my changes: atzufuki#1 I had to comment out |
I don't think this device should be supported by new-lg4ff. Hopefully it will use some other known protocol like HID++ or PIDFF and it could work with the corresponding modules with some adjustments. Someone will have to figure out unless Logitech helps us. The axes and buttons should work though. The issue is probably that we're not mapping them correctly. You can use I'll see why you had to comment out any functions, it shouldn't be needed. |
I see. This constant
Thanks, I'll make the list. Before that I might actually update the firmware with G Hub (if any), once I get a Windows machine running... |
Okay so there is 4 event types which are mapped to that
I'' paste the missing events as is: Xbox button
Left Dual Clutch Paddle
Right Dual Clutch Paddle
Left Adjustment Dial and push button
Throttle
Break
Clutch
|
So the clutch paddles and pedal share the same axis. Is that right? Are they doing the same function? |
Yes, but according to this document (page 14), they can be assigned to other axis as well. |
I think this issue is already fixed. Now I'll do the mapping of the device axes and buttons. You might be interested in following this thread (berarma/new-lg4ff#82) were there's a discussion to make this wheel work with the hidpp driver. |
Here's the repo where development for the G Pro wheel is at JacKeTUs/hid-logitech-hidpp |
@atzufuki the repo above should be usable now if you'd like to test it |
@motolav Tested with fftest and Oversteer's testing utility. The FFB seems to be working fine. 👍 |
I messed around with the pedal axles and got rid of the weird behavior I mentioned earlier.
Here's what I did. Seems quite big of a change compared to other normalizations, so I'm wondering if it is really necessary? atzufuki@0500f3a#diff-2ebf1a818f5427cf31b5cc3cb067a8c39787b328f11ed9da77967eb57acd20d1R387 |
Can you explain a bit for future reference?
Probably. As long as the controls show right, it's probably right. I'll review it and maybe do some changes to avoid duplication of code if necessary. Can you make a PR? Thanks! |
Here's the PR #153. I guess you can link it with this issue? (I mainly use Gitlab, the flow is a bit different)
Yes so basically G PRO's pedals seem quite sensitive. By this I mean that the event value for the pedals goes all the way up to 65535 (the maximum value I was able to get while pressing the throttle down). Now I assume that the max value for the pedals in Oversteer is 257, since this existing configuration for Fanatec used that value as a divisor.
But since that calculation had a reversed result with the G PRO, I had to unreverse it with |
I've merged the PR and made some changes that I hope are correct. Can someone please test it? |
The reorganization itself looks good and seems to work in my test. However since I now learned that the range for the axes is actually 0-255, I think the divisor should be 255 as well, not 257. And same goes for the Fanatec configuration. Therefore I would suggest this change: Or am I missing something? Is there a real reason for the divisor being 257 and not 255? |
Then another topic. We still need to map the rest of the buttons: Xbox button
Left Adjustment Dial and push button
I don't have any ideas where they should get mapped though. |
We're converting from [0, 65535] to [0, 255]. Intuitively, we might think |
They should be mapped as buttons. I've counted 28 buttons/triggers from the posted evtest run. Currently, the interface only shows 25 buttons. I'll have to add a few more. |
Can you please test the latest master? It should show all buttons now. |
Of course, had some brain fog.
Tested the latest master and all buttons are now showing. 🎉 |
Guys, is Force Feedback working for you? I can't seem to change any settings in the application. |
That's an issue related to the drivers. |
Hello,
I now own the new PRO wheel, so I am willing to help getting it supported in Oversteer.
The wheel has a G923 compatibility mode, which Oversteer seems to detect fine, but I think detecting the wheel in default mode as well wouldn't hurt anybody.
The text was updated successfully, but these errors were encountered: