Mercurial > love-experiments
diff src/scripts/boot.lua @ 1347:43ac6da59125 joystickevents
Removed 'moved' suffix from new joystick callbacks
| author | Alex Szpakowski <slime73@gmail.com> |
|---|---|
| date | Tue, 05 Mar 2013 12:31:11 -0400 |
| parents | 2e0c6688bd42 |
| children | 9115e52f5350 |
line wrap: on
line diff
--- a/src/scripts/boot.lua Mon Mar 04 18:49:25 2013 -0400 +++ b/src/scripts/boot.lua Tue Mar 05 12:31:11 2013 -0400 @@ -173,14 +173,14 @@ joystickreleased = function (j,b) if love.joystickreleased then love.joystickreleased(j,b) end end, - joystickaxismoved = function (j,a,v) - if love.joystickaxismoved then love.joystickaxismoved(j,a,v) end + joystickaxis = function (j,a,v) + if love.joystickaxis then love.joystickaxis(j,a,v) end end, - joystickballmoved = function (j,b,dx,dy) - if love.joystickballmoved then love.joystickballmoved(j,b,dx,dy) end + joystickball = function (j,b,dx,dy) + if love.joystickball then love.joystickball(j,b,dx,dy) end end, - joystickhatmoved = function(j,h,v) - if love.joystickhatmoved then love.joystickhatmoved(j,h,v) end + joystickhat = function(j,h,v) + if love.joystickhat then love.joystickhat(j,h,v) end end, focus = function (f) if love.focus then love.focus(f) end
