Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

X and Y buttons are flipped. #1

Open
spoink22 opened this issue Mar 3, 2024 · 0 comments
Open

X and Y buttons are flipped. #1

spoink22 opened this issue Mar 3, 2024 · 0 comments

Comments

@spoink22
Copy link

spoink22 commented Mar 3, 2024

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant