Hi,
Yes, exactly. I added some debug message to see which buttons is pressed, something like that:
CODE
for (i = 0; i < 32; i++) {
if((joy_map[num][JOY_BUTTON1 + i] != -1) && joy_getbutton(i, joys[num])) {
msg_printf("Button nr: %d pressed\n", i)...
Hi,
when I tried cps2emu I noticed that one of my usb joypads doesn't work as expected. The start button had no effect. After some debugging I found out that the joypad (10 Buttons), is sending a pressed button 12 event. After I've changed emumain.c to poll just 10 instead of 32 buttons...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.