Block USB Wired Mouse

Hi Everyone!

I want to block the USB wired mouse from accessing my machine. Which framework is used to implement ?

PS: I have already tried DriverKit Framework but it requires Apple's paid developer account. What will be alternative ?

Answered by DTS Engineer in 836537022

I want to block the USB wired mouse from accessing my machine. Which framework is used to implement ?

The right answer here really depends on exactly what you're trying to prevent and why, however, the options I would lean toward would probably be to seize the device using the IOUSBHost framework or CoreHID. In either case, that will mean that the system routes all access/control to your app, which means the rest of the system won't get events from the mouse.

__
Kevin Elliott
DTS Engineer, CoreOS/Hardware

I want to block the USB wired mouse from accessing my machine. Which framework is used to implement ?

The right answer here really depends on exactly what you're trying to prevent and why, however, the options I would lean toward would probably be to seize the device using the IOUSBHost framework or CoreHID. In either case, that will mean that the system routes all access/control to your app, which means the rest of the system won't get events from the mouse.

__
Kevin Elliott
DTS Engineer, CoreOS/Hardware

Block USB Wired Mouse
 
 
Q