summaryrefslogtreecommitdiff
path: root/apps/action.h
diff options
context:
space:
mode:
authorDana Conrad <dconrad@fastmail.com>2021-04-03 13:54:03 -0500
committerSolomon Peachy <pizza@shaftnet.org>2021-04-05 11:09:32 +0000
commit1aed109fa8c2a9e5a788295f523642bc71269351 (patch)
tree2f164d9346e7aa487d277afa28ac18c47bed5c66 /apps/action.h
parent962d412917a5cbb923847163a2beafaa3301dd8f (diff)
downloadrockbox-1aed109fa8c2a9e5a788295f523642bc71269351.tar.gz
rockbox-1aed109fa8c2a9e5a788295f523642bc71269351.zip
Add ability to always have autolock on
Tested on ErosQ Added a setting in the Advanced Softlock menu to always have autolock on, rather than having to "arm" it with the softlock button. Lock/Unlock still works the same with this on, but when the screen turns off, the device always ends up in the locked state. Requires Autolock On to be set as well, and the normal Autolock functionality is unchanged with this off. Caveat: the power/softlock button must be pressed at least once after powering on the device or enabling the feature. After that, it should consistently always "arm" the autolock. Added feature to manual in manual/configure_rockbox/system_options.tex. Also updated some labels I had changed in the Advanced Key Lock menu and added information for Disable All Lock Notifications in a previous commit. Shared items also updated in manual/configure_rockbox/display_options.tex for selective backlight. Change-Id: I09dc6814bee803e40c7088157e1fe9d01d5f3474
Diffstat (limited to 'apps/action.h')
-rw-r--r--apps/action.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/action.h b/apps/action.h
index da4565c28b..e4ad29504b 100644
--- a/apps/action.h
+++ b/apps/action.h
@@ -51,7 +51,7 @@
51#define SEL_ACTION_SKIP 0x008U 51#define SEL_ACTION_SKIP 0x008U
52#define SEL_ACTION_NOUNMAPPED 0x010U/* disable backlight on unmapped buttons */ 52#define SEL_ACTION_NOUNMAPPED 0x010U/* disable backlight on unmapped buttons */
53#define SEL_ACTION_ALLNONOTIFY 0x020U/* disable switch for all softlock notifications */ 53#define SEL_ACTION_ALLNONOTIFY 0x020U/* disable switch for all softlock notifications */
54 /* Available 0x040U*/ 54#define SEL_ACTION_ALWAYSAUTOLOCK 0x040U/* always prime autolock, requires autolock enabled */
55#define SEL_ACTION_NOTOUCH 0x080U/* disable touch screen/pad on screen lock */ 55#define SEL_ACTION_NOTOUCH 0x080U/* disable touch screen/pad on screen lock */
56#define SEL_ACTION_AUTOLOCK 0x100U/* autolock on backlight off */ 56#define SEL_ACTION_AUTOLOCK 0x100U/* autolock on backlight off */
57#define SEL_ACTION_NOEXT 0x200U/* disable selective backlight while charge*/ 57#define SEL_ACTION_NOEXT 0x200U/* disable selective backlight while charge*/