https://github.com/rvaiya/keyd#why-is-my-trackpad-is-interfering-with-input-after-enabling-keyd
Typing is much easier now. I had to create the /etc/libinput directory, then I created /etc/libinput/local-overrides.quirks containing this text
[Serial Keyboards]
MatchUdevType=keyboard
MatchName=keyd*keyboard
AttrKeyboardIntegration=internal