BeebEm: Can we map keys to joystick soon?

want to talk about MESS/model b/beebem/b-em/electrem/elkulator? do it here!
Commie_User
Posts: 916
Joined: Wed Jan 27, 2016 12:50 am

BeebEm: Can we map keys to joystick soon?

Postby Commie_User » Thu Oct 26, 2017 1:22 pm

I'd love to play many games 'properly' when they only carry keyboard control. Games even like Last Ninja or Barbarian, which have joysticks on other platforms. Adding to the problem is having games with Z,X,/ and :
for controls, meaning I have to also hit SHIFT for one of the controls.

It would be nice to have a kempston-type thing for the emulator at least.

User avatar
tricky
Posts: 1917
Joined: Tue Jun 21, 2011 8:25 am
Contact:

Re: BeebEm: Can we map keys to joystick soon?

Postby tricky » Fri Oct 27, 2017 12:21 pm

I posted versions of beebem and b-em for Windows that let you map the joystick and all of its buttons to keys.
I did it for running in a name cabinet, so it uses a config text file to allow each game to have different configs and allows mapping combinations to quit the emulator.
I also wrote a launcher with tiled screenshots to allow game selection.
I'm not sure where I posted it, but will have a look if you are interested.
It also allows mapping many joysticks so that you can play multistick games or more than one player.

PS you can remap the keys in both emulators, so you shouldn't have to use shift.

Commie_User
Posts: 916
Joined: Wed Jan 27, 2016 12:50 am

Re: BeebEm: Can we map keys to joystick soon?

Postby Commie_User » Fri Oct 27, 2017 12:59 pm

That sounds fantastic. Do you have a joymap file to share because I never worked anything out? I take it from the links, you are rewriting software itself game-by-game for joystick.

Looks like we have to wait for the actual guys to update their product.

I took a look at a keymap file myself and got this....

Code: Select all

*** BeebEm Keymap ***

-9 0 0 -9 0 1
-9 0 0 -9 0 1
-9 0 0 -9 0 1
-9 0 0 -9 0 1
-9 0 0 -9 0 1
-9 0 0 -9 0 1
-9 0 0 -9 0 1
-9 0 0 -9 0 1
5 9 0 5 9 1
6 0 0 6 0 1
-9 0 0 -9 0 1... Etc.


...which is groovy and all but I don't know what it means.


I tried messing around with that keyboard remap thing but I obviously don't know what I'm doing. I enter what I want to remap a key to but things just seem to stay all the same. And it certainly doesn't respond to my joypad.

chrisn
Posts: 311
Joined: Sat Apr 19, 2014 11:31 am
Location: UK

Re: BeebEm: Can we map keys to joystick soon?

Postby chrisn » Fri Oct 27, 2017 1:40 pm

tricky wrote:I posted versions of beebem and b-em for Windows that let you map the joystick and all of its buttons to keys.

It would be great to get these changes into a future release of BeebEm. Do you have a link to the post? Then I'd just need to find some time to take another look at BeebEm...

User avatar
pau1ie
Posts: 320
Joined: Thu May 10, 2012 9:48 pm
Location: Bedford

Re: BeebEm: Can we map keys to joystick soon?

Postby pau1ie » Fri Oct 27, 2017 4:28 pm

I have never tried it, but another option would be to use a remapper program such as antimicro
I'm working on http://bbcmicro.co.uk

User avatar
tricky
Posts: 1917
Joined: Tue Jun 21, 2011 8:25 am
Contact:

Re: BeebEm: Can we map keys to joystick soon?

Postby tricky » Fri Oct 27, 2017 5:49 pm

Here is the thread.
I'll dig out the others, but it might not be until next week, poke me or reply here and I'll try to remember.

PS I only updated the maps for a few games, but making the default ZX /: RETURN SPACE seems to do most.

Commie_User
Posts: 916
Joined: Wed Jan 27, 2016 12:50 am

Re: BeebEm: Can we map keys to joystick soon?

Postby Commie_User » Fri Oct 27, 2017 6:59 pm

pau1ie wrote:I have never tried it, but another option would be to use a remapper program such as antimicro



Whoa, it works! Cheers. 8)



KEYBOARDER.jpg


Simply install it, run it and map whichever keystrokes to the buttons you're pressing. In my case, an original generation 1 Playstation controller - excellent for games with so many buttons that you need hands like an octopus (or an MP). The joypad presses illuminate and all you do is click on one and assign.



KEMPSTON!!!!


Return to “emulators”

Who is online

Users browsing this forum: No registered users and 1 guest