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 joypad problems

    Scheduled Pinned Locked Moved Help and Support
    vicec64joypad
    5 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.
    • chubstaC
      chubsta
      last edited by chubsta

      I have found everything in retro pie easy to set up so far but using a joypad in Vice is driving me nuts! I have followed the guide in the Wiki to the letter so you would expect it to work ok but it doesn't - neither directions or fire button work.

      my sdl-joymap-c64.vjm looks like this: (I don't understand any of it to be honest!)

      # 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
      
      # USB,2-axis 8-button gamepad  
      0 0 0 1 0 8
      0 0 1 1 0 4
      0 0 2 1 0 2
      0 0 3 1 0 1
      
      0 1 0 1 0 16
      0 1 1 1 0 16
      0 1 2 3
      0 1 3 1 1 16
      0 1 4 1 0 16
      0 1 5 4
      0 1 6 3
      0 1 7 1 1 16
      
      
      
      
      
      

      anyway, any and all advice appreciated!

      Raspberry Pi 400 - overclocked to 2.3GHz
      Theme - Comic book
      Emulators: All of them...
      Roms: Pretty much all of them...
      Favourite games: Circus Charlie, Gorf, Gauntlet Legends
      Controllers: Mayflash F101

      BuZzB 1 Reply Last reply Reply Quote 0
      • BuZzB
        BuZz administrators @chubsta
        last edited by

        @chubsta Please put configs etc in code blocks so they are readable - https://retropie.org.uk/forum/topic/3/read-this-first / http://commonmark.org/help/

        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

        chubstaC 1 Reply Last reply Reply Quote 0
        • chubstaC
          chubsta @BuZz
          last edited by

          @BuZz you learn something new every day! Thanks!

          Raspberry Pi 400 - overclocked to 2.3GHz
          Theme - Comic book
          Emulators: All of them...
          Roms: Pretty much all of them...
          Favourite games: Circus Charlie, Gorf, Gauntlet Legends
          Controllers: Mayflash F101

          1 Reply Last reply Reply Quote 0
          • N
            Neo-Rio
            last edited by

            I found it much easier to configure the joypads in the x64 VICE emulator menu.
            If you've already configured your joypads in emulation station, then it should just be an issue of going to machine settings, and setting the joystick ports away from keyboard to joystick. Then save the VICE configuration in the x64 VICE menu.

            Next time you restart VICE you won't have to mess with the joysticks again.

            chubstaC 1 Reply Last reply Reply Quote 0
            • chubstaC
              chubsta @Neo-Rio
              last edited by

              @Neo-Rio Thats the thing - my joypad works fine in ES, but even after setting them up in Vice itself they still don't work. Guess i could always just 'start again' - any idea what Vice-specific files i need to delete to clear the config?

              Raspberry Pi 400 - overclocked to 2.3GHz
              Theme - Comic book
              Emulators: All of them...
              Roms: Pretty much all of them...
              Favourite games: Circus Charlie, Gorf, Gauntlet Legends
              Controllers: Mayflash F101

              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.