comparison Discovery/Inc/t3.h @ 592:f52bc70e380f

MotionCtrl - Sectorview Map sectors directly to custom views: In previous version detection of sector changes lead to a button event which triggered the change of the shown custom view. As result the views shown were depending on the angle which is present while entering focus state. The new implementation maps the primary view to the center sector and assigns the other enabled views around the center => views will always appear at the same angle value.
author Ideenmodellierer
date Sun, 03 Jan 2021 14:43:16 +0100
parents 64bf41faab83
children b6d8a6fbf4fd
comparison
equal deleted inserted replaced
591:0172431fbad9 592:f52bc70e380f
33 #include "gfx_engine.h" 33 #include "gfx_engine.h"
34 34
35 /* Exported functions --------------------------------------------------------*/ 35 /* Exported functions --------------------------------------------------------*/
36 void t3_init(void); 36 void t3_init(void);
37 void t3_refresh(void); 37 void t3_refresh(void);
38 void t3_select_customview(uint8_t selectedCustomview);
38 uint8_t t3_change_customview(uint8_t action); 39 uint8_t t3_change_customview(uint8_t action);
39 uint8_t t3_GetEnabled_customviews(void); 40 uint8_t t3_GetEnabled_customviews(void);
40 uint8_t t3_getCustomView(void); 41 uint8_t t3_getCustomView(void);
41 void t3_set_customview_to_primary(void); 42 void t3_set_customview_to_primary(void);
42 uint8_t t3_customview_disabled(uint8_t view); 43 uint8_t t3_customview_disabled(uint8_t view);