RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    1. Home
    2. Tags
    3. servostik
    Log in to post
    • All categories
    • P

      ServoStik setting using runcommand-onstart.sh

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support servostik runcommand shell script
      8
      0 Votes
      8 Posts
      1k Views
      stoney66S

      @paul_uk Awesome thanks for this. I was using something from Katie Snow long ago but this seems a bit easier.

    • C

      Setting ServoStik using python and GPIO pins

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support gpio python servostik
      8
      0 Votes
      8 Posts
      970 Views
      flagrant99F

      I just got it working with the following python script using rgbcommander's servostik linux command line. Hardware mode is not needed.

      http://users.telenet.be/rgbcommander/

      from gpiozero import Button from subprocess import check_call from signal import pause #Functions def onGpio3Open(): #Arcade 1up switched to OFF check_call(['sudo', 'poweroff']) print("gpio3Released") check_call(['sudo', 'poweroff']) def onGpio17Closed(): print("gpio17Pressed") check_call(['sudo', './SetServoStik', '8']) def onGpio27Closed(): print("gpio27Pressed") check_call(['sudo', './SetServoStik', '4']) #Main Execution Starts Here gpio3Btn = Button(3) gpio3Btn.when_released = onGpio3Open gpio17Btn = Button(17) gpio17Btn.when_pressed = onGpio17Closed gpio27Btn = Button(27) gpio27Btn.when_pressed = onGpio27Closed pause()
    • U

      Is it possible to have Retropie switch a servostik from 4-way to 8-way automatically?

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support servostik mame
      4
      0 Votes
      4 Posts
      2k Views
      S

      @unicornsonlsd
      I did this using the RGB Commander utility. It sets the servo stick from 4/8 way automatically depending upon the game you launch in MAME.

      DISCLAIMER: I'm using RGB Commander v.3 with one of the older RetroPie Jessie images. Haven't tested the current v.4 with the newest RetroPie 4.4 Strech image. Might be worth a try though!

    • L

      Pi Controlled DIY ServoStik Setup

      Watching Ignoring Scheduled Pinned Locked Moved Ideas and Development servostik
      1
      0 Votes
      1 Posts
      997 Views
      No one has replied