Edge AI Add-on API 2.2.0
Loading...
Searching...
No Matches

Tracks the current operating state of the application and routes button clicks to the corresponding action. More...

Enumerations

enum  ux_btn_func_t { UX_BTN_FUNC_NORMAL = 0 , UX_BTN_FUNC_PAIRING }
 Button function mode: determines what button presses do. More...
 
enum  ux_remotectrl_mode_t { UX_REMOTECTRL_MODE_PRESENTATION = 0 , UX_REMOTECTRL_MODE_MUSIC }
 Remote-control mode: which key mapping is active for recognized gestures. More...
 

Functions

int uxsm_init (void)
 Initialize the UX state manager.
 
void uxsm_set_btn_func (ux_btn_func_t btn_func)
 Set the button function mode.
 
ux_btn_func_t uxsm_get_btn_func (void)
 Get the current button function mode.
 
ux_remotectrl_mode_t uxsm_get_remotectrl_mode (void)
 Get the current remote-control mode.
 

Detailed Description

Tracks the current operating state of the application and routes button clicks to the corresponding action.

uxsm means ux_state_machine.

Two orthogonal pieces of state are owned here:

Click dispatch: