Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3541

Raspberry Pi OS • External Keyboard Disable/Enable

$
0
0
Hello!

I'm wondering if anyone knows of a clear programmatic way to disable and re-enable an externally plugged in USB keyboard to a Raspberry Pi 5 running Bookworm 64bit PiOS.

Ultimately, the goal is to have control at any given point for whether the keyboard is enabled or not - ideally through a shell command or something of that nature. Kind of similar to an equivalent of clicking the keyboard lock key that some laptop keyboards will have.

Thank you in advance for any insight! I've done some searching around and found some external packages that potentially could be of use but I figured I'd ask this community first for if there is a straightforward way that would work :)

(also apologies if this is posted into the wrong section of this forum - I wasn't quite sure where this fit into)

Statistics: Posted by julia! — Fri Nov 07, 2025 5:55 pm



Viewing all articles
Browse latest Browse all 3541

Trending Articles