lr-Vice: keyboard mapping on controller
-
Finding a way to map keyboard commands on controller, for example how to map spacebar on button so i can play games like Rambo II or 1942 with controller only.
I noticed emulators like lr-bluemsx already do that, there's a way to do the same with lr-vice? It never seems to save control settings on exit. -
As far as i know even lr-Caprice automap spacebar on controller button, you can full play Turrican for example, which is way more difficult with keyboard-controller combo. I wonder if lr-vice developing could add similar setting...
-
I use xboxdrv for this. Anecdotally, On the C64, I never liked pressing up to jump in 'The Great Gianna Sisters', so I mapped it to the 'A' button and the fireball to 'B', like in 'Super Mario Bros.', which of course Gianna Sisters is aping from the start. Also, some of the other items are keyboard only, so I mapped them to face buttons as well.
-
Thank you for response.
I was wrong about caprice... it maps 1,2 keyboard keys on controller aside fire button, not spacebar. I was confused playing 1942 where you can make a roll with "1" or button controller.
I will try your solution, even if i like to use my lovely Saturn original controller with adaptor :D -
@darishzone said in lr-Vice: keyboard mapping on controller:
I will try your solution, even if i like to use my lovely Saturn original controller with adaptor :D
You should be able to use your Saturn controller adapter with xboxdrv. I assume it just registers as a USB joystick event.
-
@mediamogul said in lr-Vice: keyboard mapping on controller:
@darishzone said in lr-Vice: keyboard mapping on controller:
I will try your solution, even if i like to use my lovely Saturn original controller with adaptor :D
You should be able to use your Saturn controller adapter with xboxdrv. I assume it just registers as a USB joystick event.
Yeah RetroPie register like Ouija controller (from the adapter presume)
-
That should work fine.
-
Thanks so much for your support.
I find this method too complicated for my knowledge lol, also think this user find a potentially good "shortcut" to the issue, please take a look
https://retropie.org.uk/forum/topic/18078/lr-vice-drive-emulation-mapping-keyboard-strokes/53 -
@darishzone said in lr-Vice: keyboard mapping on controller:
I find this method too complicated for my knowledge lol
It's an involved process for sure. If you ever were to explore it, just take one step at a time with no expectations and you'll likely surprise yourself.
think this user find a potentially good "shortcut" to the issue, please take a look
I'm afraid those settings are only to allow a keyboard to be mapped to RetroArch's virtual 'retropad'. You could use those settings to allow the Commodore 64 to see your keyboard as a joystick, but not the other way around.
-
@mediamogul said in lr-Vice: keyboard mapping on controller:
@darishzone said in lr-Vice: keyboard mapping on controller:
I find this method too complicated for my knowledge lol
It's an involved process for sure. If you ever were to explore it, just take one step at a time with no expectations and you'll likely surprise yourself.
think this user find a potentially good "shortcut" to the issue, please take a look
I'm afraid those settings are only to allow a keyboard to be mapped to RetroArch's virtual 'retropad'. You could use those settings to allow the Commodore 64 to see your keyboard as a joystick, but not the other way around.
Yeah, it does not work, bummer :/
-
I figured out, you can remap keys on buttons first selecting "RetroPad" on controls menu on Retroarch, then go to Options and change Controller0 type to "joystick".
I always selected Vice Joystick and i thought it was a specific controller type setting, but seems adaptable.
For now i can use space, Run Stop and other keys, but space was my command of interest.
I feel a bit stupid, but the important thing is to get the result :D -
Very nice! That'll be much easier than using an outside solution. I'll have to give it a try.
-
I'm still experimenting, we never know, seems to good to be true :p
-
Hey thanks guys this really works with lr-vice!
I can map several keys to my retropad (I use a PS3 sisaxis), including the joystick swap and the virtual keyboard. I mapped Y,N,1,2,return,space,F!. Here is my configuration as an example (in the retroarch options menu):
show mapping options: on
hotkey toggle virtual: keyboard retrok_f11
hotkey switch joyports: retrok_rshift
retropad select: toggle vkbd
retropad start: retrok_rshift
retropad b: --- (=fire)
retropad a: retrok_return
retropad y: retrok_space
retropad x: retrok_f1
retropad L: retrok_1
retropad R: retrok_y
retropad L2: retrok_2
retropad R2: retrok_nAlso, if you have trouble inputting some letters in text-based games (like A or S), you must chose "physical keyboard pass-through: on" and everything will be OK.
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.