summaryrefslogtreecommitdiffhomepage
path: root/controller.lua
diff options
context:
space:
mode:
Diffstat (limited to 'controller.lua')
-rw-r--r--controller.lua5
1 files changed, 0 insertions, 5 deletions
diff --git a/controller.lua b/controller.lua
index b56bd32..e435d63 100644
--- a/controller.lua
+++ b/controller.lua
@@ -162,11 +162,6 @@ function Controller.load()
love.joystick.loadGamepadMappings("gamecontrollerdb.txt")
end
--- Create new sets when new joystick is added
-function Controller.joystickadded(joystick)
- Controller.registerSet("axis:leftx-", "axis:leftx+", "axis:lefty-", "axis:lefty+", "a", "b", joystick)
-end
-
-- Gamepad input callbacks
function Controller.gamepadaxis(joystick, axis, value)
if value ~= 0 then