Alternative Input Methods (Unprobed)
The following methods were identified but not tested, as the pygame bridge proved sufficient:
Method 2: evemu Direct Device Injection
# List input devices
cat /proc/bus/input/devices
# Query device capabilities
evtest --query /dev/input/event0 EV_KEY BTN_START
# Inject button press
evemu-event /dev/input/event0 --type EV_KEY --code BTN_START --value 1 --sync
evemu-event /dev/input/event0 --type EV_KEY --code BTN_START --value 0 --sync
Method 3: RetroArch Network Command Interface
If RetroArch is running on RG with network commands enabled:
# Send command via network
# (Specific commands depend on RetroArch configuration)
Method 4: Scripted Controller File
Write controller state to a file that the emulator reads:
# Write controller file via SMB
smbclient //100.119.202.114/share -N -c 'cd userdata; put controller-state.cfg'