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

Method buildInputEvent

Engine/source/platform/input/event.cpp:490–502  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

488}
489
490void InputEventManager::buildInputEvent(U32 deviceType, U32 deviceInst, InputEventType objType, InputObjectInstances objInst, InputActionType action, S32 iValue)
491{
492 InputEventInfo newEvent;
493
494 newEvent.deviceType = deviceType;
495 newEvent.deviceInst = deviceInst;
496 newEvent.objType = objType;
497 newEvent.objInst = objInst;
498 newEvent.action = action;
499 newEvent.iValue = iValue;
500
501 newEvent.postToSignal(Input::smInputEvent);
502}
503
504void InputEventManager::buildInputEvent(U32 deviceType, U32 deviceInst, InputEventType objType, InputObjectInstances objInst, InputActionType action, F32 fValue)
505{

Callers 4

processMethod · 0.80
processMethod · 0.80
processMethod · 0.80
submitInputChangesMethod · 0.80

Calls 1

postToSignalMethod · 0.80

Tested by

no test coverage detected