26#include "seproxyhal_protocol.h"
30#define BUTTON_LEFT SEPROXYHAL_TAG_BUTTON_PUSH_EVENT_LEFT
31#define BUTTON_RIGHT SEPROXYHAL_TAG_BUTTON_PUSH_EVENT_RIGHT
68#define UX_INIT() nbgl_objInit();
76 G_ux_params.ux_id = BOLOS_UX_WAKE_UP; \
77 G_ux_params.len = 0; \
78 os_ux(&G_ux_params); \
79 G_ux_params.len = os_sched_last_status(TASK_BOLOS_UX);
86#define UX_BUTTON_PUSH_EVENT(seph_packet)
88#define UX_BUTTON_PUSH_EVENT(seph_packet) ux_process_button_event(seph_packet)
96#define UX_FINGER_EVENT(seph_packet) ux_process_finger_event(seph_packet)
98#define UX_FINGER_EVENT(seph_packet)
105#define UX_TICKER_EVENT(seph_packet, callback) ux_process_ticker_event()
111#define UX_DEFAULT_EVENT() ux_process_default_event()
119 unsigned int ux_status;
unsigned int button_same_mask_counter
Global UX state shared between the application and the UX event handlers.
bolos_task_status_t exit_code
bool validate_pin_from_dashboard
void ux_process_default_event(void)
bolos_ux_params_t G_ux_params
UX command parameters passed to the OS via os_ux()
struct ux_seph_s ux_seph_os_and_app_t
void ux_process_finger_event(const uint8_t seph_packet[])
void ux_process_ticker_event(void)
Process the ticker_event to the os ux handler. Ticker event callback is always called whatever the re...
void ux_process_button_event(const uint8_t seph_packet[])
Process button push event.
ux_seph_os_and_app_t G_ux_os
ux_state_t G_ux
Global UX state instance — see ux_state_s.