summaryrefslogtreecommitdiff
path: root/lib/luavgl/examples/protectedcall.lua
diff options
context:
space:
mode:
authorailurux <ailurux@noreply.codeberg.org>2025-03-19 04:25:20 +0000
committercooljqln <cooljqln@noreply.codeberg.org>2025-03-19 04:25:20 +0000
commitc9ce88a457c9ed7124709a667d202a666f72bffa (patch)
tree681cba582d4e18c743029cb72ea542eee23e9907 /lib/luavgl/examples/protectedcall.lua
parent95dd0ddec52a25a57e367e5568ac97f8e3f0d312 (diff)
downloadtangara-fw-c9ce88a457c9ed7124709a667d202a666f72bffa.tar.gz
ailurux/button-media-controls (#264)
Splits the control scheme into separate schemes for the side buttons and touchwheel, allowing them to be configured independently of each other. At least one input must be used for navigation, and there are guards to prevent locking oneself out of any input. If the input scheme is invalid, a pop up will show alerting the user. Different behaviours can be bound to the side buttons for when the device is locked or unlocked. This PR also adds a mode for these buttons that controls media playback (prev/next on up/down, pressing both buttons toggles play/pause). There are some changes to the way inputs handle locking. Rather than the input devices tracking the current locked mode, different input devices are created on lock depending on the mode that is configured. Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/264 Co-authored-by: ailurux <ailurux@noreply.codeberg.org> Co-committed-by: ailurux <ailurux@noreply.codeberg.org>
Diffstat (limited to 'lib/luavgl/examples/protectedcall.lua')
0 files changed, 0 insertions, 0 deletions