RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    SpinTrak Spinner added to RetroPie v3.7

    Scheduled Pinned Locked Moved Projects and Themes
    spintrakspinnerretropiedialultimarc
    6 Posts 3 Posters 6.3k 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.
    • hamakH
      hamak
      last edited by hamak

      Hello
      Today I got my USB SpinTrak from http://ultimarc.com/SpinTrak.html and Cato and I got it to work within an hour in advMame 0.94

      ---- Here is how we did it: ----
      nano /boot/config.txt
      usbhid.mousepoll= 2ms # Add this and Adjust it as needed after you have finished setup, not NOW...
      Reboot
      watch lsusb # connect and dissconnect device, i got: [ Ultimarc ] Yeah!!! it is detected!!!
      Check spinner input # My spinner was detected as [ mouse0 ]
      watch ls /dev/input # Connect and Disconnect to see what changes
      cat /dev/input/mouse0 # Spin the wheel left and ringt, you should get letters/signs/numbers in commandline now

      Edit advmame-0.94.0.rc # Add/edit following lines (only add if not existing) We are testing AdvMame 1.4 tomorrow
      device_mouse raw
      device_raw_mousedev[0] /dev/input/mouse0
      device_raw_mousetype[0] ps2
      input_map[p1_dialx] mouse[0,x]

      start a game like Arkanoid (we used this to test today)
      hit 5 on keyboard to add credits and 1 to start game

      We edited the ingame config file by pressing TAB after the game has started this way
      Analog Controls
      Dial Sensitivity 50% #Adjust this to your liking

      That's it ;-)

      http://aurora.klo.no/ftp/160518233912_image.jpeg
      http://aurora.klo.no/ftp/160518233825_trim.1CA1F581-CD35-4E77-9CBA-B6A6C3F17355.MOV


      Updated 20.05.2016 - Added global Coins,Start,Select and Exit game from buttons
      NB. This might not work for everyone but it is easy if you do not want to configure every game specific button action.
      edit and add these lines last in the config file: advmame-1.4.rc or the emulator you use.

      input_map[ui_select] joystick_button[0,4] or keyboard[0,enter]
      input_map[ui_cancel] joystick_button[0,3] or keyboard[0,esc]
      input_map[start1] joystick_button[0,9] or keyboard[0,1]
      input_map[start2] joystick_button[1,9] or keyboard[0,2]
      input_map[coin1] joystick_button[0,8] or keyboard[0,5]
      input_map[coin2] joystick_button[1,8] or keyboard[0,6]

      the same config but just for a specific game (arkanoid), NOT global:

      arkanoid/input_map[ui_select] joystick_button[0,4] or keyboard[0,enter]
      arkanoid/input_map[ui_cancel] joystick_button[0,3] or keyboard[0,esc]
      arkanoid/input_map[start1] joystick_button[0,9] or keyboard[0,1]
      arkanoid/input_map[start2] joystick_button[1,9] or keyboard[0,2]
      arkanoid/input_map[coin1] joystick_button[0,8] or keyboard[0,5]
      arkanoid/input_map[coin2] joystick_button[1,8] or keyboard[0,6]

      Br,
      Hamak

      S 1 Reply Last reply Reply Quote 0
      • BriganeB
        Brigane
        last edited by

        I didn't even knew such thing existed but it sure is a nice alternative if you need a trackball for games like Arkanoid. The only downside is the price IMO :)

        Systems: Raspberry Pi 0/2/3 Model B+
        Os: RetroPie 4.5
        Frontend: Emulationstation & Attract Mode

        1 Reply Last reply Reply Quote 0
        • S
          stayupthetree @hamak
          last edited by

          @hamak That is sweet! Have any specs or information on your build??

          hamakH 1 Reply Last reply Reply Quote 0
          • hamakH
            hamak @stayupthetree
            last edited by hamak

            @stayupthetree

            Full build with some pictures (20mb)
            http://klo.no/pi/RetroCade/Documents/RetroCade Dokumentasjon.pdf

            S 1 Reply Last reply Reply Quote 1
            • hamakH
              hamak
              last edited by

              Maybe Another alternative spinner/volume control, but this I have not tested.
              If someone has tested this and it works, then please post reply and I update main post with this as an alternative

              https://griffintechnology.com/us/powermate

              1 Reply Last reply Reply Quote 0
              • S
                stayupthetree @hamak
                last edited by

                @hamak Sweet! Thanks!

                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.