Homepage Forums RetroPie Project Controller Configuration in RetroPie How to run script when js0 button 3 is pressed

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #99884
    hamak
    Participant

    Hello there
    When I run jstest /dev/input/js0 I see all action on my buttons.
    Can I use one button to run a script to do this:
    sudo asound sset Master +1%

    and another button to do this
    sudo asound sset Master -1%

    I have everything up and running but cannot adjust volume from MAME. it works fine from all libretro emulators swith these lines in retroarch.cfg

    input_enable_hotkey_btn = "8"
    input_exit_emulator_btn = "9"
    input_volume_up_axis	= "-1"
    input_volume_down_axis	= "+1" 

    Hope there is something like this maybe: (please, I cannot script)
    if js0 btn3 is true then “run script”

    Br,
    Hamak

Viewing 1 post (of 1 total)
  • The forum ‘Controller Configuration in RetroPie’ is closed to new topics and replies.