Skip to content

SetLTriggerAxis erronousely sets the right trigger axis #323

Closed
@Lokno

Description

@Lokno

The following method in imgui-SFML.cpp is setting the wrong internal variable. Issue identified and corrected in RahiTuber.

void SetLTriggerAxis(sf::Joystick::Axis lTriggerAxis)
{
    assert(s_currWindowCtx);
    s_currWindowCtx->rTriggerInfo.axis = lTriggerAxis;
}

Direct link to method: https://github.com/SFML/imgui-sfml/blob/070d6ab9aa98c997b1fa846175d3faf93de3866e/imgui-SFML.cpp#L754C1-L758C2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions