Files
RetroArch/samples/network/netplay_input
LibretroAdmin 4eb537eff4 netplay: no bit for a slave's own input, bound core input queries
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.
2026-10-15 23:35:18 +02:00
..