diff options
author | Aki <nthirtyone@gmail.com> | 2016-10-10 22:33:34 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2016-10-10 22:33:34 +0200 |
commit | 7e567d1fc37d8e65e4e8fe5c7ece2cea8a6567b1 (patch) | |
tree | 6a83204f6ff49b15d845a7456b285cec531d9286 /controller.lua | |
parent | 26199823381c0a9ee81a8eddde1d8c093c101685 (diff) | |
download | roflnauts-7e567d1fc37d8e65e4e8fe5c7ece2cea8a6567b1.zip roflnauts-7e567d1fc37d8e65e4e8fe5c7ece2cea8a6567b1.tar.gz roflnauts-7e567d1fc37d8e65e4e8fe5c7ece2cea8a6567b1.tar.bz2 |
Load controller sets from file
Diffstat (limited to 'controller.lua')
-rw-r--r-- | controller.lua | 5 |
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 |