TCP input injection for port 2 (set_input/press/clear_input port=2)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
(cherry picked from commit 66cc81fe63)
This commit is contained in:
Matthew Stanley
2026-10-02 16:19:30 -07:00
parent e372fe2f22
commit dd64bc6611
3 changed files with 52 additions and 1 deletions
+2
View File
@@ -198,6 +198,8 @@ void debug_server_check_watchpoints(void);
/* Returns >= 0 if the debug server wants to override pad input,
* -1 if no override is active. Value is PS1 16-bit button mask. */
int debug_server_get_input_override(void);
/* Port-2 override word (set_input/press "port":2), or -1. */
int debug_server_get_input_override_port2(void);
/* Optional analog-stick override set alongside set_input (lx/ly/rx/ry,
* 0..255, 0x80 = centre). Returns 1 and fills st[lx,ly,rx,ry] when armed,