waynedog74 / mame4all-pi

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

Allow more than 16 buttons for Player 1 #41

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently MAX_BUTTONS are limited to 16.

This is a problem for certain USB Joystick controllers like the Xin-Mo Dual 
Arcade. It's recognized as 1 Gameport, so it's not possible to map enough 
buttons for player 2. 

It would be great if you would allow, let's say, 20 buttons for Joystick 1 (for 
the Xin-Mo Controller).

Or, if you are concerned about the performance, you could add an option to the 
makefile to have 1 Joystick with 20 or more buttons or 4 joysticks with the 
standard 16 buttons instead...

Could you supply the necessary changes to use more than 16 buttons for joystick 
one, so i could compile that locally ?

Original issue reported on code.google.com by talant...@gmail.com on 4 Jun 2014 at 2:55

GoogleCodeExporter commented 9 years ago
I'm also looking for the file were the maximum button limit is set so I can 
modify and compile :)

Original comment by m...@matthuisman.com on 11 Aug 2014 at 12:55

GoogleCodeExporter commented 9 years ago
any luck finding the file to modify? I too would be keen to modify it to get 
more joystick axes recognised

Original comment by m...@blazingcrab.com on 1 Nov 2014 at 8:24