Yes, there is a very large amount of software that's involved in making touchpads work and that software is part of the OS.
I once had a vexing problem with my old Intel MacBook — macOS failed to boot, but Windows seemed totally normal. Can't possibly be a hardware failure, right? The symptoms disappeared after replacing the SATA cable!
When your trackpad worked in a previous OS version and suddenly don't in the newest, that's called a software bug. Not a trackpad malfunction.