I´ve bought a waveshare Game Hat for RPI (the portable gadget) and I´m not able to make it work. The problem is that they have not implemented the standard gpio pins for the buttons and I don´t know whether they can be remapped. I have read that mk_arcade_joystick_rpi 0.1.5 version (https://github.com/recalbox/mk_arcade_joystick_rpi/blob/hotkeybtn/README.md#pinout) has the option to remap gpio pins, but I think that this is not the version of the driver that comes with the latest version of batocera. The pinout that the GameHat has is:
start-40, select-7, up-29, down-31, right-35, left-33, A-37, b-32, x-36, Y-38, LT-12 and RT-16.
Is there anyway to map these pins or to update the driver?