| 640 | } |
| 641 | |
| 642 | void 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 | |
| 662 | void I_GetJoysticks(TArray<IJoystickConfig *> &sticks) |
| 663 | { |