Passing in mouse touchpad to VM

Edit to avoid burying the lede: the question is how to grant a VM use/access of the laptop’s touchpad.

My goal is to have a mobile developer workstation / lab with the Framework 16 (Ryzen AI 9 HX 370, BIOS 3.06) using Proxmox 9.1, with the desktop environment running as an EndeavourOS VM. I’m struggling with the VM (and/or host) configuration, though.

As I understand it, the keyboard and mouse’s touchpad are part of the FCH SMBus Controller in IOMMU group 15 with PCI ID 0000:00:14.0 and Vendor/Device 1022:790b. Passing that into the VM doesn’t seem to expose the keyboard and mouse, though. Passing in the keyboard USB device on port 3-4.3 (Vendor/Device 32ac:0012) does work; there doesn’t seem to be a USB equivalent of the mouse?

Proxmox doesn’t show anything that looks like a mouse in either the USB or PCI listings (nor in the terminal). Hopefully I’m just missing something ignorant/obvious.

It would be much simpler to put Endeavor OS on the host and use virt-manager or virtualbox. What you are doing will make it impossible to fix Proxmox if you ever break it.

The recommended way to do a developer workstation with Proxmox is to put a desktop environment on the host rather than in a VM:

I suppose I could have phrased it differently? The laptop is the Proxmox host with EndeavourOS running a VM. To do that, I’d need to be able to pass through most of the interactive bits. Host still runs under the hood like a headless server while the VM lets me do gui/work things; I already do this (on a server) and it’s a joy.

Unless a configuration that gives mouse control to the VM breaks the host. Which would be - I hope understandably - super weird. Hence the topic.

I could imagine it as a tradeoff for making the laptop’s hardware / setup work. Perhaps the mouse’s touchpad is some low level bus separate from the keyboard’s stuff and the usual peripheral setup. I’m just confused about where the mouse is since the keyboard has a USB analog that patches in fine. (The Nvidia RTX 5070m expansion bay does not pass in, but I haven’t ruled out some bizarre driver jank yet.)

I do not understand what the point of this is. Good luck.