Keyboard mapping to gamepad for MSX/MSX2?
-
Hi all,
So I was messing about with the MSX (lr-blueMSX) and it's pretty awesome as an emulator. But it has a similar problem to other programs where you can't map keys to your gamepad.
Now I know this can be fixed with the xboxdrv mapping as one option, but I also remember on the spectrum lr-fuse someone managed to add function on the options menu so you can map the controller to individual keys.
This would be a great extra to add to any of the keyboard based emulators? Just wondering if the code for the PR is knocking around and would be useable on this emulator? Or the way the 2 cores treat keyboard presses would be totally different?
https://retropie.org.uk/forum/topic/16753/lr-fuse-joypad-to-keyboard-mapping
-
Hi 555,
Did some investigation for you, if it is possible to setup in the retroarch.cfg.
It seems it's not possible overthere.Indeed you should use xboxdrv !
I did use that in the past.Nowadays i just use my keyboard : (Perhaps a solution for you)
If you put something like this in your retroarch.cfg :
input_enable_hotkey = "tab"
Then you can make full use of your keyboard, if connected.
If you hold the "tab" key with another key, that is configured as some hotkey, than it will see that key as a hotkey.Hope my information is usefull.
-
So I discovered a much easier way to solve this than using xboxdrv, in the Retroarch menu in the later versions they've added in an option to map keyboards which applies for the MSX. Under Controls change the device type to RetroKeyboard, exit the menu then come back in; it'll have wiped all your controls. Then you can manually go through and apply the controls for the game and save that configuration.
The progress is shown here around the 4:30 mark (it's showing the Snes Classic running Retroarch but the program is the same), the first half of the video is getting commander keen to work (which for pi obviously the port is a much better option)
-
-
@retropieuser555 said in Keyboard mapping to gamepad for MSX/MSX2?:
So I discovered a much easier way to solve this than using xboxdrv, in the Retroarch menu in the later versions they've added in an option to map keyboards which applies for the MSX. Under Controls change the device type to RetroKeyboard, exit the menu then come back in; it'll have wiped all your controls. Then you can manually go through and apply the controls for the game and save that configuration.
The progress is shown here around the 4:30 mark (it's showing the Snes Classic running Retroarch but the program is the same), the first half of the video is getting commander keen to work (which for pi obviously the port is a much better option)
It took a while, but we used your solution now for a PC88 game.
It took me a long time to figure this out. But on PC88 it works. -
@folly Thinking about it, is it possible it might work on other cores? Is it a functionality all the lr cores share?
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.