mirror of
https://github.com/glfw/glfw.git
synced 2025-10-02 12:51:14 +00:00
add missing newlines
This commit is contained in:
parent
ca2a6c11a1
commit
da7d21c75a
@ -477,7 +477,6 @@ void _glfwPlatformUpdateGamepadGUID(char* guid)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int _glfwPlatformSetJoystickRumble(_GLFWjoystick* js, float slowMotorIntensity, float fastMotorIntensity)
|
int _glfwPlatformSetJoystickRumble(_GLFWjoystick* js, float slowMotorIntensity, float fastMotorIntensity)
|
||||||
{
|
{
|
||||||
_GLFWjoystickLinux *linjs = &js->linjs;
|
_GLFWjoystickLinux *linjs = &js->linjs;
|
||||||
@ -505,4 +504,4 @@ int _glfwPlatformSetJoystickRumble(_GLFWjoystick* js, float slowMotorIntensity,
|
|||||||
}
|
}
|
||||||
|
|
||||||
return GLFW_TRUE;
|
return GLFW_TRUE;
|
||||||
}
|
}
|
||||||
|
@ -766,4 +766,4 @@ int _glfwPlatformSetJoystickRumble(_GLFWjoystick* js, float slowMotorIntensity,
|
|||||||
effect.wRightMotorSpeed = (WORD)(65535.0f * fastMotorIntensity);
|
effect.wRightMotorSpeed = (WORD)(65535.0f * fastMotorIntensity);
|
||||||
|
|
||||||
return (int) (XInputSetState(js->win32.index, &effect) == ERROR_SUCCESS);
|
return (int) (XInputSetState(js->win32.index, &effect) == ERROR_SUCCESS);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user