From 1da1879025792bd493b8a8fad24af6d9ecf6ee88 Mon Sep 17 00:00:00 2001 From: Nikita Leonidov Date: Fri, 17 Apr 2020 19:08:05 -0400 Subject: [PATCH] rename helper --- src/linux_joystick.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/linux_joystick.c b/src/linux_joystick.c index a8182612..27a929b5 100644 --- a/src/linux_joystick.c +++ b/src/linux_joystick.c @@ -122,7 +122,7 @@ static void pollAbsState(_GLFWjoystick* js) #define isBitSet(bit, arr) (arr[(bit) / 8] & (1 << ((bit) % 8))) -static void checkForceFeedback(_GLFWjoystickLinux *linjs) +static void initJoystickForceFeedback(_GLFWjoystickLinux *linjs) { linjs->rumble = NULL; struct ff_effect* effect = NULL; @@ -265,7 +265,7 @@ static GLFWbool openJoystickDevice(const char* path) } } - checkForceFeedback(&linjs); + initJoystickForceFeedback(&linjs); _GLFWjoystick* js = _glfwAllocJoystick(name, guid, axisCount, buttonCount, hatCount);