Skip to content

NSO ZL ZR not working #30

@SeniuuS

Description

@SeniuuS

Hi, the ZL ZR are not working Switch emulators.
I can configure them through parsec, but the behaviour is not the same as pro controller.
The bindings are not available in yuzu etc...

I just commented these lines in JoyConDecoder.cpp:431 :

//if (state & BUTTON_L_SHOULDER) report.Report.wButtons |= DS4_BUTTON_SHOULDER_LEFT;
//if (state & BUTTON_R_SHOULDER) report.Report.wButtons |= DS4_BUTTON_SHOULDER_RIGHT;
if (state & TRIGGER_LT_MASK) report.Report.wButtons |= DS4_BUTTON_SHOULDER_LEFT;
if (state & TRIGGER_RT_MASK) report.Report.wButtons |= DS4_BUTTON_SHOULDER_RIGHT;

To have the same behaviour as pro controller.
Regards.

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