Skip to content

Commit

Permalink
Unrelated fix
Browse files Browse the repository at this point in the history
shouldn't be using touch_controls directly, either touchscreen or keyboard_mouse
  • Loading branch information
grorp committed Feb 4, 2025
1 parent f72ae78 commit 48f3660
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/common/settings/dlg_settings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ local function load()
local change_keys = {
query_text = "Controls",
requires = {
touch_controls = false,
keyboard_mouse = true,
},
context = "client",
get_formspec = function(self, avail_w)
Expand Down
2 changes: 2 additions & 0 deletions builtin/settingtypes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@
# * An engine-defined value:
# * desktop / android
# * touchscreen / keyboard_mouse
# (Do not use touch_controls as a requirement directly, it may be "auto".
# In this case, both touchscreen and keyboard_mouse are true.)
# * opengl / gles
# * You can negate any requirement by prepending with !
#
Expand Down

0 comments on commit 48f3660

Please sign in to comment.