From c5a4e954f9a04efa53612bc26a7047cfba6a4f73 Mon Sep 17 00:00:00 2001 From: bicarus <202771338+bicarus-dev@users.noreply.github.com> Date: Sat, 2 May 2026 00:51:21 -0700 Subject: [PATCH] rawinput: remove experimental analog features (delay and relative axis mode) (#668) ## Link to GitHub Issue or related Pull Request, if one exists Related to #181 ## Description of change This PR removes two features marked as "experimental" for analog axis - `Delay` and `Relative Axis`. They have been in spice as experimental option for almost 2 years.. but they have a fundamental problem of being tied to how often the analog is polled. Not just how often the game's I/O emulation code polls it, but literally any source (spice API, overlay, etc). For `Delay`, the only real usage I'm aware of is for #181 which is delaying IIDX turntable input. For this, I will follow up with a separate PR that adds back the delay option specifically for IIDX. For `Relative Axis` - I'm not quite sure if any one actually uses this. This could be implemented per-game if some game demands it. Polaris Chord already has one, for example. ## Testing --- src/spice2x/build/controller_presets.xml | 74 +++++++++---------- src/spice2x/cfg/analog.cpp | 3 +- src/spice2x/cfg/analog.h | 37 ---------- src/spice2x/cfg/api.cpp | 51 +------------ src/spice2x/cfg/config.cpp | 22 ------ src/spice2x/cfg/controller_presets.cpp | 4 - src/spice2x/overlay/windows/config.cpp | 36 +-------- .../overlay/windows/controller_presets.h | 4 - 8 files changed, 43 insertions(+), 188 deletions(-) diff --git a/src/spice2x/build/controller_presets.xml b/src/spice2x/build/controller_presets.xml index 9c23bde..9707e5a 100644 --- a/src/spice2x/build/controller_presets.xml +++ b/src/spice2x/build/controller_presets.xml @@ -39,8 +39,8 @@