diff options
author | Aki <nthirtyone@gmail.com> | 2016-10-10 17:37:36 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2016-10-10 17:37:36 +0200 |
commit | 1f6f24ba4fb434ed76fb118a21f7492a1b678bc4 (patch) | |
tree | 292665d8b436642560cb838941a227bba388116d | |
parent | 1a7dc6c7b9e36872a5ad45122aa5f34f532ed7ab (diff) | |
download | roflnauts-1f6f24ba4fb434ed76fb118a21f7492a1b678bc4.zip roflnauts-1f6f24ba4fb434ed76fb118a21f7492a1b678bc4.tar.gz roflnauts-1f6f24ba4fb434ed76fb118a21f7492a1b678bc4.tar.bz2 |
Default settings file
-rw-r--r-- | settings.default | 6 | ||||
-rw-r--r-- | settings.lua | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/settings.default b/settings.default new file mode 100644 index 0000000..6816116 --- /dev/null +++ b/settings.default @@ -0,0 +1,6 @@ +return { + {"left", "right", "up", "down", "return", "rshift", false}, + {"a", "d", "w", "s", "g", "h", false}, + {"axis:leftx-", "axis:leftx+", "axis:lefty-", "axis:lefty+", "a", "b", true}, + {"axis:leftx-", "axis:leftx+", "axis:lefty-", "axis:lefty+", "a", "b", true}, +} diff --git a/settings.lua b/settings.lua index 0a31b41..5b0e38a 100644 --- a/settings.lua +++ b/settings.lua @@ -5,4 +5,5 @@ function Settings.load() Controller.registerSet("left", "right", "up", "down", "return", "rshift") Controller.registerSet("a", "d", "w", "s", "g", "h") end -end
\ No newline at end of file + print(love.filesystem.getIdentity(), love.filesystem.exists("settings.lua")) +end |