MMC

macOS mouse utility · 2026

MouseCraft

A menu-bar app that makes classic mice pleasant on a Mac: a scroll direction separate from the trackpad’s, smooth scrolling, remappable buttons and fluid gestures between Spaces.

Chapter select

  1. Chapter 1The briefThe project in a few linesTo discover
  2. Chapter 2GameplayWhat the app does, feature by featureTo discover
  3. Chapter 3The numbersThe results screenTo discover
  4. Chapter 4Behind the scenesRole, period, platforms and stackTo discover
  5. Chapter 5Photo modeEvery screenshot, full sizeTo discover
  6. Chapter 6TrophiesWhat was achieved on this projectTo discover
  7. Chapter 7CreditsWho did whatTo discover
Chapter 1

The brief

MouseCraft lives in the menu bar and intercepts the mouse at system level. It separates the wheel’s scroll direction from the trackpad’s, animates scrolling like a trackpad does and gives every button a job: click, double click, hold or drag. Written in Swift and SwiftUI, with no external dependencies.

Chapter 2

Gameplay

  • Wheel direction set separately for the mouse (vertical and horizontal) and for the trackpad or Magic Mouse, without touching the macOS “Natural scrolling” setting.
  • Smooth scrolling at 120 Hz, with exponential decay and sub-pixel carry-over; adjustable speed, smoothness and acceleration, and it can be turned off per app.
  • Keys + wheel: ⇧ to scroll sideways, ⌥ for precise scrolling, ⌘ to zoom, AZERTY included, by reading the active keyboard layout.
  • Middle button, buttons 4 and 5 and any extra button detected: one action on click, double click, hold and drag, from 21 actions (back, Mission Control, Spotlight, media keys, keyboard shortcut, open an app…).
  • Fluid gestures like a three-finger trackpad swipe: hold the middle button and drag left or right to switch Spaces with the screen following the mouse, up for Mission Control, down for the app’s windows.
  • Interception with a HID-level CGEventTap on a dedicated thread; mouse and trackpad are told apart by the “continuous” field and the scroll phases.
  • Detects other utilities that intercept the mouse, a list of apps where MouseCraft steps aside completely, launch at login and settings stored as readable JSON.
  • Pure logic isolated in a module covered by 30 unit tests; a release script builds a universal DMG (Apple Silicon and Intel).
Chapter 3

The numbers

21actions to give the buttons
PlatformmacOS 13 or later
BinaryUniversal, Apple Silicon and Intel
Smooth scrolling120 Hz
Actions21, on click, double click, hold or drag
Tests30 unit tests
DependenciesNone
Chapter 4

Behind the scenes

Role
Creator, solo developer
Organization
Personal project
Period
November 2026
Platforms
macOS
Status
Version 1.0.0, personal use

Tech stack

SwiftSwiftUIAppKitCore GraphicsCGEventTapCarbonServiceManagementSwift Package ManagerXCTest
Chapter 5

Photo mode

Chapter 6

Trophies

MouseCraft

macOS · 3 trophies

111100% earned
  • Each its own way

    Give the mouse and the trackpad their own scroll direction, without touching the macOS setting.

    Gold
    Very rare · Earned November 2026
  • Three fingers

    Switch Spaces by dragging with the middle button, the screen following the mouse like on a trackpad.

    Silver
    Rare · Earned November 2026
  • Smooth operator

    Animate every wheel notch at 120 Hz.

    Bronze
    Common · Earned November 2026
Chapter 7

Credits

A production by

Personal project

Design and development

Mohamed Melek Chtourou

Role

Creator, solo developer

Period

November 2026

Tech stack

Swift · SwiftUI · AppKit · Core Graphics · CGEventTap · Carbon · ServiceManagement · Swift Package Manager · XCTest

Thanks for playing

Other games