MCPcopy Create free account
hub / github.com/ZDoom/Raze / I_GetAxes

Function I_GetAxes

source/common/platform/win32/i_input.cpp:642–660  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

640}
641
642void I_GetAxes(float axes[NUM_JOYAXIS])
643{
644 int i;
645
646 for (i = 0; i < NUM_JOYAXIS; ++i)
647 {
648 axes[i] = 0;
649 }
650 if (use_joystick)
651 {
652 for (i = 0; i < NUM_JOYDEVICES; ++i)
653 {
654 if (JoyDevices[i] != NULL)
655 {
656 JoyDevices[i]->AddAxes(axes);
657 }
658 }
659 }
660}
661
662void I_GetJoysticks(TArray<IJoystickConfig *> &sticks)
663{

Callers 1

getInputMethod · 0.50

Calls 1

AddAxesMethod · 0.45

Tested by

no test coverage detected