Page 1 of 1

GPIO buttons and keyboard

Posted: Thu Jun 07, 2018 8:20 am
by gliuvo
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

Re: GPIO buttons and keyboard

Posted: Fri Jun 08, 2018 4:09 am
by VeteranGamer
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)




.

Re: GPIO buttons and keyboard

Posted: Fri Jun 08, 2018 6:15 am
by gliuvo
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?

Re: GPIO buttons and keyboard

Posted: Fri Jun 08, 2018 10:46 am
by VeteranGamer
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



.

Re: GPIO buttons and keyboard

Posted: Sat Jun 09, 2018 4:09 am
by gliuvo
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

Re: GPIO buttons and keyboard

Posted: Sun Jun 10, 2018 6:40 am
by VeteranGamer
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....



.

Re: GPIO buttons and keyboard

Posted: Mon Jun 11, 2018 1:03 am
by gliuvo
i know that and i really should do it xD
Thank you anyway!