ISpDevices_Activate
You can use the ISpDevices_Activate function to activate devices.
OSStatus ISpDevices_Activate ( UInt32 inDeviceCount, ISpDeviceReference *inDevicesToActivate);
inDeviceCount
- The number of references in the array pointed to by the
inDevicesToActivate
parameter.inDevicesToActivate
- A pointer to an array of device references.
- function result
- A result code.
DESCRIPTION
You pass in a pointer to an array of references to the devices to be activated in theinDevicesToActivate
parameter and pass in the number of references in the array in theinDeviceCount
parameter. The ISpDevices_Activate function activates the devices. When a device is activated, InputSprocket receives events from it.The following categories of devices are inactive by default: kIspDeviceClass_SpeechRecognition, kISpDeviceClass_Mouse, and kISpDeviceClass_Keyboard.