randyrossi / bmc64

A bare metal Commodore 64 emulator for the Raspberry Pi with true 50hz/60hz smooth scrolling, low input latency and better audio/video sync.
GNU General Public License v3.0
491 stars 59 forks source link

Feature request: Supporting more than 20 buttons on usb gamepad #267

Closed kamaleon70 closed 4 months ago

kamaleon70 commented 4 months ago

Hi, I know that in the past the max number of supported buttons has increased, but now, while using the iCode USB adapter to connect Atari joystick and paddles, I noticed that the fire buttons are remapped to 24 for joystick and 24 and 25 for paddles. The rest seems working but, because of the limit set to 20, I cannot remap to "fire" the buttons of the joystick and paddles. Is there a easy way to change this or the only solution is to recompile the project with different max value? Thanks.

randyrossi commented 4 months ago

Are you saying that because the max number of mappings is 20, you are not able to determine which inputs are 'fire' buttons because they are past the first 20 inputs? Then yes, the only way would be to recompile the project with a new limit.

On Sun, Jul 7, 2024 at 6:14 AM kamaleon70 @.***> wrote:

Hi, I know that in the past the max number of supported buttons has increased, but now, while using the iCode USB adapter to connect Atari joystick and paddles, I noticed that the fire buttons are remapped to 24 for joystick and 24 and 25 for paddles. The rest seems working but, because of the limit set to 20, I cannot remap to "fire" the buttons of the joystick and paddles. Is there a easy way to change this or the only solution is to recompile the project with different max value? Thanks.

— Reply to this email directly, view it on GitHub https://github.com/randyrossi/bmc64/issues/267, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAI3HKEJC4REWOTHYMHSMLTZLEIJNAVCNFSM6AAAAABKPHJB42VHI2DSMVQWIX3LMV43ASLTON2WKOZSGM4TGOJYGY4DOMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Randy Rossi

kamaleon70 commented 4 months ago

I tried to recompile the project but there is always an error in file siddefs.h that is missing. Anyone had a similar issue while compiling? Thanks

This is the error (compiling under Linux) "third_party/vice-3.3/src/resid/resid-config.h:23:10: fatal error: siddefs.h: No such file or directory 23 | #include "siddefs.h" | ^~~"

kamaleon70 commented 4 months ago

I have been able to recompile and I have now 25 buttons configurable. Now the paddle button is recognized. :)