How Carriage is built.
Carriage is a mechanical keyboard app for iPhone, iPad and iPhone Duo. On iPhone, the moment a key bottoms out on the glass, you hear the switch and feel it land.
A score for one keystroke.
In Apple’s 2025 trailer for F1, you could hear a gear change and feel it through the iPhone’s Taptic Engine. Apple timed the vibrations frame by frame. About the trailer on Apple TV
Carriage takes that idea down to a single key. A switch recording and a pattern of taps land together when you press, then a lighter pair answers when you lift. In the app’s opening film, First Build, one haptic track plays in step with the picture.
Tactile Q
Keystroke scoreWhat a switch feels like.
Carriage stores 36 hand-written scores in Apple’s haptic pattern format (AHAP). Each tells Core Haptics when to tap, how hard, and how sharp the contact should feel.
Linear
Tactile
Clicky
First 20 ms of each press · Taller marks mean stronger taps.
The space bar rattles on its stabilizer wire. Return meets its stabilizer before it bottoms out. Hold a letter and you feel its spring load and unwind. Slide across letters and a separate set of patterns follows the glide all the way to lift-off.
The room a keyboard gets.
A keyboard extension shares your phone with the app you’re typing in. Apple publishes no fixed memory allowance. Carriage asks iOS how much it can use, and the answer depends on the phone.
iOS can keep a keyboard alive for each app you type in. As soon as one leaves the screen, Carriage releases its Metal view, the surface that draws the keys.
Memory allowed for a keyboard
A PlayStation trick for the keys.
The original PlayStation had 2 MB of main memory. Games baked light into the scenery and reused textures across a level. Carriage borrows both ideas to fit inside a keyboard’s allowance.
- One sheet of letters
- Every legend shares one texture atlas. Each key picks its letter and tints it. On an OLED iPhone, lit letters can use the display’s extra brightness to glow past paper white.
- Two frames in flight
- One frame is on screen while the next is drawn. Carriage skips the usual third buffer and smooths the edges inside the graphics chip’s tile memory.
- Zero frames at rest
- Once the keys and their light settle, the keyboard stops drawing. The finished frame stays on screen until something changes.
Where iOS draws the line.
- Full Access
- Enable Allow Full Access for Carriage’s recorded switches and haptics in other apps. With it off, iOS supplies the system click. Carriage has no network code either way.
- Protected fields
- Passwords and phone-number pads bring up Apple’s keyboard. Apps can also opt out of custom keyboards altogether.
- Dictation
- Custom keyboards have no microphone access. Switch to Apple’s keyboard to dictate.
- iPad
- You hear each key there. The iPad has no Taptic Engine to play the taps.
- iPhone Duo
- Only Carriage’s notebook gets the fold position to place the two halves around the hinge. In other apps, a split board uses the middle of the screen.