diff options
author | mkosler <marekkpie@gmail.com> | 2012-02-21 12:53:18 -0600 |
---|---|---|
committer | mkosler <marekkpie@gmail.com> | 2012-02-21 12:53:18 -0600 |
commit | 3a414b52e2c94b866ae57876be6880a74f5f8ac8 (patch) | |
tree | e0ed269472512699560dea8825773c02f94ae4d0 | |
parent | d51babb366d1a46ebe978111ad0b31bfddf95913 (diff) | |
download | Quickie-3a414b52e2c94b866ae57876be6880a74f5f8ac8.tar.gz Quickie-3a414b52e2c94b866ae57876be6880a74f5f8ac8.tar.bz2 Quickie-3a414b52e2c94b866ae57876be6880a74f5f8ac8.tar.xz Quickie-3a414b52e2c94b866ae57876be6880a74f5f8ac8.zip |
Made changing controls API a bit more understandable
-rwxr-xr-x | core.lua | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -43,9 +43,9 @@ function keyboard.pressed(key, code) keyboard.code = code end -function keyboard.controls(ctrl) - keyboard.ctrl.up = ctrl.up - keyboard.ctrl.down = ctrl.down +function keyboard.controls(up, down) + keyboard.ctrl.up = up + keyboard.ctrl.down = down end |