Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

Adafruit Joy Bonnet for Raspberry Pi Joystick not working.
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Adafruit Joy Bonnet for Raspberry Pi Joystick not working.

by absolutspl on Tue Aug 04, 2020 10:46 am

Adafruit Joy Bonnet for Raspberry Pi Order# 2336654-0263643608

installed "sudo bash joy-bonnet.sh" (see info below)

ABXY, select, start,Player 1 and 2 works Joystick can not be configured.

I read this: viewtopic.php?f=19&p=617817

Info:
Retro-pie version: 4.6 on Pi zero

pi@retropie:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

absolutspl
 
Posts: 7
Joined: Wed Jun 17, 2020 8:12 am

Re: Adafruit Joy Bonnet for Raspberry Pi Joystick not workin

by mikeysklar on Tue Aug 04, 2020 4:40 pm

Hi absolutspl,

Could you share a photo of the underside of the Pi GPIO header pins if you had soldered them yourself.

Also the contents of /boot/joyBonnet.py

It should look something like this:

gaming_keytable.png
gaming_keytable.png (13.21 KiB) Viewed 29 times

mikeysklar
 
Posts: 1743
Joined: Mon Aug 01, 2016 8:10 pm

Re: Adafruit Joy Bonnet for Raspberry Pi Joystick not workin

by absolutspl on Wed Aug 05, 2020 6:26 am

It was used on a Raspberry pi zero w/header & I also tried it on a Pi 3 B+.
I had loaded a fresh Retropi OS 4.6 on each system.
I ran :
curl https://raw.githubusercontent.com/adafr ... -bonnet.sh >joy-bonnet.sh
sudo bash joy-bonnet.sh
Attachments
ADAFRUIT.PNG
Here's the file you asked for.
ADAFRUIT.PNG (38.22 KiB) Viewed 26 times

absolutspl
 
Posts: 7
Joined: Wed Jun 17, 2020 8:12 am

Re: Adafruit Joy Bonnet for Raspberry Pi Joystick not workin

by mikeysklar on Wed Aug 05, 2020 10:58 am

Hi absolutpl,

I think I found something. Let me know what you see here.

cat /opt/retropie/configs/all/runcommand.cfg

Is disable_joystick="1"

If so you can change it here:

"Launch Menu Joystick Control" to "Enabled".

mikeysklar
 
Posts: 1743
Joined: Mon Aug 01, 2016 8:10 pm

Re: Adafruit Joy Bonnet for Raspberry Pi Joystick not workin

by absolutspl on Wed Aug 05, 2020 11:05 am

pi@retropie:~ $ cat /opt/retropie/configs/all/runcommand.cfg
use_art = "0"
disable_joystick = "0"
governor = "performance"
disable_menu = "0"
image_delay = "2"

absolutspl
 
Posts: 7
Joined: Wed Jun 17, 2020 8:12 am

Re: Adafruit Joy Bonnet for Raspberry Pi Joystick not workin

by absolutspl on Fri Aug 07, 2020 6:26 am

mikeysklar wrote:Hi absolutpl,

I think I found something. Let me know what you see here.

cat /opt/retropie/configs/all/runcommand.cfg

Is disable_joystick="1"

If so you can change it here:

"Launch Menu Joystick Control" to "Enabled".



That was already disabled.

absolutspl
 
Posts: 7
Joined: Wed Jun 17, 2020 8:12 am

Please be positive and constructive with your questions and comments.