TikTok Keyboard Controls (⏮ ⏯ ⏭)
Control your FYP with your keyboard's ⏮ ⏯ ⏭ keys. Skip videos like skipping songs. Pause to catch that recipe. All without leaving your IDE.
section .textglobal _calculate_gravity_calculate_gravity:push ebpmov ebp, esp mov eax, [ebp+8] ; train_weight imul eax, 981 ; g = 9.81m/s^2 sar eax, 7 ; scale factorpop ebpret build rct3 coaster physics in asm
Creating physics engine...
Why Mouse Control Breaks Flow
Every time you reach for the mouse, you lose your place in the code
Clicking the TikTok window steals focus from your IDE
Touch targets on TikTok are designed for phones, awkward with a mouse
Tab-switching interrupts both your code AND the video
No native keyboard shortcuts for TikTok navigation
Browser media key support is inconsistent and unreliable
Keyboard Video Control Integration
Vibe Scroll registers as a media player with your operating system. Your keyboard's ⏯ ⏭ ⏮ keys control TikTok directly, just like they control Spotify.
Play/Pause Toggle
Press ⏯ to pause when you see something interesting. Press again to resume. Video state persists perfectly.
Next Video
Press ⏭ to skip to the next TikTok instantly. No waiting for the current video to end. Jump ahead on demand.
Previous Video
Press ⏮ to go back to the previous video. Missed something? One keystroke brings it back.
How It Works
System Registration
Vibe Scroll uses souvlaki to register as a media player with your OS (MPRemoteCommandCenter on macOS, SMTC on Windows, MPRIS on Linux).
Event Capture
When you press a media key, the OS routes the event to Vibe Scroll. We capture Play, Pause, Next, Previous, and Toggle events.
JavaScript Execution
The Rust backend triggers JavaScript functions injected into TikTok: __togglePlayback(), __triggerNextVideo(), __triggerPrevVideo().
DOM Manipulation
For Next/Prev, we find the video element, dispatch keyboard events (ArrowDown/ArrowUp), or use scrollIntoView as fallback.
Why Developers Love This
Hands Stay on Keyboard
Your fingers never leave the home row. Control your entertainment the same way you control your music — with media keys.
Works System-Wide
Media keys work even when Vibe Scroll isn't focused. Keep coding in Cursor/VS Code while controlling TikTok with your keyboard.
Cross-Platform Support
Same experience on macOS, Windows, and Linux. Works with any keyboard that has media keys, including MacBook Touch Bar.
Like Changing Songs
Skip a boring TikTok the same way you skip a song. The mental model is intuitive — press next, get new content.