I have wireless USB keyboard and mouse combo.I need a way to disable mouse while leaving keyboard function working and a way to enable it again after some time.I don't use X and I can't make it in desktop space as I use plain EGL, so it has to be done deeper, I guess in kernel space.I tried to play with /sys/bus/usb/* stuff and I managed only to disable whole USB device, but that wasn't what I need as both keyboard and mouse were disabled.Any ideas?
How to temporarily disable mouse device?
devices;mouse