How to run script when js0 button 3 is pressed

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

This topic contains 0 replies, has 1 voice, and was last updated by  hamak 2 years, 5 months ago.

Viewing 1 post (of 1 total)
  • Author
  • #99884


    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”


Viewing 1 post (of 1 total)

Forums are currently read only - please visit the new RetroPie forums at