Skip to content

Reconsider xpadneo profile switching implementation #14713

@kakra

Description

@kakra

Hello @slouken, @smcv!

Just to let you know in case some code needs adjustment...

Commit 53eff7f introduced support for xpadneo pseudo buttons and axes:

Compared with the in-kernel driver, it adds four pseudo-buttons used to indicate which profile is active, and an optional "misc" axis that combines the two triggers into a rudder.

Current xpadneo 0.10 is going to deprecate the combined axis, it is disabled by default. It probably remains in the usage list no matter the setting. The abs bit for this axis will be completely dropped once I remove the deprecated feature in v0.11. I didn't check if the code does handle that case.

More important, exposing the profile button will change to align with the kernel which supports ABS_PROFILE since kernel 6.0-rc1. So v0.10 will change from individual pseudo-buttons to an axis with 4 values:

atar-axis/xpadneo@a732da1

The feature may be back ported to the v0.9 branch and will be in v0.10 (soon to be released).

Take note, that the master branch version is v0.9-COMMITNUMBER which is actually the v0.10 development branch (I should probably add a versioned devel tag), while v0.9.x are tags from the v0.9 stable branch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions