mirror of
https://github.com/libretro/RetroArch.git
synced 2026-11-10 17:27:30 -10:00
Real-client masks are built by one helper that skips the slave's own input, filed under MAX_CLIENTS, so no shift reaches 32. The remaining client-number masks shift unsigned. A core's input query reads only the words its device's state carries: analog sticks by index 0..1 and axis 0..1, analog buttons as their digital bit at full pressure, joypad and pointer bits below 32, and keyboard words below the state's size; anything else reads 0. samples/network/netplay_input covers both helpers.