Creative ZEN: split ZEN V keymaps off from other ZEN targets

The ZEN V target is the only one which has volume buttons,
but lacks the menu and shortcut buttons.
IMO an independant keymap will make maintenance easier.

Change-Id: Ide79fab629b13eae94946561d99052e570c0e4f2
This commit is contained in:
Sebastian Leonhardt 2025-12-21 23:28:39 +01:00
parent cb9094dabb
commit 6552554939
6 changed files with 450 additions and 77 deletions

View file

@ -147,6 +147,7 @@
#define MA_PAD 56
#define SONY_NWZ_PAD 57
#define CREATIVE_ZEN_PAD 58
#define CREATIVE_ZENV_PAD 59
#define IHIFI_PAD 60
#define SAMSUNG_YPR1_PAD 61
#define SAMSUNG_YH92X_PAD 62

View file

@ -80,7 +80,7 @@
/* There is no hardware tone control */
#define HAVE_SW_TONE_CONTROLS
#define CONFIG_KEYPAD CREATIVE_ZEN_PAD
#define CONFIG_KEYPAD CREATIVE_ZENV_PAD
/* Define this to enable morse code input */
#define HAVE_MORSE_INPUT

View file

@ -119,6 +119,7 @@ struct imx233_button_map_t imx233_button_map[] =
{
[I_VDDIO] = IMX233_BUTTON_(VDDIO, VDDIO(3500), "vddio"), /* we need VDDIO for relative */
IMX233_BUTTON_(HOLD, LRADC_REL(CHAN, 190, I_VDDIO), "hold"),
# if 0
IMX233_BUTTON(MENU, LRADC_REL(CHAN, 250, I_VDDIO), "play"),
IMX233_BUTTON(MENU, LRADC_REL(CHAN, 530, I_VDDIO), "back"),
IMX233_BUTTON(MENU, LRADC_REL(CHAN, 785, I_VDDIO), "vol_up"),
@ -129,6 +130,7 @@ struct imx233_button_map_t imx233_button_map[] =
IMX233_BUTTON(MENU, LRADC_REL(CHAN, 2070, I_VDDIO), "left"),
IMX233_BUTTON(MENU, LRADC_REL(CHAN, 2315, I_VDDIO), "right"),
IMX233_BUTTON(MENU, LRADC_REL(CHAN, 2550, I_VDDIO), "down"),
# endif
IMX233_BUTTON(POWER, PSWITCH(1), "power"),
IMX233_BUTTON_(END, END(), "")
};