WMT(4)

πŸ“¦ version 15.1, in freebsd 14.5, freebsd 15.1, nixpkgs unstable

πŸ’… WMT(4) β€” like, the Kernel Interfaces Manual page, bestie πŸ’…

okay so this is the manual page for wmt, and yes it lives in section 4 of the Kernel Interfaces Manual β€” very demure, very kernel-core of it. sit down, grab a strawberry, we're getting into it πŸ“βœ¨


✨ NAME ✨

wmt β€” the MS Windows 7/8/10 - compatible USB HID multi-touch device driver, no cap. that's the whole name, that's the whole vibe 🫢

πŸŽ€ SYNOPSIS πŸŽ€

so you wanna compile this driver into the kernel? periodt, then drop these lines into your kernel configuration file:

device wmt
device usb
device hid
device evdev

like, all four of them. not three. all four. iykyk πŸ’…

or β€” alternative route, super valid β€” load it as a module at boot time by putting this one line in loader.conf(5):

wmt_load="YES"

literally that's it. slay πŸ¦‹

🌸 DESCRIPTION 🌸

the wmt driver provides support for the MS Windows 7/8/10 - compatible USB HID multi-touch devices found in many laptops β€” yes bestie, those trackpads. the fancy ones. the ones that do the pinch thing πŸ”₯

and if you want your multi-touch device actually working in X(7) (that's ports/x11/xorg-docs), you gotta install ports/x11-drivers/xf86-input-evdev. no evdev, no multitouch, that's the deal πŸ™ˆ

🧚 FILES 🧚

  • wmt creates a pseudo-device file, /dev/input/eventX, which presents the multi-touch device as an input event device β€” iconic behavior tbh πŸ‘‘

⭐ SEE ALSO ⭐

πŸ‘‘ AUTHORS πŸ‘‘

the wmt driver was written by Vladimir Kondratyev <wulf@FreeBSD.org> β€” absolute main character energy, we stan πŸ’–

πŸ’€ BUGS πŸ’€

real talk, keeping it honest: wmt cannot act like sysmouse(4), because sysmouse(4) does not support absolute motion events. that's it, that's the limitation, not me making it up, it's literally in the source 😭

like… it's giving "not compatible" and there's nothing we can do about it, bestie. noted, documented, moving on πŸ’€

🌈 and that's the whole page! this version is from Debian, dated August 19, 2017, and yes, it's the WMT(4) page β€” go forth and touch your multi-touch device, you absolute legend 🫢✨

πŸ“¦ where this page comes from