Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord
    1. Home
    2. tanataur
    3. Best
    • Profile
    • Following 1
    • Followers 1
    • Topics 12
    • Posts 61
    • Best 2
    • Controversial 0
    • Groups 0

    Best posts made by tanataur

    • RE: Beginners help with MiniPac

      I have a mini pac too, i can share to you my config file if you want.

      posted in GamePad/GPIO/USB encoder
      tanataur
      tanataur
    • RE: Light gun aimtrak de Ultimarc

      Oui oui ça l 'air d'être le cas, voici le howto ci-dessous mais il y a 2 choses que je ne saisie pas.

      1. "right value for input_map[p1_lightgunx] ," comment on fait pour trouver cette valeur?
      2. quelle commande il faut utiliser pour identifier l'ID usb du gun?

      Le howto :

      Configuration

      edit ~/.advance/advmame.rc

      set the following:

      device_mouse none to disable the support for mouse even if the gun is configured to report as a mouse

      device joystick event to ask advmame to use linux event interface

      Next you need to configure the gun itself, especially the different axes. For player 1 you need to find the right value for input_map[p1_lightgunx] and input_map[p1_lightguny]

      Assuming you have configured the gun to use device ID 0x1601, the configuration is:

      input_map[p1_lightgunx] joystick[d209_1601_2,0,0]
      
      input_map[p1_lightguny] joystick[d209_1601_2,0,1]
      

      d209 is the usb vendor Id of the gun (fixed value)
      1601 is the usb product Id
      2 is the usb device interface (fixed value)
      Then configure the trigger.

      input_map[p1_button1] joystick_button[d209_1601,0]
      
      posted in Manettes/GPIO/Encodeurs
      tanataur
      tanataur