Skip to content

add an option to invert pedals axis values ? #119

@aderumier

Description

@aderumier

Hi,

I have problems with some games or emulator with a g29 pedals, where the game is seeing the pedal full pressed when unpressed, and unpressed when full pressed.

I have checked with evtest, the values are 255 unpressed (max value) and 0 pressed (min values).

That seem to be wrong, if I compare with my logitech G pro pedals, where values are

0 (unpressed) ---> 65536 (pressed)

or my xbox260 && ps5 controllers, where trigger values are

0 (unpressed) ---> 256 (pressed)

Some games seem to handle this correctly, but wine for example, to do xinput|dinput translation, is really seeing the values reverted. and if the game if don't have an option to invert the axe, they are not way to inverse them. (SDL mapping can't revert value too).

On linux, Supermodel emulator (model3 arcade) is also seeing the values reverted.

It could be fantastic to have a sysfs knob to dynamically invert the pedals value

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions