Page 1 of 1

How to Map a Atari Style Joystick and Keyboard Simultaneously?

Posted: Mon Aug 22, 2022 3:37 pm
by emuola
My Mister works perfectly, but I don't understand how can I map two different controllers at the same time? I mostly use Atari-style joystick with computer cores, but arcade cores require way more buttons --> I'd need to maps some kays on the keyboard in addition to the joystick already mapped.

Could some one walk me through how to do that? Currently after I have mapped the joystick, I cannot get any of the keyboard keys to be recognized in the mapping screen. This is a user error for sure, but how could I tackle this?

Re: How to Map a Atari Style Joystick and Keyboard Simultaneously?

Posted: Mon Aug 22, 2022 4:28 pm
by fierman
It's pretty straighforward, albeit slightly confusing at first. Map joystick and when finished mapping, simply remap again using keyboard only. Your joystick mapping will stay intact and you can use them both at the same time.

Re: How to Map a Atari Style Joystick and Keyboard Simultaneously?

Posted: Tue Aug 23, 2022 12:58 pm
by emuola
fierman wrote: Mon Aug 22, 2022 4:28 pm It's pretty straighforward, albeit slightly confusing at first. Map joystick and when finished mapping, simply remap again using keyboard only. Your joystick mapping will stay intact and you can use them both at the same time.
Thank you, unfortunately I cannot get it to work for some reason. This is what I do:

1. I first map the joystick (one button, Atari style) from the System menu (behind F11) --> Joystick works fine in Mister menus and old computer cores, such as C64 etc.
2. I then start e.g. Track & Field and do additional mapping for that core using the keyboard. Mapping seems to go fine. --> Joystick seems to work, but the buttons mapped for the keyboard, e.g. Insert Coin etc, do nothing.

*EDIT*

It somehow seems core related: I can get e.g. Wizard of wor working, but Track & Field and Double Dragon (that seem not to have mapping for Start P1 and Start P2, just a mapping for Start) don't do anything when the Coin or Start button is pressed.

Re: How to Map a Atari Style Joystick and Keyboard Simultaneously?

Posted: Tue Aug 23, 2022 2:36 pm
by fierman
emuola wrote: Tue Aug 23, 2022 12:58 pm
fierman wrote: Mon Aug 22, 2022 4:28 pm It's pretty straighforward, albeit slightly confusing at first. Map joystick and when finished mapping, simply remap again using keyboard only. Your joystick mapping will stay intact and you can use them both at the same time.
Thank you, unfortunately I cannot get it to work for some reason. This is what I do:

1. I first map the joystick (one button, Atari style) from the System menu (behind F11) --> Joystick works fine in Mister menus and old computer cores, such as C64 etc.
2. I then start e.g. Track & Field and do additional mapping for that core using the keyboard. Mapping seems to go fine. --> Joystick seems to work, but the buttons mapped for the keyboard, e.g. Insert Coin etc, do nothing.

*EDIT*

It somehow seems core related: I can get e.g. Wizard of wor working, but Track & Field and Double Dragon (that seem not to have mapping for Start P1 and Start P2, just a mapping for Start) don't do anything when the Coin or Start button is pressed.
Try mapping both keyboard and joystick from within the core. MiSTer will store the mapping for your joystick, it will not delete it when you remap again for the keyboard. It really works. I use atari one button joysticks as well.

Re: How to Map a Atari Style Joystick and Keyboard Simultaneously?

Posted: Tue Aug 23, 2022 6:27 pm
by emuola
fierman wrote: Tue Aug 23, 2022 2:36 pm Try mapping both keyboard and joystick from within the core. MiSTer will store the mapping for your joystick, it will not delete it when you remap again for the keyboard. It really works. I use atari one button joysticks as well.
Sorry, but for some reason it does not work at least for Track & field and DDII. I noticed that Track & field wants to map first P1 right-left-down-up and then immediately (I presume) the same for P2. If I map the first 4 directions to the joystick and would then want to map another controller for the P2 directions, the mapping does not go forward, for example if I try to press cursor keys on the keyboard.

If I try to map the P1 directions first for the joystick, then re-map and "bypass the first 4 directions" and map the P2 controls for keyboard, I cannot get past the first 4 directions as it required some input before I can proceed to the P2 directions. Does this make any sense?

