parent
16f3ea023b
commit
5e39c836ec
2 changed files with 4 additions and 4 deletions
1
sonic-radiance.love/datas/keys.lua
Normal file
1
sonic-radiance.love/datas/keys.lua
Normal file
|
@ -0,0 +1 @@
|
|||
return {"up", "down", "left", "right", "A", "B", "C", "start", "select"}
|
|
@ -64,10 +64,9 @@ function OptionsMenu:addPlayerMenus()
|
|||
local menu = "player" .. i
|
||||
self:addMenu(menu)
|
||||
Widgets.PlayerSubMenu(self, "inputs", i)
|
||||
for k,w in pairs(v.keys) do
|
||||
-- FIXME: make sure that you can use the order you want for the keys list
|
||||
-- instead of a random one
|
||||
Widgets.Key(self, i, k)
|
||||
local keyList = require "datas.keys"
|
||||
for j, key in ipairs(keyList) do
|
||||
Widgets.Key(self, i, key)
|
||||
end
|
||||
Widgets.SubMenu(self, menu, "inputs", "back", 1, "<")
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue