Touchscreen
From Gentoo Wiki
Enabling touchscreen support (generally for laptops and tablets) is commonly possible using the wacom kernel driver and either the wacom (X) or libinput (Wayland) userspace driver.
Installation
Kernel
See the kernel section of the wacom article.
Userspace driver
See the libinput article.