Controller pins?

I seem to be having an issue with the dpad not responding sometimes. Do the connections from the dpad/buttons map to the top io pins? I’d like to be able to test different switches and try to figure if it’s a software or hardware issue.

1 Like

it might be an update issue, try using the buttons outside the game update loop

1 Like

I’m not using the game.update() loop,

wait why not?

i haven’t looked at it but there might be a way to trigger an interrupt, though im just going to assume that might glitch the display for a frame

The update function draw the screen buffer, I’m drawing the screen by hand, so this would result in the screen being drawn twice, once by me and once with an empty frame by the system.

game.update(true) does not draw the screen buffer, but is still updates the buttons states etc.

2 Likes