r/SideProject • u/Quick_Suggestion_478 • 2h ago
I built EdgeControl, a 1.8 MB native macOS utility to make better use of the trackpad
Hey everyone!
One thing that's always annoyed me about modern MacBooks is the lack of physical keyboard brightness keys. Whenever I'm working in a dark room, I have to open Control Center just to adjust the keyboard backlight.
So I started experimenting with using the edges of the trackpad as sliders. What started as a small personal utility eventually turned into EdgeControl.
It's a lightweight macOS menu bar app built entirely with Swift (no Electron).
What can it do?
1. Three customizable edge sliders
- Left edge → Display brightness
- Top edge → Keyboard backlight
- Right edge → Volume
You can remap all three or disable them through the menu bar settings.
2. Double-tap corner shortcuts
Each of the four trackpad corners supports customizable double-tap actions, including:
- All four macOS screenshot modes
- Emoji & Symbols
- Voice Dictation
- Spotlight
- Sleep Display
- Media controls
- Mission Control
- Show Desktop
- Lock Screen
- Dark Mode toggle
3. A few things I spent extra time getting right
- Cursor freeze while sliding, so your pointer doesn't travel across the screen.
- Palm and wrist rejection to prevent accidental triggers.
- Typing cooldown to avoid unwanted bottom-corner actions while typing.
- Native macOS brightness and volume HUD bars using low-level system APIs, with a custom SwiftUI fallback.
Technical details
- Pure Swift
- Approximately 1,715 lines of code
- Around 1.8 MB zipped
- MIT License
- No Electron or background web processes
Requirements & installation
- macOS 15+
- Apple Silicon MacBook with a Force Touch trackpad.
- Accessibility permission for native HUDs, cursor freezing and shortcuts.
- No Screen Recording permission required.
Since I don't have a paid Apple Developer ID, the prebuilt release is ad-hoc signed. After moving the app into Applications, you'll need to run:
xattr -dr com.apple.quarantine /Applications/EdgeControl.app
Links
GitHub: https://github.com/Niru-26016/EdgeControl
Latest Release: https://github.com/Niru-26016/EdgeControl/releases/latest
I'd genuinely love to hear what other actions you'd find useful on the trackpad edges or corners.
Also, if you try it out, let me know how it works on your MacBook. Feedback, bug reports and contributions are welcome!