------------------------------------------------------------------------------
| 744 | |
| 745 | //------------------------------------------------------------------------------ |
| 746 | bool ActionMap::processUnbind(const char *device, const char *action, SimObject* object /*= NULL*/) |
| 747 | { |
| 748 | U32 deviceType; |
| 749 | U32 deviceInst; |
| 750 | |
| 751 | if(!getDeviceTypeAndInstance(device, deviceType, deviceInst)) |
| 752 | return false; |
| 753 | EventDescriptor eventDescriptor; |
| 754 | if (!createEventDescriptor(action, &eventDescriptor)) |
| 755 | return false; |
| 756 | |
| 757 | removeNode(deviceType, deviceInst, eventDescriptor.flags,eventDescriptor.eventCode, object); |
| 758 | return true; |
| 759 | } |
| 760 | |
| 761 | //------------------------------------------------------------------------------ |
| 762 | // This function is for the use of the control remapper. |