Touchpad does not work in Linux – Lenovo 300w Gen 3

My friend has a Lenovo 300W Gen 3 and it is struggling to run Windows 10 smoothly with it’s 4GB RAM and AMD 3015e dual core cpu, so I offered to install Linux on his laptop for him. I have tried Linux Mint, Manjaro, and Fedora and they all stop the touchpad from working, although it works fine in Windows.

I have tried multiple things such as installing through pacman “xf86-input-evdev” and “xf86-input-synaptics”, and following a gist (https://gist.github.com/mgd722/436bf5d656f3005c40a9eef2d9c31fae), and nothing has worked. I’ve been looking online for over an hour now and I feel at a loss. Does anybody know anything else I can try to get the touchpad working? It is currently running Manjaro with kernel 6.12.11-1-MANJARO. I hoped updating it would make the touchpad work but it didn’t 🙁

I am comfortable writing Rust so if needed I’ll write a driver (although I don’t even know where to start with that, I usually just write mathematical programs)