How noah-nuebling/mac-mouse-fix works
Mac Mouse Fix is a macOS mouse-enhancement app. Users configure button remaps and pointer/scroll behavior in the app; a helper handles device input and applies those behaviors. The README highlights gestures, smooth scrolling, and customization, while the tree identifies separate button, pointer, scroll, and drag subsystems. The graph includes those capabilities, licensing/trial UI, and app/helper state. Some runtime wiring is shown only by the product description and tree, so those links are dashed; source-index relationships are cited where available.
Main entry points: SwitchMaster.swift Input Coordinator · AboutTabController.swift About and Trial UI · ButtonTabController.swift Button Settings · MainAppState.swift App State
Components 22
App and Settings
- App State
App/MainAppState.swift - Settings Tabs
App/UI/Main/TabViewController.swift - Button Settings
App/UI/Main/Tabs/ButtonTab/ButtonTabController.swift - Pointer Settings
App/UI/Main/Tabs/PointerTabController.swift - Scroll Settings
App/UI/Main/Tabs/ScrollTabController.swift - About and Trial UI
App/UI/Main/Tabs/AboutTabController.swift - License Sheet
App/UI/LicenseSheet/LicenseSheetController.swift
Mouse Runtime
- Button Remapping
Helper/Core/Buttons/Buttons.swift - Remap Rules
Helper/Core/Remap/Remap.h - Pointer Speed
Helper/Core/PointerSpeed/PointerSpeed.h - Scroll Processing
Helper/Core/Scroll/Scroll.h - Drag Gestures
Helper/Core/Drag/ModifiedDrag.h - Input Coordinator
Helper/Core/Coordinate/SwitchMaster.swift - Device Manager
Shared/Devices/ReactiveDeviceManager.swift
Shared State
- Configuration
Shared/Config/ReactiveConfig.swift - App-Helper Messaging
Shared/MessagePort/MessagePortUtility.swift
Licensing
- License State
Shared/License/Retrieve/GetLicenseState.swift - Trial State
Shared/License/LicenseUtility.swift - Trial Presentation
Shared/UI/TrialSection/TrialSectionManager.swift - Trial Notifications
Helper/UI/TrialNotifications/TrialNotificationController.swift
Other components
- Mouse User
- Mouse Device
Connections 24
- Mouse User → Button Settings: configures
- Mouse User → Pointer Settings: configures
- Mouse User → Scroll Settings: configures
- App State → Settings Tabs: opens
App/MainAppState.swift - App State → Button Settings: references
App/MainAppState.swift - App State → About and Trial UI: references
App/MainAppState.swift - Button Settings → App-Helper Messaging: sends commands
App/UI/Main/Tabs/ButtonTab/ButtonTabController.swift - Button Settings → Configuration: updates
- Pointer Settings → Configuration: updates
- Scroll Settings → Configuration: updates
- App-Helper Messaging → Input Coordinator: dispatches
- Mouse Device → Device Manager: attaches
- Device Manager → Input Coordinator: notifies
Shared/Devices/ReactiveDeviceManager.swift - Input Coordinator → Button Remapping: coordinates
- Button Remapping → Remap Rules: applies
- Input Coordinator → Pointer Speed: coordinates
- Input Coordinator → Scroll Processing: coordinates
- Input Coordinator → Drag Gestures: coordinates
- About and Trial UI → License State: loads state
App/UI/Main/Tabs/AboutTabController.swift - About and Trial UI → Trial State: loads trial data
App/UI/Main/Tabs/AboutTabController.swift - About and Trial UI → Trial Presentation: starts presentation
App/UI/Main/Tabs/AboutTabController.swift - License Sheet → License State: checks license
App/UI/LicenseSheet/LicenseSheetController.swift - License Sheet → About and Trial UI: refreshes UI
App/UI/LicenseSheet/LicenseSheetController.swift - Trial Notifications → Trial Presentation: uses trial section
Helper/UI/TrialNotifications/TrialNotificationController.swift