mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-26 02:11:36 -04:00
mod controller source: call these offline controller sources, mod-trusted, not 'trusted'
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -11,7 +11,7 @@ that exact human author identity. The focused port consolidates the selected
|
||||
source hunks and corrections. Its commit also cites these sources and carries
|
||||
the original human contributor's `Co-authored-by: Yves <calibratedbeats@gmail.com>` trailer.
|
||||
|
||||
Adapted: Only trusted controller-source registration, validation/neutralization and the existing offline host-input boundary.
|
||||
Adapted: Only offline controller-source registration (documented as mod-trusted), validation/neutralization and the existing offline host-input boundary.
|
||||
|
||||
Deliberately excluded: OpenXR Touch action implementation, game bindings/deadzones/aiming and guest SIO replacements.
|
||||
|
||||
|
||||
@@ -645,8 +645,10 @@ int psx_mod_set_controller_presentation_policy(
|
||||
uint32_t initial_mode,
|
||||
int config_capable);
|
||||
|
||||
/* Trusted offline source owns a player's pad at normal input sampling. A
|
||||
* declined/invalid sample delivers neutral, not the previous held input.
|
||||
/* Offline controller source owns a player's pad at normal input sampling.
|
||||
* Mod-trusted like any mod code (arbitrary native code; the setter does no
|
||||
* caller check). A declined/invalid sample delivers neutral, not the previous
|
||||
* held input.
|
||||
* Existing TCP overrides take priority; netplay/resim and eye redraws never
|
||||
* invoke the source. The runtime keeps coherent SIO type requests/recording.
|
||||
* Pass NULL to detach. Local keyboard/pad buttons remain merged for menus;
|
||||
|
||||
Reference in New Issue
Block a user