A very odd bug.
Tested the same game on PC PCSX2 with no issues and fine on 5.19 for all other games tested so far, yet one game gets mixed up analogue sticks... "Katamari Damacy" (when loading from the scripts/defaults).
Somehow the right stick becomes inverted to move forward and back and there are no options in the game. Yet if launching the game from the F1>Applications>PCSX2 config menu you can load the OnePad plugin settings and can tick the "invert ly" and "invert ry" option for each stick and then it works fine.