Some joystick questions.

By syn

Prophet (2069)

syn's picture

18-02-2016, 14:02

Is there a easy way to map my pc joystick buttons to certain keys of the emulated msx? I'm told it can be done with binds but imo thats a bit complex way of doing it.

Also, would it be possible to remap the buttons in the emulated joymega?

Login or register to post comments

By Timmy

Master (176)

Timmy's picture

18-02-2016, 14:50

Have you already tried things like JoyToKey (or something equivalent)?

By syn

Prophet (2069)

syn's picture

18-02-2016, 15:00

I forgot all about joy2key tbh... havent used it for years now since in most emulators that I use I can just configure joystick mappings using a GUI.

By Wild_Penguin

Hero (641)

Wild_Penguin's picture

18-02-2016, 15:19

There is no GUI for this indeed. It would make sense to add it to the DOTO list, but I have no idea what's on the developers TODO list, what are their priorities and how much time they have Wink

You can bind things via the console in openMSX (F10), look in the documentation how. I *think* the settings are saved, but I'm not 100% sure.

By Manuel

Ascended (18256)

Manuel's picture

18-02-2016, 20:13

The only way is to use the bind command. You only need to set it up once.

By syn

Prophet (2069)

syn's picture

02-04-2016, 23:06

And how about this?

syn wrote:

Also, would it be possible to remap the buttons in the emulated joymega?

By Manuel

Ascended (18256)

Manuel's picture

03-04-2016, 00:06

JoyMega is similar to a normal joystick, but it accepts 6 host joystick buttons instead of 2.

By syn

Prophet (2069)

syn's picture

03-04-2016, 00:21

Ah crap, I didnt explain myself correctly sorry.

This has nothing to with the previous question. What I really mean is:

Can I change mapping between buttons? Eg map the buttons of my physical joystick to different buttons on the virtual emulated msx joystick?

By Wild_Penguin

Hero (641)

Wild_Penguin's picture

03-04-2016, 20:34

I'm a bit tired right now, but I think this is still exactly the same question?

You need to use the bind commands to map [whatever on your host machine running OpenMSX: keyboard key, joystick button etc.] to [whatever on the emulated MSX: MSX key, MSX joystick button, joymega button etc.] if you don't like the defaults.

By Manuel

Ascended (18256)

Manuel's picture

03-04-2016, 21:38

Check this out: http://openmsx.org/manual/commands.html#joystickN_config
Note that for JoyMega this setting doesn't work, see also https://github.com/openMSX/openMSX/issues/1017

Bind commands aren't useful for this, I think. You can use them (with some complexity) to trigger MSX joystick buttons or directions, but you can't 'unbind' the original mapping.

By syn

Prophet (2069)

syn's picture

04-04-2016, 12:31

Nice thanks Manuel.