[wip] controllers and display
This commit is contained in:
13
firmware/shared_libs/disp_layout/disp_layout_defs.c
Normal file
13
firmware/shared_libs/disp_layout/disp_layout_defs.c
Normal file
@@ -0,0 +1,13 @@
|
||||
#include "main.h"
|
||||
#include "disp_layout_defs.h"
|
||||
|
||||
const BITMAP_buttonName_t btn_names[LAY_STATE_MAX][LAY_BTN_MAX] = {
|
||||
{DISP_BTN_FREQ, DISP_BTN_AMPL, DISP_BTN_OFFS, DISP_BTN_PHAS, DISP_BTN_WAVE}, // Func Gen Main
|
||||
{DISP_BTN_LEFT, DISP_BTN_RIGHT, DISP_BTN_NONE, DISP_BTN_NONE, DISP_BTN_BACK}, // Func Gen Freq
|
||||
{DISP_BTN_X1, DISP_BTN_X0_1, DISP_BTN_X0_01, DISP_BTN_NONE, DISP_BTN_BACK}, // Func Gen Ampl
|
||||
{DISP_BTN_X1, DISP_BTN_X0_1, DISP_BTN_X0_01, DISP_BTN_NONE, DISP_BTN_BACK}, // Func Gen Offs
|
||||
{DISP_BTN_X10, DISP_BTN_X1, DISP_BTN_NONE, DISP_BTN_NONE, DISP_BTN_BACK}, // Func Gen Phas
|
||||
{DISP_BTN_NONE, DISP_BTN_NONE, DISP_BTN_NONE, DISP_BTN_NONE, DISP_BTN_BACK}, // Func Gen Wave
|
||||
};
|
||||
|
||||
const uint8_t btn_pos_x[LAY_BTN_MAX] = {0, 26, 52, 78, 104};
|
||||
Reference in New Issue
Block a user