- Added Solder Guides to the Housing

- Did some minor adjustments for better fitting
 - Added Select Value screen and initializes the infrastructure
This commit is contained in:
2025-09-19 17:16:35 +02:00
parent c8f14373d3
commit 90bca063e6
9 changed files with 258 additions and 47 deletions

View File

@@ -27,12 +27,22 @@ static const Menu_List _Menu_List_MIDI;
const Hierarchical_Menu _Hierarchical_Menu_MIDI;
// ============================================================================================
// Variables
// Variables Configuration
static const Menu_Configuration_Select_Value _Select_Value_Fade_Speed = {
.Min = 1,
.Max = UINT8_MAX,
.Format = "%u"
};
// ============================================================================================
// Variables Hierarchical Menu
static const Menu_Item _Menu_Items_MIDI_Config[] = {
{ "MIDI Channel" , NULL, false, &_Menu_List_MIDI_Config, NONE, "", NULL },
{ "Select Octave" , NULL, false, &_Menu_List_MIDI_Config, NONE, "", NULL },
{ "Skip Note Off" , NULL, false, &_Menu_List_MIDI_Config, BOOL, "Skip Note Off", (void*)(&_EEPROM_Content.Channel_MIDI_Configuration[0].Skip_Note_Off_Event) },
{ "Back" , NULL, true , &_Menu_List_MIDI_Config, NONE, "", NULL }
{ "MIDI Channel" , NULL, false, &_Menu_List_MIDI_Config, NONE, "", NULL, NULL },
{ "Select Octave" , NULL, false, &_Menu_List_MIDI_Config, NONE, "", NULL, NULL },
{ "Skip Note Off" , NULL, false, &_Menu_List_MIDI_Config, BOOL, "Skip Note Off", (void*)(&_EEPROM_Content.Channel_MIDI_Configuration[0].Skip_Note_Off_Event), NULL },
{ "Back" , NULL, true , &_Menu_List_MIDI_Config, NONE, "", NULL, NULL }
};
static const Menu_List _Menu_List_MIDI_Config = {
@@ -45,11 +55,11 @@ static const Menu_List _Menu_List_MIDI_Config = {
static const Menu_Item _Menu_Items_MIDI_Notes[] = {
{ "Red" , NULL, false, &_Menu_List_MIDI_Notes, NONE, "", NULL },
{ "Green" , NULL, false, &_Menu_List_MIDI_Notes, NONE, "", NULL },
{ "Blue" , NULL, false, &_Menu_List_MIDI_Notes, NONE, "", NULL },
{ "Default Notes" , NULL, false, &_Menu_List_MIDI_Notes, NONE, "", NULL },
{ "Back" , NULL, true , &_Menu_List_MIDI_Notes, NONE, "", NULL }
{ "Red" , NULL, false, &_Menu_List_MIDI_Notes, NONE, "", NULL, NULL },
{ "Green" , NULL, false, &_Menu_List_MIDI_Notes, NONE, "", NULL, NULL },
{ "Blue" , NULL, false, &_Menu_List_MIDI_Notes, NONE, "", NULL, NULL },
{ "Default Notes" , NULL, false, &_Menu_List_MIDI_Notes, NONE, "", NULL, NULL },
{ "Back" , NULL, true , &_Menu_List_MIDI_Notes, NONE, "", NULL, NULL }
};
static const Menu_List _Menu_List_MIDI_Notes = {
@@ -62,18 +72,12 @@ static const Menu_List _Menu_List_MIDI_Notes = {
static const Menu_Item _Menu_Items_MIDI_Pause[] = {
{ "Enable" , NULL, false, &_Menu_List_MIDI_Pause, BOOL, "Enable Pause Light", (void*)(&_EEPROM_Content.Pause_Light_Configuration[0].Enabled) },
{ "Color" , NULL, false, &_Menu_List_MIDI_Pause, RGB , "Pause Light Color", (void*)(&_EEPROM_Content.Pause_Light_Configuration[0].Color) },
{ "Fade Speed" , NULL, false, &_Menu_List_MIDI_Pause, NONE, "", NULL },
{ "Timeout" , NULL, false, &_Menu_List_MIDI_Pause, NONE, "", NULL },
{ "Reset" , NULL, false, &_Menu_List_MIDI_Pause, NONE, "", NULL },
{ "Item 1" , NULL, false, &_Menu_List_MIDI_Pause, NONE, "", NULL },
{ "Item 2" , NULL, false, &_Menu_List_MIDI_Pause, NONE, "", NULL },
{ "Item 3" , NULL, false, &_Menu_List_MIDI_Pause, NONE, "", NULL },
{ "Item 4" , NULL, false, &_Menu_List_MIDI_Pause, NONE, "", NULL },
{ "Item 5" , NULL, false, &_Menu_List_MIDI_Pause, NONE, "", NULL },
{ "Item 6" , NULL, false, &_Menu_List_MIDI_Pause, NONE, "", NULL },
{ "Back" , NULL, true , &_Menu_List_MIDI_Pause, NONE, "", NULL }
{ "Enable" , NULL, false, &_Menu_List_MIDI_Pause, BOOL, "Enable Pause Light", (void*)(&_EEPROM_Content.Pause_Light_Configuration[0].Enabled), NULL },
{ "Color" , NULL, false, &_Menu_List_MIDI_Pause, RGB , "Pause Light Color", (void*)(&_EEPROM_Content.Pause_Light_Configuration[0].Color), NULL },
{ "Fade Speed" , NULL, false, &_Menu_List_MIDI_Pause, VALUE, "Pause Light Fade Speed", (void*)(&_EEPROM_Content.Pause_Light_Configuration[0].Fade_Speed), (void*)(&_Select_Value_Fade_Speed)},
{ "Timeout" , NULL, false, &_Menu_List_MIDI_Pause, NONE, "", NULL, NULL },
{ "Reset" , NULL, false, &_Menu_List_MIDI_Pause, NONE, "", NULL, NULL },
{ "Back" , NULL, true , &_Menu_List_MIDI_Pause, NONE, "", NULL, NULL }
};
static const Menu_List _Menu_List_MIDI_Pause = {