Edge AI Add-on API 2.2.0
Loading...
Searching...
No Matches
ux_state_manager.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2026 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
32#ifndef __UXSM_H__
33#define __UXSM_H__
34
35#ifdef __cplusplus
36extern "C" {
37#endif /* __cplusplus */
38
46
54
63int uxsm_init(void);
64
71
76
81
82#ifdef __cplusplus
83}
84#endif /* __cplusplus */
85
86#endif /* __UXSM_H__ */
87
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.
ux_btn_func_t
Button function mode: determines what button presses do.
Definition ux_state_manager.h:42
@ UX_BTN_FUNC_PAIRING
Definition ux_state_manager.h:44
@ UX_BTN_FUNC_NORMAL
Definition ux_state_manager.h:43
ux_remotectrl_mode_t
Remote-control mode: which key mapping is active for recognized gestures.
Definition ux_state_manager.h:50
@ UX_REMOTECTRL_MODE_MUSIC
Definition ux_state_manager.h:52
@ UX_REMOTECTRL_MODE_PRESENTATION
Definition ux_state_manager.h:51
void uxsm_set_btn_func(ux_btn_func_t btn_func)
Set the button function mode.
int uxsm_init(void)
Initialize the UX state manager.