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

      mk_arcade_joystick_rpi 2 joysticks custom GPIOs

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support joystick gpio custom arcade
      5
      0 Votes
      5 Posts
      1k Views
      LolonoisL

      @craggus2000 Thanks for reporting back. Have fun. Please edit your first post and add in the something like [solved], so it is more likely to be picked up by search engines.

      Your question made me updating my hint from last year on that topic.

    • A

      HK button problems with arcade cabinet

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support arcade retropie hotkey gpio raspberry
      7
      0 Votes
      7 Posts
      2k Views
      mituM

      @lolonois Good call. Now I know what the hotkeybtn is used for.

    • LouFL

      RPi stays powered from HDMI?

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support gpio hdmi port power led
      1
      0 Votes
      1 Posts
      489 Views
      No one has replied
    • J

      Not saving metadata - Cyperghost script

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support shutdown scrript gpio cyperghost metadata
      1
      0 Votes
      1 Posts
      409 Views
      No one has replied
    • T

      Can I get output in one of the GPIO pins when the retropie in Game or Menu?

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support coin gpio
      1
      0 Votes
      1 Posts
      416 Views
      No one has replied
    • LouFL

      Seemingly unstable GPIO output while executing from RetroPie

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support gpio python script
      1
      0 Votes
      1 Posts
      449 Views
      No one has replied
    • D

      Connecting 3.5mm controllers to GPIO? Has anybody done it and how?

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support gpio xbox
      1
      0 Votes
      1 Posts
      306 Views
      No one has replied
    • D

      Using Retropi with GPIO connected controller AND USB joystick (Xbox adaptive controller)

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support gpio usb controller
      3
      0 Votes
      3 Posts
      485 Views
      D

      @mitu Excellent thank you!

    • LouFL

      Creating menu to control GPIO python script

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support experimental python script gpio controls
      5
      0 Votes
      5 Posts
      831 Views
      LouFL

      @lolonois Thankyou very much. I will keep this in mind !

    • P

      Gpio button mapping

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support retropie gpio gpio button mapping control
      3
      0 Votes
      3 Posts
      741 Views
      P

      @mitu
      When I tried using gpionext I kept being met with error messages. I ended up just getting a few different parts to work with the super pi girl drivers. Still, thank you for the help.

    • L

      Send GPIO command

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support pi 4 develoment rom hack gpio ideas
      1
      0 Votes
      1 Posts
      369 Views
      No one has replied
    • M

      Need help getting retropie to recognize button matrix.

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support input issue python buttons python script gpio
      5
      0 Votes
      5 Posts
      707 Views
      M

      Thanks for your help. Between the documentation and the example, I have the button matrix somewhat working I think.

    • C

      Help with relay

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support relay gpio python
      3
      0 Votes
      3 Posts
      423 Views
      C

      One more piece of the puzzle...at the end of my script, if I remove the GPIO.cleanup(), then the light stays on.

      But, in subsequent calls to my script, I receive a warning that the channel is already in use. It doesn't stop the code, but the programmer in me doesn't like warnings.

      My question now is why does the cleanup function change the output of the GPIO pins?

    • T

      Question: Which GPIO Pins Can I Use for Inputs?

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support controller config gamepad controls gpio
      2
      0 Votes
      2 Posts
      137 Views
      mituM

      Take a look at https://github.com/recalbox/mk_arcade_joystick_rpi, it's similar to what you have in mind and it's already included in RetroPie.

    • megapitchM

      GPIO button to launch Kodi from EmulationStation?

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support gpio script python
      3
      0 Votes
      3 Posts
      358 Views
      megapitchM

      Thanks. As soon as I posted here, I found this topic and with a bit of modification I was able to get it working. :)

    • LolonoisL

      Hint: Using 13 Buttons on GPIO

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support gpio hotkey how-to
      1
      0 Votes
      1 Posts
      1k Views
      No one has replied
    • LolonoisL

      GPIO Pullups on RPi4 (mk_arcade_joystick_rpi driver) - PR

      Watching Ignoring Scheduled Pinned Locked Moved Ideas and Development gpio rpi4 pull request
      2
      2 Votes
      2 Posts
      323 Views
      mituM

      Appreciated, thank you.

      I've merged those 2 PRs and tagged other users that might be interested Pi 4 compatibility/support.

    • F

      Cabinet Control Panel not detected on new clean image, via Pi2Jamma.

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support gpio pi2jamma control issue
      4
      0 Votes
      4 Posts
      626 Views
      mituM

      @fraggle200 said in Cabinet Control Panel not detected on new clean image, via Pi2Jamma.:

      @mitu I installed Uinput by following a few links for the install but this method ultimately got me installed, just as a precaution it wasn't already there. https://www.raspberrypi.org/forums/viewtopic.php?t=221622

      That's not needed, since PikeyD doesn't look like it uses python. There's - similarly - a Linux kernel module named uinput, that I think it's used, but it's loaded by default on a RetroPIe image (you can check /etc/modules).

    • F

      Problem with gpio joysticks and buttons

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support configure butto gpio
      4
      0 Votes
      4 Posts
      1k Views
      mituM

      It seems you do need to install something - see the manual:

      Once connected and booted up, you can navigate to the terminal to install the required
      gpio drivers.
      In RetroPie, you can do this by pressing the Ctrl-Alt and F4 key; this changes view to a
      virtual terminal window, which you can run ‘emulationstation’ to go back to
      RetroPie.
      ...

      It looks like you need to install GPIONext, a GPIO user driver to make the gamepad(s) work.

    • top-specciT

      Flash effect for few buttons (Raspi, GPIOs, LED ...)

      Watching Ignoring Scheduled Pinned Locked Moved Projects and Themes gpio flash effect eye catcher
      2
      0 Votes
      2 Posts
      168 Views
      L

      It's not python code but.. maybe could be useful for you.

      While ago - Using gpio and PWM - I did add some flash effects to every buttons on my bartop build.

      check out this video

      and you can find source code here.
      https://github.com/losernator/rainbowLED

      FYI My friend 'sana2dang' made original code for me and I just add little bit.
      Although I am not using this any more and moved to RGB effect using Aruino :) but worth trying