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
479 stars 56 forks source link

Gamepad with buttons from 16 to 20, not listed in Configure USB Gamepad menù #130

Closed tostati closed 3 years ago

tostati commented 4 years ago

Hi. I have a joypad that use button from 15 to 20. Those are fundamental buttons: select, start, digital u-d-l-r. But in Gamepad Configuration buttons list arrive to 15. is possible to add more buttons in the list, to get 16-17-18-19-20 working? This 'cause my joystick is a very good one, wireless, with long battery life and good plastik.

moogthedog commented 4 years ago

Seconded. I have a wired 8bitdo controller where the hat appears as high-numbered buttons.

rhester72 commented 3 years ago

@randyrossi this patch: https://github.com/randyrossi/bmc64/files/5914413/circle_patch_gamepad_buttons.zip

corrects the above described issue, first mentioned here:

https://github.com/randyrossi/bmc64/issues/158

Please note that it is a patch-to-a-patch that expands the scope of my initial (already-integrated) patch to all USB gamepads, mirroring the same fix applied by the Circle team (https://github.com/rsta2/circle/commit/e067d306725e5c967fb28be9611978bc229140af).