Log In  

Picotron always registers keyboard as player 0, and gamepad as player 1.

Even when I boot picotron with the gamepad already plugged in, it gets assigned as if it were a second player (player 1), instead of mirroring the input of the first player (player 0).

Is that intended?

To work around this, I've been using this to check for both players when handling my input checks:

if btnp(0, 0) or btnp(0, 1) then
    -- do whatever I need 
end
P#146539 2024-04-13 13:21


[Please log in to post a comment]