Is this normal? Latest cores and latest Mister software.

Re: How to Map a Atari Style Joystick and Keyboard Simultaneously?

Posted: Tue Aug 23, 2022 6:54 pm
by fierman
emuola wrote: Tue Aug 23, 2022 6:27 pm
fierman wrote: Tue Aug 23, 2022 2:36 pm Try mapping both keyboard and joystick from within the core. MiSTer will store the mapping for your joystick, it will not delete it when you remap again for the keyboard. It really works. I use atari one button joysticks as well.
Sorry, but for some reason it does not work at least for Track & field and DDII. I noticed that Track & field wants to map first P1 right-left-down-up and then immediately (I presume) the same for P2. If I map the first 4 directions to the joystick and would then want to map another controller for the P2 directions, the mapping does not go forward, for example if I try to press cursor keys on the keyboard.

If I try to map the P1 directions first for the joystick, then re-map and "bypass the first 4 directions" and map the P2 controls for keyboard, I cannot get past the first 4 directions as it required some input before I can proceed to the P2 directions. Does this make any sense?

Is this normal? Latest cores and latest Mister software.

Just remap everything with the keyboard only. It will keep the joystick maps. It will not overwrite them. It works fine here.

Re: How to Map a Atari Style Joystick and Keyboard Simultaneously?

Posted: Wed Aug 24, 2022 12:25 pm
by emuola
fierman wrote: Tue Aug 23, 2022 6:54 pm
emuola wrote: Tue Aug 23, 2022 6:27 pm
fierman wrote: Tue Aug 23, 2022 2:36 pm Try mapping both keyboard and joystick from within the core. MiSTer will store the mapping for your joystick, it will not delete it when you remap again for the keyboard. It really works. I use atari one button joysticks as well.
Sorry, but for some reason it does not work at least for Track & field and DDII. I noticed that Track & field wants to map first P1 right-left-down-up and then immediately (I presume) the same for P2. If I map the first 4 directions to the joystick and would then want to map another controller for the P2 directions, the mapping does not go forward, for example if I try to press cursor keys on the keyboard.

If I try to map the P1 directions first for the joystick, then re-map and "bypass the first 4 directions" and map the P2 controls for keyboard, I cannot get past the first 4 directions as it required some input before I can proceed to the P2 directions. Does this make any sense?

Is this normal? Latest cores and latest Mister software.

Just remap everything with the keyboard only. It will keep the joystick maps. It will not overwrite them. It works fine here.
I tried that also, but unfortuntaly it does not work. Coin button (no matter where I map it on the keyboard) does not do anything. For some cores yes, for some not. Is this somekind of "cores not being compatible with the new way of controls handling" -kinda problem?

Re: How to Map a Atari Style Joystick and Keyboard Simultaneously?

Posted: Wed Aug 24, 2022 1:21 pm
by fierman
emuola wrote: Wed Aug 24, 2022 12:25 pm
fierman wrote: Tue Aug 23, 2022 6:54 pm


Just remap everything with the keyboard only. It will keep the joystick maps. It will not overwrite them. It works fine here.
I tried that also, but unfortuntaly it does not work. Coin button (no matter where I map it on the keyboard) does not do anything. For some cores yes, for some not. Is this somekind of "cores not being compatible with the new way of controls handling" -kinda problem?

Woops, sorry. I see what you mean. This is specific for only a few cores it seems. Track&Field is one of them - apparently the mapping of keyboard controls is seen by the game as player two input. coin and start etc do work, but the left/right/center buttons on keyboard are then assigned to player 2. And player one is stuck with the one atari button only indeed. Can't figure a way out either for this one.

Re: How to Map a Atari Style Joystick and Keyboard Simultaneously?

Posted: Thu Aug 25, 2022 4:42 am
by emuola
Woops, sorry. I see what you mean. This is specific for only a few cores it seems. Track&Field is one of them - apparently the mapping of keyboard controls is seen by the game as player two input. coin and start etc do work, but the left/right/center buttons on keyboard are then assigned to player 2. And player one is stuck with the one atari button only indeed. Can't figure a way out either for this one.
Ok, yeah, that seems to be the case. Just wondering: if and when I'm getting me two individual arcade sticks with at least 6 buttons each, will Track & field work properly then? That's one of my very favourite arcade games ever, especially in 2-player mode.