Skip to content

X and Y buttons are flipped. #1

@spoink22

Description

@spoink22

I'm not sure if this is model-specific, but I have a Moga Hero model number 353. When using moga-uinput pressing the X button make various games think I have pressed the Y button, and the Y button thinks I'm pressing the X button.

I can fix this by changing lines 122-125 to these:
Y=MogaButton(3, libevdev.EV_KEY.BTN_NORTH),
B=MogaButton(1, libevdev.EV_KEY.BTN_EAST),
A=MogaButton(2, libevdev.EV_KEY.BTN_SOUTH),
X=MogaButton(0, libevdev.EV_KEY.BTN_WEST)

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