SmackBook

ealf0 HN recommenders · 2013–2026
1.9M views · demo · evergreen · Uploaded 2006-05-23

A very short demo of SmackBook, a hack that used the MacBook Pro's sudden motion sensor so that smacking the sides of the laptop switches desktop spaces.

HN cites it as a fun example of novel uses of the MacBook motion sensor whenever laptop accelerometers come up.

Watch on YouTube

4 comments from Hacker News

@UVB-762013 · in “iCloud Beta Incorporates iOS 7 Look and Feel”

I know it's not quite the same, but MacBooks do have sudden motion sensors. See the "smackbook": [VIDEO]

@ratww2021 · in “Previews of software updates designed for people with disabilities”

Reminds me of the old hack someone did using the accelerometer in a Macbook hard drive to switch between Spaces: [VIDEO]

@jerlam2025 · in “The MacBook has a sensor that knows the exact angle of the screen hinge”

Probably not as bad as the Smackbook, which used the HDD impact sensors to change apps: [VIDEO] "I was just hitting the side of my laptop in order to go to Safari" No longer supported because we don't use HDDs anymore.

@future10se2026 · in “Reading the undocumented MEMS accelerometer on Apple Silicon MacBooks via iokit”

Aaackshually, the Sudden Motion Sensor was introduced on 2005 in the PowerBook G4, and continued through the intel MacBooks with hard drives. While officially undocumented, people figured out how to access it back then, with novel uses like smacking your MacBook to change spaces (virtual desktops) or swinging the Mac around to make lightsaber noises. - [VIDEO] - [LINK] (I should know, I was in university back then and swung my Mac around like an idiot, lol.) On the first Retina MacBook Pro 15" in 2012, and moving forward with all MacBooks that were SSD-only, they removed the SMS as it was not needed. To my knowledge, this is the first time we're hearing that Apple Silicon machines have an accelerometer on the SoC, officially or otherwise. It's also certainly not branded or marketed as the SMS was. ( [LINK] ) Happy to be corrected on this!