How hifihedgehog/padforge works
PadForge is a Windows controller-remapping application: users connect physical or browser-based inputs, configure mappings and profiles, then expose the result as virtual controllers for games. Its central runtime is InputManager, which coordinates input polling and mapping evaluation; the README documents mapping rows, macros, motion, and virtual-controller output. Other documented branches include device-specific input, phone-based web control, motion services, Workshop profiles, and controller previews. Some subsystem wiring is unsampled, so those relationships are omitted or marked unverified rather than inferred from names.
Main entry points: InputManager.cs InputManager · UserDevice.cs User profiles · App.xaml.cs PadForge app · DashboardViewModel.cs Dashboard and device UI
Components 21
App experience
- PadForge app
PadForge.App/App.xaml.cs - Settings
PadForge.App/Common/SettingsManager.cs - Dashboard and device UI
PadForge.App/ViewModels/DashboardViewModel.cs
Input runtime
- InputManager
PadForge.App/Common/Input/InputManager.cs - Input service
PadForge.App/Services/InputService.cs - Mapping evaluation
PadForge.Engine/Common/Mapping/SourceCoercion.cs - Input state model
PadForge.Engine/Common/CustomInputState.cs - Virtual controllers
PadForge.Engine/Common/VirtualControllerTypes.cs
Input devices
- Connected controllers
PadForge.Engine/Common/SdlDeviceWrapper.cs - Analog keyboards
PadForge.App/Common/Input/AnalogKeyboardRuntime.cs - Bliss-Box adapters
PadForge.Engine/Common/BlissBox/BlissBoxControllers.cs
Services and integrations
- Web controller server
PadForge.App/Services/WebControllerServer.cs - Browser gamepad device
PadForge.Engine/Common/WebControllerDevice.cs - DSU motion server
PadForge.App/Services/DsuMotionServer.cs - Racing telemetry
PadForge.App/Common/Telemetry/TelemetryHub.cs
Profiles and previews
- User profiles
PadForge.Engine/Data/UserDevice.cs - Steam Workshop clients
PadForge.SteamWorkshop/Api/SteamWorkshopClient.cs - Controller previews
PadForge.App/Models3D/ControllerModelBase.cs
Other components
- User
- Phone browser
- Games
Connections 22
- User → PadForge app: configures
README.md - PadForge app → Settings: uses settings
- User → Connected controllers: connects devices
README.md - Connected controllers → InputManager: supplies input
README.md - Analog keyboards → InputManager: supplies key depth
README.md - Bliss-Box adapters → InputManager: supplies adapter input
README.md - Phone browser → Web controller server: connects remotely
README.md - Web controller server → Browser gamepad device: dispatches reports
- Browser gamepad device → InputManager: supplies gamepad input
- Input service → InputManager: manages runtime
- InputManager → Input state model: updates state
PadForge.App/Common/Input/InputManager.cs - InputManager → Mapping evaluation: evaluates mappings
PadForge.App/Common/Input/InputManager.cs - InputManager → Virtual controllers: drives outputs
README.md - User → User profiles: configures mappings
README.md - User profiles → InputManager: provides mapping sets
PadForge.App/Common/Input/InputManager.cs - InputManager → Games: presents virtual pad
README.md - InputManager → DSU motion server: publishes motion
PadForge.App/Common/Input/InputManager.cs - Racing telemetry → InputManager: feeds racing data
- User → Steam Workshop clients: opts into configs
- Steam Workshop clients → User profiles: provides community configs
- Dashboard and device UI → Controller previews: shows controller model
- User → Dashboard and device UI: views device state
README.md