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

    Analog Input Help

    Scheduled Pinned Locked Moved Help and Support
    inputanalog
    1 Posts 1 Posters 425 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.
    • AlturisA
      Alturis
      last edited by

      From what I have read about input configs it seems like setting up analog control should not be too difficult.

      I have just one joypad hooked up as js0 which is an Xbox 360 wireless.

      I ran jstest /dev/input/js0 and confirmed that the left stick x/y is analog axes 0 and 1, and the right stick is axes 2 and 3.

      Within a particular game's cfg file (roms/arcade/spyhunt.zip.cfg) I have what I think should be the analog bindings enabled. (from reading the default retroarch.cfg)

      input_player1_l_x_plus = +0
      input_player1_l_x_minus = -0
      input_player1_l_y_plus = -1
      input_player1_l_y_minus = +1
      

      I am using AdvMame to emulate this rom and trying to use the in-game menus to bind an analog axis to the pedal and steering wheel. But thus far I have never been able to get it to detect analog input.

      I was pursuing some other solutions previously that involved the use of xboxdrv but it seems like if I have a joystick that is already correctly sending analog info I should just be able to bind that without too much complexity.

      RP 4.7.1 • Pi4 4Gig • CanaKit Aluminum • 64GB microSD • 1920x1080 BarTop [2 Sanwa sticks]

      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.