From 74217ba4a72f382c8e5f21908e495ae95536a65e Mon Sep 17 00:00:00 2001 From: Raheman Vaiya Date: Thu, 16 Jan 2025 18:04:31 -0500 Subject: [PATCH] doc: Update README --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index 9074e84..cad10d8 100644 --- a/README.md +++ b/README.md @@ -266,6 +266,30 @@ it. Finally it remaps insert to S-insert (paste on X11). # FAQS +## Why is my trackpad is interfering with input after enabling keyd? + +libinput, a higher level input component used by most wayland and X11 setups, +includes a feature called 'disable-while-typing' that disables the trackpad +when typing. + +In order to achieve this, it needs to distinguish between internal and external +keyboards, which it does by hard coding a rules for specific hardware +('quirks'). Since keyd creates a virtual device which subsumes both external +and integrated keyboards, you will need to instruct libinput to regard the keyd +virtual device as internal. + +This can be achieved by adding the following to `/etc/libinput/local-overrides.quirks` (which may need to be created): + +``` +[Serial Keyboards] + +MatchUdevType=keyboard +MatchName=keyd*keyboard +AttrKeyboardIntegration=internal +``` + +Credit to @mark-herbert42 and @canadaduane for the original solution. + ## What about xmodmap/setxkbmap/*? xmodmap and friends are display server level tools with limited functionality.