libretro / FBNeo

FBNeo - We are Team FBNeo.
https://neo-source.com
Other
224 stars 134 forks source link

Feature Request: Keyboard to controller mapping (ColecoVision/MSX, etc) #4

Closed KMFDManic closed 5 years ago

KMFDManic commented 5 years ago

BlueMSX has truly excellent keyboard to controller mapping, that was implemented awhile back, on my request...thanks to fr500. ColecoVision/MSX games have the caveat of Coleco (keypad on the controller with numbers, etc) and MSX (many keybinds for games like Metal Gear 1/2 requiring F1/F2/F3/F4, N, A, Space Bar, etc.

This isn't a super high priority request. But, it would be very nice to have more optimal support to handle the nuanced control schemes for these systems, specifically.

Thanks so much, as always, for all the incredible work that you have all put forth in FBA!

I would have opened this request on the "newer fork" of FBA. But, it does not seem as if issues can be opened there, as of yet.

barbudreadmon commented 5 years ago

Every button for msx/coleco should already be mapped to the controller (the only exception is zx spectrum where i had to map emulated keyboard to the actual keyboard), you just have to use core/game remapping to fit your needs, or am i misunderstanding your request ?

KMFDManic commented 5 years ago

@barbudreadmon Thank you for the response. I will do more testing today. But, my initial testing was with several Coleco Games that loaded fine. But, they get to the selection screen for difficulty levels, and could not be bypassed. I went into controls, and saw the controls were mapped as up down left right and fire 1 fire 2. These generally worked fine for BlueMSX But, I found Cabbage Patch Kids Adventures in the Park (cabbage.zip) would not start. Some games, like Gyruss, do not have selection menus, so start absolutely fine with the fire button.

I am also very appreciative of the Adam Computer Coleco Super Games that were added. I really need to test those.

Again, thanks! I will do more testing the moment I can.

P.S.: On BlueMSX, most games bypass menu selection with fire button, with exception of Turbo, from my testing.

barbudreadmon commented 5 years ago

I went into controls, and saw the controls were mapped as up down left right and fire 1 fire 2

Every button is available for me, though the default mapping isn't nice : screenshot

Are you sure you aren't using an old version of the core ?

KMFDManic commented 5 years ago

@barbudreadmon I will try the latest commits and confirm whether controls are there or not. That mapping looks a lot better than in my test with just the 2 fire buttons:) Nice to see what appears to be the SGM version of Buck Rogers! How well do the SGM games run, anyways? I am particularly interested in Dragon's Lair and Buck Rogers, two of my mainstays from when I had an ADAM computer way back! I wanted a Commodore 64! But, I ended up getting an ADAM instead.

barbudreadmon commented 5 years ago

How well do the SGM games run, anyways?

I think they run well but i might be wrong since i never played them on the real hardware.

barbudreadmon commented 5 years ago

Can i close ?

KMFDManic commented 5 years ago

@barbudreadmon will close it to keep things tidy on your end. Thanks for your input and I will respond if I have any issues. I still did not get to test due to work. But, I should be able to today. Thanks!

KMFDManic commented 5 years ago

@barbudreadmon Ok, I found the cause of them not mapping. It was just a goof in the compile, which lead to a segfault, and it is now sorted. Thanks again