mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-02 02:01:31 +00:00
- backend update from GZDoom.
* cleanup on the sound init code. * added #pragma once in several headers. * macOS version detection overhaul.
This commit is contained in:
parent
706c784965
commit
6aa61e72b5
32 changed files with 135 additions and 91 deletions
|
@ -324,8 +324,10 @@ void I_GetJoysticks(TArray<IJoystickConfig *> &sticks)
|
|||
|
||||
void I_GetAxes(float axes[NUM_JOYAXIS])
|
||||
{
|
||||
memset(axes, 0, sizeof(float) * NUM_JOYAXIS);
|
||||
|
||||
for (int i = 0; i < NUM_JOYAXIS; ++i)
|
||||
{
|
||||
axes[i] = 0;
|
||||
}
|
||||
if (use_joystick && JoystickManager)
|
||||
{
|
||||
JoystickManager->AddAxes(axes);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue