Adafruit not passing keystrokes to PiPlay - Raspberry Pi Forums
i'm pretty new raspberry pi , i'm trying arcade controls i've made working piplay using adafruit software.
i've tested controls little python 3 program wrote , 4 joystick directions , 4 buttons work expected when gpio ports pulled high.
raspbian version wheezy 7.8.
i've run sudo apt-get upgrade , updated software.
i've installed programs , libraries recompile adafruit software using
sudo apt-get install git libexpat1 libexpat1-dev libncurses5 libncurses5.dev.
when run command again os reports have latest versions of 5
components.
i've installed adafruit retrogame software , edited retrogame.c match ports i've used , recompiled software using make command without errors.
i've added udev rule ensure compatibility sdl2 library. added line following file
etc/udev/rules.d/10-retrogame.rules
line added was
subsystem=="input", attrs{name}=="retrogame", env{id_input_keyboard}="1"
tried make sure retrogame program starts os boots adding following line before exit 0 line of /etc/rc.local
/home/pi/adafruit-retrogame/retrogame &
rebooted after this. seems run fine, piplay loads , roms play, looks joystick , button inputs not being passed through piplay adafruit software.
i'd grateful suggestions @ stage wondering in particular following.
1. there way check adafruit retrogame software , running?
2. there program can use check retrogame generating keystrokes?
i've tested controls little python 3 program wrote , 4 joystick directions , 4 buttons work expected when gpio ports pulled high.
raspbian version wheezy 7.8.
i've run sudo apt-get upgrade , updated software.
i've installed programs , libraries recompile adafruit software using
sudo apt-get install git libexpat1 libexpat1-dev libncurses5 libncurses5.dev.
when run command again os reports have latest versions of 5
components.
i've installed adafruit retrogame software , edited retrogame.c match ports i've used , recompiled software using make command without errors.
i've added udev rule ensure compatibility sdl2 library. added line following file
etc/udev/rules.d/10-retrogame.rules
line added was
subsystem=="input", attrs{name}=="retrogame", env{id_input_keyboard}="1"
tried make sure retrogame program starts os boots adding following line before exit 0 line of /etc/rc.local
/home/pi/adafruit-retrogame/retrogame &
rebooted after this. seems run fine, piplay loads , roms play, looks joystick , button inputs not being passed through piplay adafruit software.
i'd grateful suggestions @ stage wondering in particular following.
1. there way check adafruit retrogame software , running?
2. there program can use check retrogame generating keystrokes?
i discovered retrogame had installed different path. school boy error. can configure joystick , buttons in piplay controller setup now, doesn't work in arcade roms if configure there. still advice appreciated.
raspberrypi
Comments
Post a Comment