MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / joyNumAxes

Method joyNumAxes

Sources/nCine/Backends/SdlInputManager.cpp:385–393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

383 }
384
385 int SdlInputManager::joyNumAxes(int joyId) const
386 {
387 int numAxes = -1;
388
389 if (isJoyPresent(joyId))
390 numAxes = SDL_JoystickNumAxes(sdlJoysticks_[joyId]);
391
392 return numAxes;
393 }
394
395 const JoystickState& SdlInputManager::joystickState(int joyId) const
396 {

Callers 2

guiInputStateMethod · 0.45
OnDrawMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected