summaryrefslogtreecommitdiff
path: root/luals-stubs
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2024-12-18 14:53:45 +1100
committerjacqueline <me@jacqueline.id.au>2024-12-18 14:53:45 +1100
commit13c5b7b8470bb9c8f8d86f89fd49284b46508467 (patch)
tree0609d9cbef24e630e0a293caa2a261d7385c612d /luals-stubs
parentb3e1e88ba25da15bfbfd948be788241adaef7e48 (diff)
downloadtangara-fw-13c5b7b8470bb9c8f8d86f89fd49284b46508467.tar.gz
Add long-right-press as a shortcut to the now playing screen
Implemented for both the wheel and d-pad input methods.
Diffstat (limited to 'luals-stubs')
-rw-r--r--luals-stubs/controls.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/luals-stubs/controls.lua b/luals-stubs/controls.lua
index 7034dc55..db5ea9f2 100644
--- a/luals-stubs/controls.lua
+++ b/luals-stubs/controls.lua
@@ -7,6 +7,7 @@
--- @field scheme Property The currently configured control scheme
--- @field scroll_sensitivity Property How much rotational motion is required on the touchwheel per scroll tick.
--- @field lock_switch Property The current state of the device's lock switch.
+--- @field hooks funtion Returns a table containing the inputs and actions associated with the current control scheme.
local controls = {}
return controls