Recently I've obtained a trackball, and I'm trying to use it with my Mac Mini running 10.9.5. The trackball is plugged in via USB port. The ball is rather sensitive, so it picks up very small movement, like from vibration of the desk.
So when I put my computer to sleep, quite often it wakes up from that movement. Sometimes I'm not even sure there is any movement. The computer just enters the sleep mode, I barely even breathe, and several seconds after the power indicator starts blinking it powers up again.
When I unplug the trackball, everything works fine.
So, is there a way to disable waking Mac from a particular USB device? If not, from USB entirely? Or maybe only pointing device movement (clicks would be alright)?