mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
Fix wrong function being registered for Joystick:getSensorData().
This commit is contained in:
@@ -483,7 +483,7 @@ static const luaL_Reg w_Joystick_functions[] =
|
||||
{ "hasSensor", w_Joystick_hasSensor },
|
||||
{ "isSensorEnabled", w_Joystick_isSensorEnabled },
|
||||
{ "setSensorEnabled", w_Joystick_setSensorEnabled },
|
||||
{ "getSensorData", w_Joystick_setSensorEnabled },
|
||||
{ "getSensorData", w_Joystick_getSensorData },
|
||||
#endif
|
||||
|
||||
// From wrap_JoystickModule.
|
||||
|
||||
Reference in New Issue
Block a user