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

Method getJoystickAxesString

Engine/source/platformWin32/winDirectInput.cpp:371–382  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

369
370//------------------------------------------------------------------------------
371const char* DInputManager::getJoystickAxesString( U32 deviceID )
372{
373 DInputDevice* dptr;
374 for ( iterator ptr = begin(); ptr != end(); ptr++ )
375 {
376 dptr = dynamic_cast<DInputDevice*>( *ptr );
377 if ( dptr && ( dptr->getDeviceType() == JoystickDeviceType ) && ( dptr->getDeviceID() == deviceID ) )
378 return( dptr->getJoystickAxesString() );
379 }
380
381 return( "" );
382}
383
384//------------------------------------------------------------------------------
385bool DInputManager::enableXInput()

Callers 2

ConsoleFunctionFunction · 0.45
DefineConsoleFunctionFunction · 0.45

Calls 4

beginFunction · 0.85
endFunction · 0.85
getDeviceTypeMethod · 0.45
getDeviceIDMethod · 0.45

Tested by

no test coverage detected