WaveShare Game Hat button mapping problems...
-
Hello, everyone. I feel like a bit of a douche making my first ever post here be a request for help, but I'm not exactly knowledgeable enough to actually contribute in any way other than hoping bringing up my problems and trying to find a solution from people much more knowledgeable can ultimately help someone else down the road.
Short summary of problem: I need to figure out how to remap the buttons on a WaveShare GameHat running Retropie when the device is...short of the number of buttons the configuration wizard expects to see.
Long summary of problem: The version of Retropie I'm using(see build summary below explanation) was pre-mapped and configured to use the Game Hat, but it has NOT mapped the two shoulder buttons. For most of the games I play, this is a non-issue, but when I load up SNES games this obviously comes to be an issue as the lack of L and R buttons renders some games unplayable. When I try to remap the controls in the configuration wizard I cannot do so as once I reach the point where there are no buttons left to map, I cannot continue. Exiting without finishing(which I can only do by shutting off the device) does not save the control mapping, meaning I can't fix the problem this way.
I've found more than a few guides for remapping outside of the configuration tools, but they're all for common gamepads with more buttons. I've not found one for the WaveShare Game Hat.
Build information:
Main hardware: Raspberry Pi 3 connected to WaveShare Game Hat
Power supply: 5000mAH Li-ion battery
Retropie version: 4.4 provided by WaveShare - https://www.waveshare.com/wiki/Game_HAT (Game-HAT-retropie-4.4-rpi2_rpi3-180713.img)If any other relevant information is needed, please let me know. Hope someone here can help out.
-
IIRC when setting up a controller holding any button will skip that button, so when you run out of buttons just hold one to skip the next buttons.
If for some reason that doesn't work then you can manually edit the controls in /opt/retropie/configs/all/retroarch.cfg
-
...I knew I was forgetting to include a detail...
I knew about how to skip assigning a button thanks to the numerous guides I found before resorting to making this post. Unfortunately...it doesn't work. I mean, it skips the next input option... But ONLY the next one. It won't skip any further.
So I guess I'll have to resort to the manual edits. Anything I should be aware of specific to the Game Hat that might be an issue before I start messing around?
-
that is strange, so when you release and hold again it just never skips after the first time?
"Anything I should be aware of specific to the Game Hat that might be an issue before I start messing around?" -
I doubt it. Looking the thing over it looks like it communicates with the pi over the pin outs, I wasn't aware you could connect a game pad that way. Thought those shoulder buttons look uncomfortable.
Have you tried the official retropie image?
-
The buttons aren't the most comfortable thing, no, but the whole package is a very nice compact handheld retro gaming device - about the size of a PSP, though a fair bit thicker. The analog stick is a bigger annoyance than the shoulder buttons because it sticks out about five miles, but even that's a minor annoyance. Sofar as I can tell it's the cheapest way to make a handheld retropie - especially if you want actual speakers on the device.
As for trying the official image, I have attempted to use it. I actually tried the official image first, but it requires an additional driver(which WaveShare provides) to recognize the controller input, and I was never able to get the driver to cooperate when I had to load it in myself. That may just be inexperience at play, missing some setting I was supposed to change, but after a few tries I gave up and used the WaveShare image.
-
...Huh. So, just to be sure, I went ahead and flashed the image again - I've done this twice before without success, but for some reason it worked this time and I've been able to remap the controls and skip all the unneeded inputs. Something must've glitched when I flashed the image to the card the previous couple times.
-
@FormulaFox Good deal.
The documentation for that thing was quite an interesting read.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.