I've managed to get joystick working for PiPlay menu and some emulators but not AdvanceMAME. I have looked at advmame.rc and advmess.rc files in /home/pi/.advance folder. advmame.rc has the following:
input_map[p1_up] keyboard[1,scan0] or keyboard[0,8_pad] or keyboard[0,up] or keyboard[1,scan0] input_map[p1_down] keyboard[1,scan0] or keyboard[0,2_pad] or keyboard[0,down] or keyboard[1,scan0] input_map[p1_right] keyboard[1,scan0] or keyboard[0,6_pad] or keyboard[0,right] or keyboard[1,scan0] input_map[p1_left] keyboard[1,scan0] or keyboard[0,4_pad] or keyboard[0,left] or keyboard[1,scan0]
advmess.rc includes: input_map[p1_up] auto input_map[p1_down] auto input_map[p1_right] auto input_map[p1_left] auto
So, is there something obviously wrong based on these? Also, what is the relationship between PiPlay controller config (accessed from TAB key in menu) and the .rc files. I'm not sure where I should be looking to fix this. Also, when I run 'sudo ./retrogame' I'm getting what looks like double-entries for each joystick direction ^[[B^[[B for a single down action This has changed as I was previously getting ^[[B
I'm new to all of this but slowly working my way through it. Any help you can provide would be appreciated.