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

    VICE Joystick Mapping for NES30 PRO / FC30 PRO

    Scheduled Pinned Locked Moved Help and Support
    nes30 profc30 provicejoystickmapping
    4 Posts 2 Posters 2.7k 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.
    • N
      nbk
      last edited by nbk

      Hi all. Just bought a NES30 Pro controller because of connection issues with my previous NES30 devices in combination with retropie (also due to firmware issues). It works perfectly so far and i finally don't have to switch between analogue and digital mode if i want to use the VICE emulator in combination with other emulators.

      The joystick mapping in VICE is a little bit special though. I managed to map the warp mode and the Emulator Menu (F12) to a Joystick key.

      But I would also like to map the space + ESC key to joystick buttons. Has anybody successfully mapped those buttons for the above mentioned devices? / can somebody who did perhaps post their sdl-joymap-C64.vjm file here? Thanks in advance!

      mine looks like this so far:

      # VICE joystick mapping file
      #
      # A joystick map is read in as patch to the current map.
      #
      # File format:
      # - comment lines start with '#'
      # - keyword lines start with '!keyword'
      # - normal line has 'joynum inputtype inputindex action'
      #
      # Keywords and their lines are:
      # '!CLEAR'    clear all mappings
      #
      # inputtype:
      # 0      axis
      # 1      button
      # 2      hat
      # 3      ball
      #
      # Note that each axis has 2 inputindex entries and each hat has 4.
      #
      # action [action_parameters]:
      # 0               none
      # 1 port pin      joystick (pin: 1/2/4/8/16 = u/d/l/r/fire)
      # 2 row col       keyboard
      # 3               map
      # 4               UI activate
      # 5 path&to&item  UI function
      #
      
      !CLEAR
      
      # 8Bitdo NES30 Pro
      0 0 0 1 1 8
      0 0 1 1 1 4
      0 0 2 1 1 2
      0 0 3 1 1 1
      0 0 4 1 0 8
      0 0 5 1 0 4
      0 0 6 1 0 2
      0 0 7 1 0 1
      0 0 8 5 Speed settings&Warp mode
      0 0 9 1 1 4
      0 0 10 5 Speed settings&Warp mode
      0 0 11 1 1 1
      0 1 3 2 7 4 # attempt to map space bar
      
      0 1 0 1 1 16
      0 1 1 4
      0 1 2 3
      0 1 3 1 0 16
      0 1 4 5 Speed settings&Warp mode
      0 1 5 4
      0 1 6 3
      0 1 7 1 0 16
      0 1 8 1 1 16
      0 1 9 4
      0 1 10 3
      0 1 11 1 0 16
      0 1 12 1 1 16
      0 1 13 4
      0 1 14 3
      0 1 15 1 0 16
      
      0 2 0 1 1 1
      0 2 1 1 1 2
      0 2 2 1 1 4
      0 2 3 1 1 8
      
      
      RionR 1 Reply Last reply Reply Quote 0
      • RionR
        Rion @nbk
        last edited by

        @nbk Hi!

        I think this is exactly what you are looking for .

        @mediamogul Created this wonderful guide

        Guide: Advanced Controller Mappings

        Ps. You don't have to use a "System wide configuration" Instead you can use Key-Mapping For Individual Emulators.

        FBNeo rom filtering
        Mame2003 Arcade Bezels
        Fba Arcade Bezels
        Fba NeoGeo Bezels

        1 Reply Last reply Reply Quote 0
        • N
          nbk
          last edited by

          @Rion: thanks for the link - I found another way to assign keys directly to the joysick/joypad:

          when you move the cursor to a specific menu entry in vice you can actually assign this very function to a joystick button by pressing the keyboard letter 'm'. Afterwards you will be asked to assign this function (e.g. Warp Mode, Pause, Quit Emulator, etc...) as 'hotkey' by pressing the joypad button of your choice. Furthermore you can even assign specific keyboard buttons by activating 'virtual keyboard'. While it's being displayed you simply have to go to the key you want to be mapped, press 'm' again and assign it to a joystick-button.

          --> now I can assign all the important keys to my controller in vice. Works with other models as well of course.

          RionR 1 Reply Last reply Reply Quote 2
          • RionR
            Rion @nbk
            last edited by

            @nbk Great find!

            FBNeo rom filtering
            Mame2003 Arcade Bezels
            Fba Arcade Bezels
            Fba NeoGeo Bezels

            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.