Some weird stuff happened when I uncommented out the lines for other device types. So probably need to be smarter and actually send the right commands to the right devices to enable other device types.
I currently only have a mouse and mouse mat to actually test on.