SourMesen / Mesen

Mesen is a cross-platform (Windows & Linux) NES/Famicom emulator built in C++ and C#
https://www.mesen.ca
GNU General Public License v3.0
1.26k stars 320 forks source link

Switch Pro Controller Plus Butten and Home Butten don't work #761

Closed FreskoYouTube closed 4 years ago

FreskoYouTube commented 4 years ago

I am using my Switch Pro Controller (vJoy and JoyCon Driver) for any other Emulator and the Plus Button and Home Button usualy work,but on Mesen they don't work,same Issue on Mesen-S.

SourMesen commented 4 years ago

Thanks for the report. Unfortunately I don't own a Switch, so I can't test with these controllers, which might make it a bit hard for me to fix this.

Could you send me a screenshot of the mappings for the buttons that do work? e.g: image

That might give me a clue as to why it doesn't work.

FreskoYouTube commented 4 years ago

The Plus Button is normally called "Button25" and the Home Button is normally called "Button28" in other Emulators Controller Plugin

SourMesen commented 4 years ago

Thanks - that was really helpful. There was a bug that meant all buttons above 25 or so were being ignored, which should hopefully fix this.

Could you try the next appveyor dev build and see if it fixes the issue? (should be available in a few minutes) https://ci.appveyor.com/project/Sour/mesen/build/artifacts

FreskoYouTube commented 4 years ago

Nice,it works now,did you fix it for Mesen-S too?

SourMesen commented 4 years ago

I just pushed the same fix for Mesen-S, so it should be fixed in the next appveyor build.

Thanks again for the report!