How to - Use the GPIO for Buttons instead of a Teensy
Re: How to - Use the GPIO for Buttons instead of a Teensy
hello,I did it in this tutorial,but when I ls /dev/input,,I can't find js0 or anyother input device.. what's wrong?
Re: How to - Use the GPIO for Buttons instead of a Teensy
I have installed retropie system,but can't find any input device
Re: How to - Use the GPIO for Buttons instead of a Teensy
Hi,
nice tutorial.
Can we have multiple keys pressed at same time? For ex. the diagonal.
Thanks.
Cheers,
nice tutorial.
Can we have multiple keys pressed at same time? For ex. the diagonal.
Thanks.
Cheers,
-
- Posts: 279
- Joined: Fri May 06, 2016 5:36 pm
- Has thanked: 16 times
- Been thanked: 229 times
Re: How to - Use the GPIO for Buttons instead of a Teensy
Yes! I have played contra with it!GnobarEl wrote:Hi,
nice tutorial.
Can we have multiple keys pressed at same time? For ex. the diagonal.
Thanks.
Cheers,
- dirtybeagles
- Posts: 386
- Joined: Thu May 05, 2016 6:04 am
- Has thanked: 34 times
- Been thanked: 64 times
Re: How to - Use the GPIO for Buttons instead of a Teensy
How can we add key combinations for stuff like save state and load state? When I go to the directory: /opt/retropie/configs/all/retroarch-joypads it does not seem to be the same key input file. Thanks for the help.
- Fleder
- Posts: 849
- Joined: Thu May 05, 2016 9:04 am
- Location: Germany
- Has thanked: 183 times
- Been thanked: 258 times
Re: How to - Use the GPIO for Buttons instead of a Teensy
https://netninja.com/2015/05/25/retropie-key-remapping/dirtybeagles wrote:How can we add key combinations for stuff like save state and load state? When I go to the directory: /opt/retropie/configs/all/retroarch-joypads it does not seem to be the same key input file. Thanks for the help.
- dirtybeagles
- Posts: 386
- Joined: Thu May 05, 2016 6:04 am
- Has thanked: 34 times
- Been thanked: 64 times
Re: How to - Use the GPIO for Buttons instead of a Teensy
I tried adding the following to the retroarch.cfg file but when I pressed select + L or R nothing happened. I would assume if it was correct it would do save state and load state
Code: Select all
input_enable_hotkey_btn = "s"
input_load_state_btn = "l"
input_save_state_btn = "r"
Re: How to - Use the GPIO for Buttons instead of a Teensy
i'm trying to use this as i'm not using gpio for anything more. What's the benefits of this script vs the mk_joystick_arcade_GPIO?
im not using a gpio tft or audio (i use usb audio)...
can't get it to work...
when i have to try it out it looks like it does nothing, i'm using ssh but i have tried just going to terminal by pressing f4 in retropie and following all the steps until i have to try button presses... i have used pin 6 for ground... do i have to change anything in the code?
thanks, hope someone can help me
im not using a gpio tft or audio (i use usb audio)...
can't get it to work...
when i have to try it out it looks like it does nothing, i'm using ssh but i have tried just going to terminal by pressing f4 in retropie and following all the steps until i have to try button presses... i have used pin 6 for ground... do i have to change anything in the code?
thanks, hope someone can help me
Re: How to - Use the GPIO for Buttons instead of a Teensy
Hi so I've done everything as outlined in this tutorial, but for some reason I can't get my button presses to work. I've checked current with DMM and It seems I'm properly grounded. I'm using a slightly different pin setup for testing at this point, I am using physical pin 39 for the ground and 40 to test with the left button. EmulationStation however only recognizes the button if I touch the wire to the contact, and not if the contact is soldered and then the button is pressed. Any ideas why this would be?
Just a little more information, I'm using the kitsch-bent expanded common ground pcb and 40-pin gpio cable so I don't have to solder to the gpio pins. Any help would be much appreciated!!
Just a little more information, I'm using the kitsch-bent expanded common ground pcb and 40-pin gpio cable so I don't have to solder to the gpio pins. Any help would be much appreciated!!
Who is online
Users browsing this forum: No registered users and 1 guest