cloud-game/pkg/worker/caged
sergystepanov 1d5bae0c62 Add analog triggers and pack axes into atomic int64
- Pack 4 analog axes (LX, LY, RX, RY) into single int64 for atomic access
- Pack L2/R2 analog triggers into single int32
- Reduce memory per port from 20 to 16 bytes
- Reduce atomic stores per SetInput from 5 to 3
- Add RETRO_DEVICE_INDEX_ANALOG_BUTTON support for analog trigger queries
- Fallback to digital (0/0x7FFF) for non-trigger analog button queries

Wire format: [BTN:2][LX:2][LY:2][RX:2][RY:2][L2:2][R2:2] (14 bytes)
2025-12-29 20:20:55 +03:00
..
app Add keyboard and mouse support 2024-08-02 11:04:44 +03:00
libretro Add analog triggers and pack axes into atomic int64 2025-12-29 20:20:55 +03:00
caged.go Add keyboard and mouse support 2024-08-02 11:04:44 +03:00