No, you'd just need to remove the HID class drivers, for example. So disallow HID_DEVICE, HID_DEVICE_SYSTEM_MOUSE and HID_DEVICE_SYSTEM_KEYBOARD. This would, if I'm following Coleman's link right, ...
This post features solutions for fixing Bluetooth Xinput compatible input device, Code 10 on Windows 11/10. Xinput is an API used by developers to develop games that work with controllers. Similarly, ...