djdefiant / mame4all-pi

Automatically exported from code.google.com/p/mame4all-pi
0 stars 0 forks source link

Key map for frontend menu is not same as key map for mame #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Go into a game from frontend
2. Please tab and change the UI menu keys
3. Go back to mame4all front-end and use new keys

What is the expected output? What do you see instead?
I am using X-arcade and the joystick maps to 8, 4, 9, 2 (up,down, left, right). 
 It looks like mame4all-pi front end uses the actual up, down, left, right 
keys.  Therefore, I am unable to control the frontend using my joystick.  
Configuring the keys in mame doesn't appear to take effect for the front end.

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by VuQNgu...@gmail.com on 3 Aug 2013 at 8:35

GoogleCodeExporter commented 9 years ago
I hit the same issue when I tried using my X-arcade controller with 
mame4all-pi. Would be great if I could plug in the X-Arcade without the need 
for a keyboard. I would get the pi to automatically boot with the mame 
front-end.

Original comment by gasa...@gmail.com on 8 Aug 2013 at 1:05

GoogleCodeExporter commented 9 years ago
I'm considering using the PiFBA frontend instead for MAME4ALL. How does the 
X-arcade work with that? That is fully configurable.

Original comment by squid...@gmail.com on 8 Aug 2013 at 1:09

GoogleCodeExporter commented 9 years ago
I was able to reprogram the x-arcade so that the first player joystick actually 
maps to up, down, left, right instead of 8, 4, 9, 2.

Anyway to use the capex front end for MAME4ALL?

Original comment by VuQNgu...@gmail.com on 11 Aug 2013 at 3:48

GoogleCodeExporter commented 9 years ago
Mame4all for the Pi is an awesome piece of work, but think there'll be any 
resolution to this issue?  Having to use ESC to exit the frontend isn't too big 
of a deal, but having to use the arrow keys to switch between games in the 
frontend is a killer.

I'm not familiar with the PiFBA frontend, but I'd think that if it's fully 
configurable, it'd work with mame4all.  By default (without programming, which 
is a pain even if you do have a PS/2 keyboard lying around), X-arcade does the 
following keys:

1, 2, 8, left Ctrl, left Alt, Space, R, A, S, Q, 4, 6, left Shift, Z, X, D, G, 
W, E, [, C, 5, F, ], 6, 3, 4, mouse button 1, mouse button 2

Thanks in advance.

Thanks in advance.

Original comment by dclar...@gmail.com on 31 Aug 2013 at 12:15

GoogleCodeExporter commented 9 years ago
Latest version now has frontend configuration for the key definitions.

Original comment by squid...@gmail.com on 9 Sep 2013 at 9:24

GoogleCodeExporter commented 9 years ago
Also, found keycodes for piFBA to use in fba2x.cfg here:

ftp://mirror.internode.on.net/pub/nvidia/developer/GPU_Gems/CD_Image/Lighting_an
d_Shadows/Shadow_Volumes/SDL-1.2.5/include/SDL_keysym.h

Original comment by kristof....@gmail.com on 9 Oct 2013 at 11:28

GoogleCodeExporter commented 9 years ago
How do I change the frontend configuration key?  I am only able to change the 
game key configuration by pressing tab.  

Original comment by VuQNgu...@gmail.com on 13 Oct 2013 at 5:39

GoogleCodeExporter commented 9 years ago
If this is for mame4all there is a file called mame.cfg in the mame4all
directory. Edit this file and put in the keycodes you want to control your
frontend. Use the link I posted above for the keycodes. You can use WinSCP
to FTP into the Pi once you know the IP address (you see it on bootup) and
modify the mame.cfg (back it up first).
http://raspberrypihelp.net/tutorials/32-quick-file-transfer-winscp (FTP is
also enabled on the latest release of PiMame)

Original comment by kristof....@gmail.com on 13 Oct 2013 at 7:32