mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +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 },
|
{ "hasSensor", w_Joystick_hasSensor },
|
||||||
{ "isSensorEnabled", w_Joystick_isSensorEnabled },
|
{ "isSensorEnabled", w_Joystick_isSensorEnabled },
|
||||||
{ "setSensorEnabled", w_Joystick_setSensorEnabled },
|
{ "setSensorEnabled", w_Joystick_setSensorEnabled },
|
||||||
{ "getSensorData", w_Joystick_setSensorEnabled },
|
{ "getSensorData", w_Joystick_getSensorData },
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// From wrap_JoystickModule.
|
// From wrap_JoystickModule.
|
||||||
|
|||||||
Reference in New Issue
Block a user