Skip to content

Add MacBook built-in accelerometer for MBC7 games#748

Open
northbymidwest wants to merge 1 commit intoLIJI32:masterfrom
northbymidwest:macbook-motion
Open

Add MacBook built-in accelerometer for MBC7 games#748
northbymidwest wants to merge 1 commit intoLIJI32:masterfrom
northbymidwest:macbook-motion

Conversation

@northbymidwest
Copy link
Copy Markdown

@northbymidwest northbymidwest commented Mar 7, 2026

Hi, sorry to throw AI slop at you, but here is a diff I can up with that enables the MacBook accelerometers in Kirby Tilt n Tumble so it can be played by tilting your laptop around. I figured out reading the sensor, but Claude did all of the actual coding work.

Ports the IOKit HID accelerometer reading from gbcemu to the Cocoa
frontend. Uses AppleSPUHIDDevice on Apple Silicon MacBooks to provide
tilt input for games like Kirby Tilt 'n' Tumble without needing an
external controller.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@northbymidwest northbymidwest marked this pull request as ready for review March 8, 2026 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant