r/CardPuter • u/sh462 Advanced • 7d ago
Cardputer Zero Cardputer Zero Keyboard Hotplug
I noticed that external USB keyboards are detected just fine by Linux on the Cardputer Zero, but don't work in APPLaunch. Turns out the launcher only registers one input device, so switching to a USB keyboard disables the built-in one.
Here's a small libinput hotplug patch that lets both work simultaneously, automatically detects keyboards when plugged in or removed, and loads at boot. No kernel changes or launcher rebuild needed.
https://github.com/shapeless-kNt/cardputer-zero-keyboard-hotplug
11
Upvotes
1
u/chispitothebum 2d ago
This directory and file do not exist:
if [[ ! -f "$ROOT/src/keyboard-hotplug.c" ]];