Ma

Macpad – turn your game controller into a Mac mouse and keyboard

Hacker News

Macpad – turn your game controller into a Mac mouse and keyboard

I cloud game on my Mac plugged into an external display — controller in hand, couch mode, trackpad halfway across the room. Which works fine until something interrupts: a Slack ping, a browser tab I need to click, a password field. Every interruption used to mean pausing, standing up, grabbing the trackpad, doing the one-second task, putting the trackpad back, rebinding my hands on the controller, and finding my place in the game. The interruption was always an order of magnitude longer than the thing it actually interrupted. Macpad collapses it into one button. Press Home/PS → the left stick becomes my cursor, A is left click, and there's an on-screen keyboard an L1+R1 chord away if I need to type. Do the thing. Press Home again → back to the game, zero context lost. That's the whole pitch. Not a trackpad replacement for its own sake — a fast context switch between "I'm gaming" and "I'm on my Mac", without standing up. The interesting engineering bit, if you're into that: Apple's driver silently hides the PS button from the GameController framework on macOS. GCController.physicalInputProfile lists "Button Home" but its pressedChangedHandler never fires — the OS swallows the event for its Game Center overlay. But the button isn't gone. It's right there in the raw HID input report. Chromium's WebHID does exactly this: opens the device with IOHIDDeviceRegisterInputReportCallback, reads the full 64-byte input report, and masks the button bit itself. So I did the same — byte 6 bit 0 on DS4 USB, byte 9 bit 0 on DualSense Bluetooth, etc. Same trick unlocks the Create/Share button and the touchpad click, which Apple's driver also drops on the floor. Other rabbit holes that were way more interesting than I expected: - Left clicks turning into right clicks. Posting ⌃Tab via CGEvent leaks the control flag into macOS's combined-session modifier state. The next synthetic mouse click inherits ctrl, and on macOS ctrl+click == right-click. Fix: explicitly reset flags = [] on mouse events, let keyboard events keep inheriting (otherwise you break system shortcuts). - L1+R1 chord for the keyboard, with a 150ms window. Quick-tapped shoulders must still fire their normal action; the chord only wins if both arrive inside the window. Deferred-DispatchWorkItem + cancel-on-opposite-arrival. - Haptics that actually feel like a mechanical click = a sharp transient layered over a 40ms continuous tail. One event alone feels like a flat buzz. Two layered events feel like a keycap. Honest disclosure: a lot of this was vibe-coded with Claude. I drove, Claude did plenty of the typing. I'm calling that out because the interesting thing isn't that I hand-wrote every line — it's that the debugging stories above (the PS button, the modifier leak, the chord window timing) are all real problems we actually hit, diagnosed from logs, and fixed. The AI was a good typist; the system design, the "wait, why does this work in Chromium but not us", the hypothesis-forming — still the work. Works on macOS 14+, Liquid Glass UI on Tahoe, Swift Package Manager, no dependencies. MIT. Repo + full bindings + architecture notes: https://github.com/henit-chobisa/macpad

Share card

Actual performance

1points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: mac, macos, cursor · Missing: agents, agent, model
98%98% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
79%79% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: ide, io · Missing: https docs, excited, just released
55%55% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Strong signals: way · Missing: mobile apps, ios, personal
42%42% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
27%27% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Strong signals: arr · Missing: mrr, revenue, profit
14%14% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

Th
ThinkPad Keyboard Backlight Controller30%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

ThinkPad Keyboard Backlight Controller

Hacker News2
(S
(SFW) Turn your sex toy into a video game controller46%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

(SFW) Turn your sex toy into a video game controller

Hacker News1
We
We gave AI a mouse and keyboard34%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

We gave AI a mouse and keyboard

Hacker News1
Keytty
Keytty59%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Mouse controlling app by keyboard

Indie Hackers1$9/mob2c
PhoneDeck
PhoneDeck75%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Turn your iPhone into a free Mac controller

Product Hunt+256iOS
HT
HTML5 mobile keyboard/mouse46%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

HTML5 mobile keyboard/mouse

Hacker News2
Us
Use your Mac as a keyboard and mouse for the iPad45%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Use your Mac as a keyboard and mouse for the iPad

Hacker News4
Ex
Experimental Keyboard Game44%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Experimental Keyboard Game

Hacker News5
Remotely
Remotely40%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Keyboard & Mouse Sharing

Indie Hackers2productivity
Pe
Pebble Controller31%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Pebble Controller

Hacker News1