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

Method buildInputEvent

Engine/source/platform/input/event.cpp:488–500  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 4

processMethod · 0.45
processMethod · 0.45
processMethod · 0.45
submitInputChangesMethod · 0.45

Calls 1

postToSignalMethod · 0.80

Tested by

no test coverage detected