Move controller-poll info from Injection to Controllers panel

The per-slot XInput poll rates and the "game reading controller" summary
describe the controller, not the injection mechanism, so move them to the
Controllers panel (renamed from debug_overlay -> ControllersPanel, now a class
that owns the poll-rate sampling). The panel now shows both directions: the
guest pads the host receives from RPT, and what the injected game reads back.

The Injection panel keeps the hook attach state, focus spoof, focus-API
counts, and input-path diagnostics, and points to the Controllers panel for
poll rates.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-19 20:00:30 +02:00
parent 4e076420bf
commit 565934e8cf
8 changed files with 193 additions and 168 deletions

View File

@@ -2,7 +2,7 @@ add_executable(coop_host WIN32
src/main.cpp
src/d3d11_window.cpp
src/imgui_layer.cpp
src/debug_overlay.cpp
src/controllers_panel.cpp
src/injection_panel.cpp
src/capture_panel.cpp
src/audio_panel.cpp