From 61790c0dd28521aa88f16c32a88375b8cab42adb Mon Sep 17 00:00:00 2001 From: Coolie2 <36297934+Coolie2@users.noreply.github.com> Date: Wed, 22 Sep 2021 18:08:39 -0400 Subject: [PATCH] Update mednafen-09x.cfg to fix default Game Gear controls MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rather than constantly sending messages regarding my suggestions for fixes, I thought I'd try to be helpful by submitting pull requests for the things that I can figure out how to fix via configuration file changes. Having tested this modification myself with the Game Gear edition of Sonic Spinball, the only change I have made in this case is the reversal of the Game Gear's 1 and 2 inputs to match the layout of the original system: 1 → B and 2 → A, rather than the other way around as those controls are currently set. While the helpfulness of this change would vary from game to game, in Sonic Spinball it was quite helpful as 1 activates the left pinball bumper and 2 activates the right one. While this could otherwise be fixed by KEY files, as this change makes the Game Gear button mapping match that of the actual Game Gear, I think the change would make sense, and if anyone prefers the current mapping for whatever reason, I would be glad to add a general-use KEY file to swap the A and B inputs to the wiki here: https://wiki.funkey-project.com/wiki/List_of_pre-configured_KEY_files. I'll see if there's anything else in this configuration file that might be worth adjusting, but otherwise, if the other default emulators have similarly-adjustable configuration files, could I know where they are so I could conduct additional testing? Otherwise, I would also like to add a tutorial to the wiki instructing "power users" on how to use Commander to enable a few extra features such as the playlists of RetroFE, but after trying to map RetroFE functions to V, O, I, and J, several inputs normally usable via FN shortcuts but not usable outside of games, I still couldn't get those features to work. The only features I could get to work this way were the activate/deactivate favorites playlist and select random game features of RetroFE via the H (FN+DOWN) and S (START) keys, but otherwise I have not been successful in using the other features, which I would want to include in any tutorial I might write on the subject. While I used the commands listed in the RetroFE documentation, perhaps I made a mistake in implementing them, so if possible please let me know how I might implement the functionality either in the comments here or on Discord. Thanks again, -Coolie --- FunKey/board/funkey/rootfs-overlay/usr/games/mednafen-09x.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FunKey/board/funkey/rootfs-overlay/usr/games/mednafen-09x.cfg b/FunKey/board/funkey/rootfs-overlay/usr/games/mednafen-09x.cfg index e039c729..6c08ac2f 100755 --- a/FunKey/board/funkey/rootfs-overlay/usr/games/mednafen-09x.cfg +++ b/FunKey/board/funkey/rootfs-overlay/usr/games/mednafen-09x.cfg @@ -759,10 +759,10 @@ gg.enable 1 gg.forcemono 1 ;gg, Built-In, Gamepad: Button 1 -gg.input.builtin.gamepad.button1 keyboard 97 +gg.input.builtin.gamepad.button1 keyboard 98 ;gg, Built-In, Gamepad: Button 2 -gg.input.builtin.gamepad.button2 keyboard 98 +gg.input.builtin.gamepad.button2 keyboard 97 ;gg, Built-In, Gamepad: DOWN ↓ gg.input.builtin.gamepad.down keyboard 100