https://reddit.com/link/1t0u26z/video/wivob730ziyg1/player
Built a fully functional 65% liquid-glass keyboard for the Corsair Xeneon Edge
Instead of just running monitoring widgets on it, I wanted to use the touch layer as a real keyboard.
How it works:
- The keyboard itself is HTML/CSS/JS (65% layout, ~145×125 px keys, fills the screen edge-to-edge)
- A small Python helper (
pynput+websockets) runs locally as a bridge onws://localhost:8765 - Every tap sends a JSON message; the bridge injects a real OS keystroke via SendInput
- A foreground-window watcher tracks the last non-keyboard app you used and auto-restores focus to it on each tap — otherwise keystrokes would just loop back into the browser
Has the usual stuff: auto-repeat on hold, sticky one-shot modifiers, Caps as a UI-only persistent shift, full modifier combos (Ctrl+C, Shift+Arrow, Alt+Tab, etc.). You can also drop an image, GIF, or video as the background and it persists across reloads.
End-to-end latency is ~25–55 ms — Bluetooth-keyboard territory. The 60 Hz panel and capacitive touch are the bottleneck, not software. Fine for typing, chat, hotkeys; don't try to game on it.
Aesthetic is Apple's Liquid Glass — backdrop blur + saturate, layered specular highlights, soft inner/outer shadows. Looks much better in motion than a still screenshot does justice.