Hat (D-Pad) Inversion
The Anbernic RG40XX-V controller reports hat values inverted from pygame standard:
| Physical Direction | Raw event.value |
Standard pygame | AQUAPING logical |
|---|---|---|---|
| UP | (0, 1) |
(0, -1) |
dy = -1 |
| DOWN | (0, -1) |
(0, 1) |
dy = 1 |
| LEFT | (-1, 0) |
(-1, 0) |
dx = -1 |
| RIGHT | (1, 0) |
(1, 0) |
dx = 1 |