diff options
-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 |