MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / processUnbind

Method processUnbind

Engine/source/sim/actionMap.cpp:716–729  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

714
715//------------------------------------------------------------------------------
716bool ActionMap::processUnbind(const char *device, const char *action, SimObject* object /*= NULL*/)
717{
718 U32 deviceType;
719 U32 deviceInst;
720
721 if(!getDeviceTypeAndInstance(device, deviceType, deviceInst))
722 return false;
723 EventDescriptor eventDescriptor;
724 if (!createEventDescriptor(action, &eventDescriptor))
725 return false;
726
727 removeNode(deviceType, deviceInst, eventDescriptor.flags,eventDescriptor.eventCode, object);
728 return true;
729}
730
731//------------------------------------------------------------------------------
732// This function is for the use of the control remapper.

Callers 1

actionMap.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected