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

Method getTorqueScanCodeFromSDL

Engine/source/platformSDL/sdlInput.cpp:419–425  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

417}
418
419U32 KeyMapSDL::getTorqueScanCodeFromSDL(U32 sdl)
420{
421 if(_buildScanCode)
422 buildScanCodeArray();
423
424 return SDL_T3D[sdl];
425}
426
427U32 KeyMapSDL::getSDLScanCodeFromTorque(U32 torque)
428{

Callers

nothing calls this directly

Calls 1

buildScanCodeArrayFunction · 0.85

Tested by

no test coverage detected