GPIO buttons and keyboard

Having trouble with your GBZ build? Ask your questions here!
Post Reply
gliuvo
Posts: 11
Joined: Sun Apr 29, 2018 1:03 am

GPIO buttons and keyboard

Post by gliuvo » Thu Jun 07, 2018 8:20 am

Hi,

i'm having a problem with my second build, i'm using a pi zero W this time with buttons connected to GPIO pins.
To let them work i've installed retrogame script and everything works great, the only thing that doesn't work anymore is my physical USB keyboard, every usb device i connect to the hub works exept for the keyboard...does anyone know how to fix this?

It seems like GPIO pins are the keyboard and real keybords are skipped...

Thanks

User avatar
VeteranGamer
Posts: 1738
Joined: Thu Jan 26, 2017 11:12 am
Location: London, UK
Has thanked: 528 times
Been thanked: 909 times

Re: GPIO buttons and keyboard

Post by VeteranGamer » Fri Jun 08, 2018 4:09 am

gliuvo wrote:
Thu Jun 07, 2018 8:20 am
Hi,

i'm having a problem with my second build, i'm using a pi zero W this time with buttons connected to GPIO pins.
To let them work i've installed retrogame script and everything works great, the only thing that doesn't work anymore is my physical USB keyboard, every usb device i connect to the hub works exept for the keyboard...does anyone know how to fix this?

It seems like GPIO pins are the keyboard and real keybords are skipped...

Thanks


are you using the same keys as you've mapped via the GPIO......
(as it should work)




.

gliuvo
Posts: 11
Joined: Sun Apr 29, 2018 1:03 am

Re: GPIO buttons and keyboard

Post by gliuvo » Fri Jun 08, 2018 6:15 am

Keyboards don't work at all...maybe i did something wrong, this is what i did:
* "curl -O https://raw.githubusercontent.com/adafr ... trogame.sh"
* "sudo bash retrogame.sh"
* Selected "PiGRRL 2 Controls"
* Didn't reboot
* Changed pin number into "sudo nano /boot/retrogame.cfg"
* "sudo reboot now"
* Configured new input device after reboot

That's it...the same keyboards (two) used before installing retrogame now are not recognized by the pi

Did i miss something?

User avatar
VeteranGamer
Posts: 1738
Joined: Thu Jan 26, 2017 11:12 am
Location: London, UK
Has thanked: 528 times
Been thanked: 909 times

Re: GPIO buttons and keyboard

Post by VeteranGamer » Fri Jun 08, 2018 10:46 am

gliuvo wrote:
Fri Jun 08, 2018 6:15 am

That's it...the same keyboards (two) used before installing retrogame now are not recognized by the pi

Did i miss something?
thats a bit strange....

even if it didnt install Retrogame properly you should still have been able to use the keyboard....

not sure if this is possible, but can you access the menus to re-configure the controller...
(re-configure the keyboard again, if it gets detected)

if that's not possible, them you might have to start over again
a completely fresh install of Retropie and then install Retrogame again



.

gliuvo
Posts: 11
Joined: Sun Apr 29, 2018 1:03 am

Re: GPIO buttons and keyboard

Post by gliuvo » Sat Jun 09, 2018 4:09 am

Solved with a fresh installation!

Setting 0 as last parameter in fstab is the only way to skip disk check or there’s another method?

Thanks

User avatar
VeteranGamer
Posts: 1738
Joined: Thu Jan 26, 2017 11:12 am
Location: London, UK
Has thanked: 528 times
Been thanked: 909 times

Re: GPIO buttons and keyboard

Post by VeteranGamer » Sun Jun 10, 2018 6:40 am

gliuvo wrote:
Sat Jun 09, 2018 4:09 am
Solved with a fresh installation!

Setting 0 as last parameter in fstab is the only way to skip disk check or there’s another method?

Thanks
thats brilliant....

unfortunately thats the way it goes sometimes (to do a fresh install)


TIP: if you plan to make further builds, then make a backup of your build with the basic setup (controls, wifi, etc)... this will save you time in the future....



i've never messed with fstab.... never really saw the need or any great benefit....



.

gliuvo
Posts: 11
Joined: Sun Apr 29, 2018 1:03 am

Re: GPIO buttons and keyboard

Post by gliuvo » Mon Jun 11, 2018 1:03 am

i know that and i really should do it xD
Thank you anyway!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest