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

Function DefineEngineFunction

Engine/source/platformWin32/winInput.cpp:160–163  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

158
159//------------------------------------------------------------------------------
160DefineEngineFunction( isJoystickDetected, bool, (), , "isJoystickDetected()")
161{
162 return( DInputDevice::joystickDetected() );
163}
164
165//------------------------------------------------------------------------------
166DefineEngineFunction( getJoystickAxes, const char*, (U32 deviceID), , "getJoystickAxes( instance )")

Callers 2

platformTimer.cppFile · 0.50

Calls 2

logFunction · 0.50
getJoystickAxesStringMethod · 0.45

Tested by

no test coverage detected