Arti3DPlayer / USBDeviceSwift

wrapper for IOKit.usb and IOKit.hid written on pure Swift that allows you convenient work with USB devices
MIT License
290 stars 55 forks source link

Ability to enable/disable the device? #24

Open toysonlocation opened 2 years ago

toysonlocation commented 2 years ago

Is it possible to disable/enable a device with your codebase? We have actors being filmed using laptops, and need to prevent them from actually typing or using the trackpad, but keep an external mouse/keyboard active.

Alternatively, intercepting and disposing of any events from the devices would be usable as well. Would this codebase be suitable for that?