RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    lr-Vice: keyboard mapping on controller

    Scheduled Pinned Locked Moved Help and Support
    c64vicelr-viceretropie
    14 Posts 3 Posters 4.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mediamogulM
      mediamogul Global Moderator @DarishZone
      last edited by

      @darishzone

      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.

      RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

      1 Reply Last reply Reply Quote 0
      • D
        DarishZone Banned
        last edited by

        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

        mediamogulM 1 Reply Last reply Reply Quote 0
        • mediamogulM
          mediamogul Global Moderator @DarishZone
          last edited by

          @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.

          RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

          D 1 Reply Last reply Reply Quote 0
          • D
            DarishZone Banned @mediamogul
            last edited by DarishZone

            @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)

            mediamogulM 1 Reply Last reply Reply Quote 0
            • mediamogulM
              mediamogul Global Moderator @DarishZone
              last edited by

              @darishzone

              That should work fine.

              RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

              1 Reply Last reply Reply Quote 0
              • D
                DarishZone Banned
                last edited by

                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

                mediamogulM 1 Reply Last reply Reply Quote 0
                • mediamogulM
                  mediamogul Global Moderator @DarishZone
                  last edited by

                  @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.

                  RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                  D 1 Reply Last reply Reply Quote 0
                  • D
                    DarishZone Banned @mediamogul
                    last edited by

                    @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 :/

                    1 Reply Last reply Reply Quote 0
                    • D
                      DarishZone Banned
                      last edited by

                      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

                      mediamogulM 1 Reply Last reply Reply Quote 1
                      • mediamogulM
                        mediamogul Global Moderator @DarishZone
                        last edited by

                        @darishzone

                        Very nice! That'll be much easier than using an outside solution. I'll have to give it a try.

                        RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                        1 Reply Last reply Reply Quote 0
                        • D
                          DarishZone Banned
                          last edited by

                          I'm still experimenting, we never know, seems to good to be true :p

                          1 Reply Last reply Reply Quote 0
                          • Jungle JimJ
                            Jungle Jim
                            last edited by

                            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_n

                            Also, 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.

                            1 Reply Last reply Reply Quote 1
                            • First post
                              Last post

                            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.