Skip to content

Length 0 instead of 0xFFFF for infinite effect duration. #26

@groybe

Description

@groybe

Name of the game: Fedit
Steam ID: No Steam
Game version: 1.0
Game Type (native/proton/wine): Wine
Proton/Wine version: wine-7.2 (Staging)
Wheel Model: OpenFFBoard (https://github.com/Ultrawipf/OpenFFBoard)
Compatibility Mode: None
Distribution: Fedora 34
Kernel version: 5.16.12-100

Force Feedback present: No
Symptoms or Special Notes: Fedit (also I tried Richard Burns Rally) My wheel recieves length as 0 instead of 0xFFFF for infinite effect duration.

I used rohitab api monitor to confirm that dinput out of fedit sends 0xFFFF so I guess this might not be a wine issue.
At this point I'm lost. Can anyone point me where to look next?

Native program Tux racer appears to work although only in one direction but I think that's a whole other issue.

The creator of OpenFFboard has confirmed it arrives at the OpenFFBoard itself as 0xFFFF on a windows machine. They seem to think it is a linux issue.
My G25 wheel gets sent 0 as length but seems to just accept this and play the effect anyways.
Should the openFFBoard handle this the same way? I'm not sure this would be to standards?

The log on wine staging is empty for some reason. But the wrapper is working. I've added a length overwrite here and it works.

Log from wine lutris-5.7-11-x86_64
000034473776 > UPLOAD id:2 dir:15681 length:0 delay:0 type:CONSTANT level:-8192 attack_length:0 attack_level:32000 fade_length:0 fade_level:32000

Thanks for anyone who takes the time to look at this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions