------------------------------------------------------------------------------
| 714 | |
| 715 | //------------------------------------------------------------------------------ |
| 716 | bool 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. |