Skip to content

History / Engine Library

Revisions

  • Fix mojibake throughout the wiki + rewrite Input-Precision Stage 5 for v3 Mojibake sweep: 1067 sequences across 17 .md files. Earlier passes had round-tripped UTF-8 punctuation through a CP1252 layer, baking the literal three-character mojibake into the files (em-dash → â + € + ", en-dash, right arrow, box-drawing chars, middle dot, multiplication sign, etc.). Restored to the proper Unicode codepoints: — – → ↔ ← │ ├ └ · ×. Input-Precision Stage 5 rewrite: the page still described 'Stage 5: vJoy Output (15-bit unsigned)' which doesn't exist in v3. v3 has a single HIDMaestro Output stage with three sub-cases: - Microsoft (Xbox 360): signed 16-bit sticks, 8-bit triggers - PlayStation (DS4): 8-bit sticks AND triggers (DS4 protocol) - Extended (HM custom HID): 16-bit unsigned sticks, 8-bit triggers by default, raisable to 16-bit per profile Verified against HIDMaestro's HidDescriptorBuilder.cs (AddStick default bits=16, AddTrigger default bits=8) and PadForge's HMaestroVirtualController.cs (SubmitGamepadState normalizes through float at the SDK boundary). Output Throughput section: dropped the vJoy single-IOCTL note, replaced with HIDMaestro single-call SubmitState description. Summary table axis-resolution rows now reflect per-VC-type wire bit depth. Stage 3 callout pointing at Stage 5. Pseudo-colon em-dash converted to period per the project style rule.

    @hifihedgehog hifihedgehog committed Apr 26, 2026
  • Rewrite Engine-Library / ViewModels / XAML-Views / Settings-and-Serialization for v3 Engine-Library: collapsed IVirtualController implementations to v3's three classes (HMaestroVirtualController, MidiVirtualController, KeyboardMouseVirtualController). VJoyRawState renamed conceptually to ExtendedRawState; VJoy custom mappings to Extended custom mappings. Added the v2-to-v3 enum migration note (Xbox360 -> Microsoft, DualShock4 -> PlayStation, VJoy -> Extended) so v2 PadForge.xml files still load. ViewModels: removed fabricated IsHIDMaestroInstalled / Install&UninstallHIDMaestroCommand rows; HIDMaestro is bundled, only HidHide + MIDI Services remain in driver status. Added HmInactivityDestroyTimeoutSeconds row. Renamed vJoy configuration subsection to Extended Configuration; OutputType default fixed to Microsoft. XAML-Views: switched framework references from ModernWPF (Valkirie) to WPF UI 4.2 (Lepo.Wpf.Ui). Slot-card type buttons listed as Microsoft / PlayStation / Extended / KB+M / MIDI. Replaced vJoy Config Bar section with HMaestroProfileBar + ExtendedConfigBar matching the live XAML. SettingsPage HIDMaestro card has no Install/Uninstall buttons (embedded). Settings-and-Serialization: ExtendedConfigs / Extended custom mappings terminology throughout. Save Flow mermaid node updated. SlotControllerTypes default = Microsoft. All XML element names verified against a live PadForge.xml. Each page's stale v3 banner replaced with a current banner stating the page has been rewritten and pointing to HIDMaestro Deep Dive for architecture rationale.

    @hifihedgehog hifihedgehog committed Apr 26, 2026
  • Architecture-Overview: refresh Mermaid diagram for v3 (HM thread pool, OpenXInput, 5 categories) + add v3 caveat banner to 7 dev pages The Mermaid diagram now reflects: - 5 controller categories (Microsoft / PlayStation / Extended / KBM / MIDI) instead of v2's Xbox360 / DualShock4 / vJoy. - HM lifecycle thread pool as a separate node feeding the three HM-backed categories (Microsoft, PlayStation, Extended). - OpenXInput shim as a sibling to SDL3.dll under External Systems. - HIDMaestro driver as the single virtual-HID-output driver (replacing ViGEm + vJoy nodes). - Windows MIDI Services as the MIDI backend. The 7 deeper dev pages (Driver-Installation-Internals, Input-Pipeline, Virtual-Controllers, Engine-Library, ViewModels, XAML-Views, Settings-and-Serialization) get a 'Note for v3' banner pointing readers to HIDMaestro-Deep-Dive as the canonical source for v3 implementation detail. The terminology in those pages was already swept; the implementation-detail sections still describe v2 mechanics until a follow-up content rewrite.

    @hifihedgehog hifihedgehog committed Apr 26, 2026
  • Bulk v3 terminology sweep across remaining wiki pages (23 files) Mechanical s/// pass on the names that don't depend on architectural context: ViGEmBus -> HIDMaestro, ViGEmClient -> HIDMaestro SDK, VJoy -> Extended (the C# enum value name appearing in narrative text), 'DirectInput (vJoy)' -> 'Extended (HIDMaestro)', 'Xbox 360 / DualShock 4' (slot type pair) -> 'Microsoft / PlayStation', etc. Pages already hand-rewritten upstream were left alone (Home, Installation, Driver-Management, HIDMaestro-Deep-Dive). Virtual-Controllers got the same pass since it's a central reference. Caveat: many of the deeper architecture pages (Driver-Installation- Internals, Input-Pipeline, ViewModels, XAML-Views, Engine-Library, etc.) still describe v2-era *implementation* (vjoy.sys SetupAPI device-node creation, ViGEm.Client P/Invoke surface, etc.). The TERMINOLOGY now matches v3 but the IMPLEMENTATION DETAILS in those pages are still v2 and need a follow-up content pass to reflect the HIDMaestro SDK surface, the OpenXInput shim, the HM thread-pool lifecycle, the bubble-up cascade, etc. See HIDMaestro-Deep-Dive.md for the v3-correct version of that material.

    @hifihedgehog hifihedgehog committed Apr 26, 2026
  • Sweep em-dash pseudo-colons across developer reference pages

    @hifihedgehog hifihedgehog committed Apr 18, 2026
  • Standardize "dead zone" spelling to "deadzone" per Microsoft convention Rename Stick-Dead-Zones.md → Stick-Deadzones.md and Trigger-Dead-Zones.md → Trigger-Deadzones.md. Update all wiki content and internal links to use one-word "deadzone" spelling. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

    @hifihedgehog hifihedgehog committed Apr 12, 2026
  • Wiki sync: per-mapping dead zone, BLE HidHide, async enumeration, UI polish 16 pages updated across 7 parallel agents: - Button-and-Axis-Mappings: source dropdown raw buttons, clear resets DZ - Input-Pipeline: async Raw Input, MapToButtonPressed params, half-axis math - Settings-and-Serialization: MappingDeadZones dict, DeviceObjects serialized - Engine-Library: raw button count, DeviceObjects, FindInstanceIdsByVidPid BLE - Dashboard: TypeSwitchButton, driver gating, red stopped indicators, drag fix - Home: feature highlights updated - XAML-Views: branding bar, SyncBarBackgrounds, theme-aware brushes - Architecture-Overview: branding bar, async enumeration, stable 1000 Hz - Services-Layer: async enumeration, offline dropdowns, popup dismiss - Driver-Installation-Internals: removed methods, merge-based cache - Controller-Slots, ViewModels, Force-Feedback, Troubleshooting, SDL3-Integration, 3D-and-2D-Visualization: targeted updates - All 25 screenshots refreshed

    @hifihedgehog hifihedgehog committed Mar 21, 2026
  • Wiki sync: per-mapping dead zone, logo, screenshots refresh - Button-and-Axis-Mappings: new Axis-to-Button Dead Zone section with slider/percentage UI, half-axis guide for centered joystick axes, troubleshooting entries, updated mapping grid table - Input-Pipeline: updated MapToButtonPressed signatures with deadZonePercent and globalThresholdPercent params, configurable threshold table, half-axis threshold note, TryParseIntStatic helper - Settings-and-Serialization: MappingDeadZones dictionary, XML example, checksum, JSON key, CopyFrom deep copy - Engine-Library: MappingDeadZoneEntries property, dictionary methods, DeviceObjects no longer XmlIgnore - Home: updated release callout and Button-and-Axis-Mappings description - All 24 screenshots refreshed with new title bar icon and UI changes - Added logo.png Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

    @hifihedgehog hifihedgehog committed Mar 20, 2026
  • Wiki sync for v2.2.1: BLE HidHide, async Raw Input, dead code cleanup - Driver-Installation-Internals: Remove deleted AddToBlacklist/RemoveFromBlacklist, add VID/PID format matching section (USB + BLE), update FindInstanceIdsByVidPid desc - Input-Pipeline: Document async Raw Input enumeration (Task.Run background thread) - Engine-Library: Remove deleted GameFileName property and section - Settings-and-Serialization: Remove all GameFileName references (5 locations)

    @hifihedgehog hifihedgehog committed Mar 19, 2026
  • Wave 5: Visual overhaul, second polish, cross-page consistency, TOCs, diagrams Home.md: Hero section with centered about.jpg, "New in this release" callout, 6 themed sub-sections, Unicode symbols, verb-led descriptions. Visual: 3 unused dropdown screenshots added to Sticks/Triggers pages. TOCs added to 5 long dev docs. 3 new Mermaid diagrams (save/load flow, class relationships, device discovery). Cross-page consistency (user + dev): Bidirectional Related Pages across all 31 pages (94 dev cross-links, 60+ user cross-links). Feature naming standardized ("Force Raw Joystick Mode", "DualShock 4", "DirectInput (vJoy)"). Setting names matched to UI labels. 9 screenshot alt texts made descriptive. Dev doc links removed from user pages. Second polish (all pages): 200+ edits tightening prose, removing AI voice ("robust", "This ensures", "you can"), standardizing See Also sections, cutting filler. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

    @hifihedgehog hifihedgehog committed Mar 19, 2026
  • Numeric accuracy sweep: 18 agents verified every number against source code Fixes found by accuracy agents: - Virtual-Controllers: Xbox/DS4 max instances 4→16 (3 locations), 5 Gamepad button bit values corrected (A=0x1000, B=0x2000, X=0x4000, Y=0x8000, GUIDE=0x0400) - Controller-Slots: per-type limit reasons now explain XInput 4-slot visibility vs ViGEm 16-slot creation, SDL/DirectInput see all 16 - Input-Pipeline: VJoyRawState axes "up to 16" → "up to 8" - 3D-and-2D-Visualization + Button-and-Axis-Mappings: triggers "up to 4" → "up to 8" (MaxAxes=8, sticks consume 2 each) - Dashboard: Xbox/DS4 per-type limits 4→16 - Build-and-Publish: removed phantom LICENSE.txt from publish output - SDL3-Integration: added missing padding fields to SDL_HapticCondition and SDL_HapticRamp structs - ViewModels: DeadZoneShape.ScaledRadial=2 not 0, tab order corrected, ViewModelBase code snippet fixed - Engine-Library: mouse button order L,R,M → L,M,R - Driver-Installation-Internals: removed phantom EnsureWhitelisted, added 4 missing HidHide API methods - 2D-Overlay: schematic line count 795→794 - 3D-Model: torus offset 0.4→0.8mm Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

    @hifihedgehog hifihedgehog committed Mar 19, 2026
  • Final polish from late-finishing agents: Engine-Library, ViewModels Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

    @hifihedgehog hifihedgehog committed Mar 19, 2026
  • Professional polish: proper typography, concise writing, 33 agents Replace all 590+ double-hyphen (--) instances with proper em dashes (—) and en dashes (–) for numeric ranges. Remaining -- only inside code blocks. Rewrite every page for professional conciseness: - Simple English, short sentences, active voice - Prose converted to tables and bullet lists - Filler words and AI-tell phrases eliminated - Parallel structure in descriptions - Every section scannable in seconds Net result: 632 fewer lines across 32 files while preserving all detail. Verified: 0 broken cross-references, all 9 Mermaid diagrams valid, all 21 image references valid, README fully synchronized. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

    @hifihedgehog hifihedgehog committed Mar 19, 2026
  • Comprehensive wiki rewrite: 22 agents, 2M+ tokens, all 31 pages improved Every wiki page deeply rewritten by dedicated agents that read full source files (not commit history). Total: ~2 million input tokens across 22 agents. User guide pages (17): - Home: all 32 descriptions rewritten with specific subsection details - Force-Feedback: motor physics, pipeline flow, haptic/condition/audio sections - Macros: 12 action type subsections, 6 practical recipes, fire mode guide - Devices: card layout, raw input viz, GUID persistence, 7 troubleshooting items - Stick-Dead-Zones: per-shape subsections, anti-DZ tuning, 5 genre recommendations - Trigger-Dead-Zones: floor/ceiling examples, 4 genre recommendations - Controller-Slots: "What Is a Slot?", type decision table, limits, reordering - Dashboard: engine states, VC card anatomy, power icon color table - Settings: per-setting guidance, driver comparison table, auto-save behavior - Button-and-Axis-Mappings: source dropdown, descriptor names, mapping tips - Profiles: pipe-separated exe format, 4 practical examples - DSU-Motion-Server: emulator table, sensor requirements, setup guides - Web-Controller: step-by-step setup, network requirements, latency expectations - Installation: Quick Start, auto-elevation, first-launch walkthrough - Driver-Management: graceful degradation, compatibility matrix, troubleshooting - Troubleshooting: 10 new scenarios, Quick Reference 18→33 entries - 3D-and-2D-Visualization: view selection table, MIDI preview, touch tips Developer reference pages (14): - Architecture-Overview: verified project layout, Key Design Decisions, threading - Input-Pipeline: 1538 lines, 3-thread Mermaid, dead zone algorithms, thread safety - Services-Layer: rewritten from scratch, 25+ method table, 5 interaction flows - ViewModels: 1559 lines, all 14 ViewModel classes, 70+ PadSetting properties - Engine-Library: 1811 lines, 31 types, full SDL3 P/Invoke reference - Settings-and-Serialization: 73 CopyablePropertyNames, save/load flowcharts - XAML-Views: layout trees, binding tables, 11 styles, UI Automation IDs - Virtual-Controllers: Mermaid type hierarchy, per-VC axis/button tables - SDL3-Integration: 1133 lines, enumeration flow, rumble, haptic, custom mappings - Build-and-Publish: all build modes, CI/CD, versioning, local NuGet - vJoy-Deep-Dive: HID descriptors, FFB, device lifecycle, restart strategies - Driver-Installation-Internals: Mermaid flowcharts, SetupAPI P/Invoke, registry - DSU-Protocol-Implementation: corrected byte offsets, sequence diagrams, CRC32 - 2D-Overlay-System: MIDI preview, verified file counts, flash timer corrected - 3D-Model-System: material system, coordinate transforms, touch gestures Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

    @hifihedgehog hifihedgehog committed Mar 19, 2026
  • Deep audit: fix 30+ discrepancies, add Mermaid diagrams, correct DSU offsets Deep source-code audit with 9 parallel agents reading full source files against all 32 wiki pages. Verification pass with 4 additional agents. Fixes: - Engine-Library: remove stale XInputState struct, trim ObjectAspect/ EffectParameterFlags enums to match code, delete nonexistent GetSlidersMask(), fix MidiRawState.Create() CC init description - Settings-and-Serialization: fix *Neg range defaults (nullable, not "100"), add MaxPads=16 note - Services-Layer: fix Start() (RemoveAllDeviceNodes not called), fix Stop() order (11 steps including web/audio), add Mermaid service diagram - Input-Pipeline: fix "seven" → "eight" files, add Mermaid pipeline diagram - vJoy-Deep-Dive: fix DisableDeviceNode (full removal, not keep-in-PnP), add RestartDeviceNode DICS_PROPCHANGE vs full restart strategies - ViewModels: add KeyboardMouseControllerIcon, fix SlotNumber (settable), add KBM to OutputTypeIndex mapping - Build-and-Publish: add missing Microsoft.Windows.Devices.Midi2 NuGet, fix AssemblyVersion (App=2.1.0 vs Engine=2.0.0) - Architecture-Overview: add CurveLut.cs, CurveEditor, fix MaxVJoySlots note, add Mermaid architecture diagram - SDL3-Integration: add VIDEO_ALLOW_SCREENSAVER hint, haptic skip note - DSU-Protocol-Implementation: fix motion data offsets (were 4 bytes off) - 2D-Overlay-System: fix schematic flash timer (400ms, not 170ms) - Driver-Installation-Internals: fix IsMidiServicesInstalled description - Devices: fix Instance Path label to HidHide Instance Path - Virtual-Controllers: add Mermaid VC type hierarchy diagram Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

    @hifihedgehog hifihedgehog committed Mar 19, 2026
  • Update wiki for audio bass rumble, source dropdown, macro volume options, DS3 raw mode User docs: Audio Bass Rumble section in Force-Feedback, source input dropdown in Button-and-Axis-Mappings, InvertAxis/ShowVolumeOsd in Macros, DS3/DsHidMini raw mode in Devices, audio rumble troubleshooting. Dev docs: AudioBassDetector in Architecture-Overview/Engine-Library, Step 2 audio combination in Input-Pipeline, detector lifecycle in Services-Layer, PadSetting audio properties in Settings-and-Serialization, PadViewModel/ MappingItem updates in ViewModels, PadPage UI changes in XAML-Views, NAudio.Wasapi in Build-and-Publish. Retake all 24 screenshots. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

    @hifihedgehog hifihedgehog committed Mar 19, 2026
  • Update wiki: add multilingual, Copy From, condition effects, directional FFB docs; retake all screenshots - Button-and-Axis-Mappings: Copy From Translation, Clipboard Metadata sections - Force-Feedback: Directional Haptic Forces, Condition Effects sections - Settings: Language / Multilingual Support section - Virtual-Controllers: condition effects, NumHapticAxes - Engine-Library: MappingTranslation, updated Vibration class, ConditionAxisData - SDL3-Integration: SDL_HapticCondition, SDL_HapticRamp, SDL_GetNumHapticAxes - Architecture-Overview: MappingTranslation.cs in project layout - ViewModels: culture/localization support in ViewModelBase - Settings-and-Serialization: cross-layout mapping translation - vJoy-Deep-Dive: condition effect struct details - All 24 screenshots retaken with current UI Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

    @hifihedgehog hifihedgehog committed Mar 16, 2026
  • Update wiki: combo triggers, Always mode, mouse actions, retake all screenshots Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

    @hifihedgehog hifihedgehog committed Mar 15, 2026
  • Update all screenshots and wiki pages for v2-dev - Retake all 25 screenshots with current UI (5 controller types, 6 slots) - Add dropdown screenshots: dead zone shape, sensitivity presets, trigger presets - Update Engine-Library, Input-Pipeline, Settings-and-Serialization, XAML-Views pages Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

    @hifihedgehog hifihedgehog committed Mar 14, 2026
  • Sync wiki with v2-dev: KBM, MIDI switcher, sensitivity curves, dead zones, screenshots - 23 wiki pages updated (+823 lines) covering KBM virtual controller, MIDI type switcher, sensitivity curves, dead zone shapes, 3-tier polling timer, auto-idle engine, HidHide whitelist - 21 screenshots retaken/added: all pages, all 4 slot types (Xbox360, KBM, vJoy, MIDI), MIDI piano keys, KBM keyboard+mouse preview, vJoy config bar + schematic - New screenshots: pad-kbm-preview, pad-midi-configbar, pad-vjoy-configbar, pad-vjoy-schematic, settings-hidhide - Strict content boundary enforcement: zero developer jargon in user guide pages Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

    @hifihedgehog hifihedgehog committed Mar 13, 2026
  • Update wiki: trigger precision, uninstall guards, decimal precision, screenshots - Input-Precision: Fix trigger resolution from byte to ushort (16-bit internally) - Driver-Management: Add MIDI uninstall steps, HidHide/MIDI uninstall guard notes - Settings: Add auto-save description - Virtual-Controllers: Fix trigger types, add MIDI auto-mapping section - Stick-Dead-Zones: Add decimal precision, digit values, rectangular preview - Trigger-Dead-Zones: Add setting values section with precision details - Retake stick and trigger screenshots showing new digit value fields - Developer docs: updated by audit agents Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

    @hifihedgehog hifihedgehog committed Mar 8, 2026
  • Update wiki: MIDI virtual controller type, .NET 10, retake all screenshots - Add MIDI output type documentation across all relevant pages - Update .NET 8 → .NET 10 references (Architecture, Build, Installation, Engine) - Add Windows MIDI Services to Driver Management and Settings - Add MIDI troubleshooting section - Update slot counts from "three types" to "four types" - Retake all 15 screenshots with current UI (wider sidebar) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

    @hifihedgehog hifihedgehog committed Mar 8, 2026
  • Replace double dashes with em dashes in all wiki pages

    @hifihedgehog hifihedgehog committed Mar 6, 2026
  • Comprehensive wiki update for v2.0.0-RC2 features Updated 17 pages covering all RC2 changes: - Web Controller: full technical docs (API routes, image cache, WebSocket protocol, MaxClients, frontend assets) - Dashboard/Settings: web controller configuration sections - Input Pipeline: center offset calibration in Step 3, consumed input merging in Step 2, vJoy presentation in Step 5 - Stick Dead Zones: calibration UI details, max range documentation - Virtual Controllers: vJoy presentation lifecycle, ordering fix, initializing indicator - vJoy Deep Dive: stale config leak fix, DLL namespace cache, config swap during reorder - Engine Library: WebControllerDevice, InputHookManager, PadSetting calibration fields, UserDevice hiding fields - ViewModels: web controller properties, StickConfigItem calibration, DeviceRowViewModel ForceRawMode - Settings/Serialization: web controller settings, stick calibration XML, input hiding XML - XAML Views: stick calibration UI, input hiding UI, web controller settings - SDL3 Integration: ForceRawMode documentation - 3D Visualization: touch gestures (pinch-to-zoom, two-finger pan) - Macros: consumed input behavior explanation - Button Mappings: calibration-aware preview, display consistency - Troubleshooting: force raw mode, web controller, stick drift entries - Architecture Overview: WebControllerDevice in engine Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

    @hifihedgehog hifihedgehog committed Mar 6, 2026
  • Document input hiding: HidHide management and low-level hooks - Devices.md: Add Input Hiding section (HidHide, hooks, auto-enable, master switch) - Settings.md: Add "Hide Devices from Games" master switch subsection - Driver-Management.md: Add built-in device management subsection under HidHide - Architecture-Overview.md: Add HidHideController.cs, InputHookManager.cs, 5th thread, thread safety - Services-Layer.md: Add device hiding lifecycle, DeviceHidingStateChanged, auto-enable defaults - Settings-and-Serialization.md: Add HidHideEnabled, ConsumeInputEnabled, EnableInputHiding - Driver-Installation-Internals.md: Add HidHideController IOCTL API section - Engine-Library.md: Add InputHookManager class documentation Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

    @hifihedgehog hifihedgehog committed Mar 4, 2026
  • Add complete PadForge wiki documentation (31 pages)

    @hifihedgehog hifihedgehog committed Mar 3, 2026