Do some preparation for touch config screen

This commit is contained in:
Squishy (C6H12O6+NaCl+H2O)
2024-04-21 18:21:52 +07:00
parent 50fdcae8ac
commit 9425b047e2
5 changed files with 107 additions and 65 deletions

View File

@@ -8,10 +8,16 @@ local _defaultSettings = {
fullscreen = false,
music = true,
---@class input
---@field keys table <string, string>
---@field joysticks table <string, string>
---@field mobile table <string, string>
input = {
keys = {},
joysticks = {},
mobile = { -- Should not be changed for any reason, used for mobile only
enter = 'menu_decide',
acback = 'menu_back',
f13 = 'up',
f14 = 'down',
f15 = 'left',