How shuiju/all-in-one-mouse-driver works
Mouse Hub is a resident Windows mouse-configuration app for LAMZU, VAXEE, and Endgame Gear. Users select a device, edit or choose a profile, bind it to an executable (or make it the default), and the app applies settings as the foreground process changes; it reads settings back to confirm success. The graph preserves the documented profile migration, device-status, and native-UI branches. Main startup wiring and several UI/action files were not sampled, so edges between those components rely on README workflow statements; unsampled implementation details are not inferred.
Main entry points: engine.go Automation engine · devices_windows.go Device discovery · native_views_windows.go UI views · readback_windows.go Settings readback
Components 23
Native interface
- Window and UI
native_windows.go - UI views
native_views_windows.go - Device overview
native_view_devices_windows.go - Profile linking
native_view_profiles_windows.go - Device tuning
native_view_tuning_windows.go - UI actions
native_actions_windows.go - Edit drafts
native_drafts_windows.go
Profiles and automation
- Automation engine
internal/hub/engine.go - Profiles and settings
internal/hub/config.go - Legacy import
internal/hub/import_windows.go
Device coordination
- Foreground process
internal/platform/foreground_windows.go - Legacy-app conflicts
internal/platform/processes_windows.go - Device discovery
internal/hub/devices_windows.go - Settings readback
internal/hub/readback_windows.go
LAMZU adapter
- LAMZU HID and settings
internal/lamzu/hid_windows.go - LAMZU identity
internal/lamzu/identity_windows.go - LAMZU trajectory
internal/lamzu/trajectory.go
VAXEE adapter
- VAXEE HID and settings
internal/vaxee/hid_windows.go - VAXEE identity
internal/vaxee/identity_windows.go
Endgame adapter
- Endgame HID
internal/endgame/hid_windows.go - Endgame protocol
internal/endgame/protocol.go
Other components
- User
- Windows
Connections 28
- User → Window and UI: uses
- Window and UI → UI views: renders
native_windows.go - UI views → Device overview: shows devices
- UI views → Profile linking: shows bindings
- UI views → Device tuning: shows controls
- User → UI actions: edits
- UI actions → Edit drafts: updates
- UI actions → Automation engine: requests changes
- Automation engine → Profiles and settings: loads and saves
internal/hub/engine.go - Automation engine → Foreground process: checks foreground
- Windows → Foreground process: reports foreground
internal/platform/foreground_windows.go - Automation engine → Legacy-app conflicts: checks conflicts
- Automation engine → Device discovery: discovers devices
internal/hub/engine.go - Windows → Device discovery: reports HID devices
- Device discovery → LAMZU HID and settings: discovers
- Device discovery → VAXEE HID and settings: discovers
- Device discovery → Endgame HID: discovers
- Automation engine → Settings readback: confirms settings
internal/hub/engine.go - Settings readback → LAMZU HID and settings: reads settings
- Settings readback → VAXEE HID and settings: reads settings
- Settings readback → Endgame protocol: reads settings
- LAMZU HID and settings → LAMZU identity: reads identity
- LAMZU HID and settings → LAMZU trajectory: supports trajectory
- VAXEE HID and settings → VAXEE identity: reads identity
- Endgame HID → Endgame protocol: uses protocol
internal/endgame/protocol.go - User → Legacy import: imports legacy config
- Legacy import → Profiles and settings: migrates profiles
- Profiles and settings → Automation engine: supplies profiles