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

    C64 lr-Vice Retroarch key mapping (keyboard)

    Scheduled Pinned Locked Moved Help and Support
    c64 lrviceipac 2keyboardkeymappingretroarch
    3 Posts 3 Posters 1.9k 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.
    • B
      Bram279b
      last edited by Bram279b

      Hi,

      I have build myself an arcade bar top with an I-PAC2 controller which is set to emulate a keyboard. Now I know the c64 games are not the best to emulate on a bar top but with the virtual keyboard it works pretty neat, until I came across the following issue.

      The game Hunchback is asking to use three buttons on the keyboard: '<', '>' and the 'a'.

      alt text

      This means the default mapped buttons are not working ( I do have the A button, but that is for player 2)

      Label       	Key				
      ------      	------
      COIN 1      		5   
      START 1 player  	1   
      START 2 players		2
      
      1 RIGHT     		R arrow
      1 LEFT      		L arrow
      1 UP        		U arrow
      1 DOWN      		D arrow
      1 SW 1 (A)     		L-ctrl
      1 SW 2 (B)     		space   
      1 SW 3 (X)    		z  
      1 SW 4 (Y)     		L-alt 
      1 SW 5 (L SHOULDER)     L-shift   
      1 SW 6 (R SHOULDER      X   
      1 SW 7 (L TRIGGER  	C	   
      1 SW 8 (R TRIGGER)      J   
      1 A (SELECT)		P   
      1 B (START) 		ENTER   
      
      
      2 RIGHT     		G   
      2 LEFT      		D   
      2 UP        		R   
      2 DOWN      		F   
      2 SW 1 (A)     	        A   
      2 SW 2 (B)     		Q   
      2 SW 3 (X)     		I   
      2 SW 4 (Y)     		S   
      2 SW 5 (L SHOULDER)     W   
      2 SW 6 (R SHOULDER)     K   
      2 A (SELECT)		ESC 
      2 B (START)		TAB
      

      Now I'm trying to change the 'left and right arrow' to '< and>'. (Maybe I do it for player 2 as the virtual mapping works fine for player 1). So basically:

      • Player 1 press left arrow -> map '<'
      • Player 2 press D -> Map '<'
      • Player 1 press right arrow -> map '>'
      • Player 2 press G -> Map '>'

      When I look in the settings of Retroach while I'm in the game I can find the following options:
      Quick Menu -> Controls -> Port 1 Controls

      alt text

      This won't work because I can only change the existing keys, for example I can make the 'Enter' key 'Up' or 'Left', etc.

      The other option I can find is:
      Settings -> Input -> Port 1 Binds

      alt text

      This won't work because I can only set the existing 'control' to different keys, for example 'Left' to 'comma' or 'period', etc. So I still need to press the comma or period.

      I did found out how to change it per game or manually but that leaves me with the same problem.

      alt text

      I can change stuff but it doesn't solve my problem. So the question is, is this possible and if so how? What am I missing here.

      (BTW it works fine with the an fake SNES controller, I have to choose the joystick and those buttons work fine with left to right 'A' for jump. Thanks!

      Retropie 4 md5: 1ea0cbf19991273cc8b50bbca7b52806

      jamrom2J 1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        @bram279b said in C64 lr-Vice Retroarch key mapping (keyboard):

        This won't work because I can only change the existing keys, for example I can make the 'Enter' key 'Up' or 'Left', etc.

        That may be because the device is set to 'RetroPad', have you tried changing it to 'Keyboard' ?
        But the game also accepts a joystick on port 2, have you tried to use core Options and select RetroPad Port = Port 2, you might be able to use the RetroPad as usual to control the game.

        1 Reply Last reply Reply Quote 0
        • jamrom2J
          jamrom2 @Bram279b
          last edited by jamrom2

          @bram279b What mitu said plus... you should just be able to swap joystick ports with the controller. It's built into the base mapping if you're using a SNES style controller.

          If not, it should be your "A" button, whatever that is. That should toggle.

          Try it with an easier game like Bruce Lee. Use the virtual keyboard as well as the controller to make sure you have it setup correctly.

          The Virtual Keyboard in lr-vice64 also has a button to press to toggle joysticks,

          1 Reply Last reply Reply Quote 0
          • 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.