MCPcopy Create free account
hub / github.com/360Controller/360Controller / setProperties

Method setProperties

Wireless360Controller/Wireless360Controller.cpp:381–390  ·  view source on GitHub ↗

Called by the userspace IORegistryEntrySetCFProperties function

Source from the content-addressed store, hash-verified

379
380// Called by the userspace IORegistryEntrySetCFProperties function
381IOReturn Wireless360Controller::setProperties(OSObject *properties)
382{
383 OSDictionary *dictionary = OSDynamicCast(OSDictionary,properties);
384
385 if(dictionary!=NULL) {
386 setProperty(kDriverSettingKey,dictionary);
387 readSettings();
388 return kIOReturnSuccess;
389 } else return kIOReturnBadArgument;
390}
391
392// Get info
393

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected