From 6ebec601f9d0ccf4e6958432c0db3a674b507f41 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Sat, 31 Dec 2022 12:18:02 -0500 Subject: [Feature/Bugfix] keyremap add Context flags Add context flags to keyremap CONTEXT_LOCKED CONTEXT_REMOTE CONTEXT_REMOTE_LOCKED --CONTEXT_PLUGIN-- Removed -- Plugins need a custom action list supplied and a method of supplying them Change-Id: I5201d275ad0ab6130c2d05d5afb0c450f5c1746c --- firmware/export/config/sansaclipplus.h | 1 + firmware/export/config/sansaclipv2.h | 1 + firmware/export/config/sansaclipzip.h | 1 + 3 files changed, 3 insertions(+) (limited to 'firmware/export') diff --git a/firmware/export/config/sansaclipplus.h b/firmware/export/config/sansaclipplus.h index e78063ef02..d7e18c4864 100644 --- a/firmware/export/config/sansaclipplus.h +++ b/firmware/export/config/sansaclipplus.h @@ -17,6 +17,7 @@ #define NUM_DRIVES 2 #ifndef BOOTLOADER +#define HAVE_LOCKED_ACTIONS #define HAVE_HOTSWAP #define HAVE_RDS_CAP #define CONFIG_RDS (RDS_CFG_POLL | RDS_CFG_PROCESS) diff --git a/firmware/export/config/sansaclipv2.h b/firmware/export/config/sansaclipv2.h index 6e369db681..f2b1115c81 100644 --- a/firmware/export/config/sansaclipv2.h +++ b/firmware/export/config/sansaclipv2.h @@ -69,6 +69,7 @@ #define HAVE_LCD_ENABLE #ifndef BOOTLOADER +#define HAVE_LOCKED_ACTIONS /* Define this if your LCD can be put to sleep. * HAVE_LCD_ENABLE should be defined as well. */ //#define HAVE_LCD_SLEEP diff --git a/firmware/export/config/sansaclipzip.h b/firmware/export/config/sansaclipzip.h index d8b18e1a18..86bc8fa4c2 100644 --- a/firmware/export/config/sansaclipzip.h +++ b/firmware/export/config/sansaclipzip.h @@ -71,6 +71,7 @@ #define HAVE_LCD_ENABLE #ifndef BOOTLOADER +#define HAVE_LOCKED_ACTIONS /* Define this if your LCD can be put to sleep. * HAVE_LCD_ENABLE should be defined as well. */ //#define HAVE_LCD_SLEEP -- cgit v1.2.3