MCPcopy Create free account
hub / github.com/acidanthera/VoodooInput / stop

Method stop

VoodooInput/VoodooInput.cpp:101–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101void VoodooInput::stop(IOService *provider) {
102 if (simulator) {
103 simulator->stop(this);
104 simulator->detach(this);
105 OSSafeReleaseNULL(simulator);
106 }
107
108 if (actuator) {
109 actuator->stop(this);
110 actuator->detach(this);
111 OSSafeReleaseNULL(actuator);
112 }
113
114 if (trackpoint) {
115 trackpoint->stop(this);
116 trackpoint->detach(this);
117 OSSafeReleaseNULL(trackpoint);
118 }
119
120 super::stop(provider);
121}
122
123bool VoodooInput::updateProperties() {
124 OSNumber* transformNumber = OSDynamicCast(OSNumber, getProperty(VOODOO_INPUT_TRANSFORM_KEY, gIOServicePlane));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected