mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-26 02:11:36 -04:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user