#include "seproxyhal_protocol.h"
#include "ux.h"
#include "nbgl_touch.h"
#include "nbgl_buttons.h"
#include "os_io.h"
#include "os_io_seph_ux.h"
Go to the source code of this file.
|
| static bool | ux_forward_event (bool ignoring_app_if_ux_busy) |
| | internal bolos ux event processing with callback in case event is to be processed by the application
|
| |
| void | ux_process_finger_event (const uint8_t seph_packet[]) |
| | Process finger event.
|
| |
| void | ux_process_ticker_event (void) |
| | Process the ticker_event to the os ux handler. Ticker event callback is always called whatever the return code of the ux app.
|
| |
| void | ux_process_default_event (void) |
| |
◆ ux_forward_event()
| static bool ux_forward_event |
( |
bool |
ignoring_app_if_ux_busy | ) |
|
|
static |
internal bolos ux event processing with callback in case event is to be processed by the application
- Parameters
-
| ignoring_app_if_ux_busy | if set to false, function returns true if no REDRAW needed |
- Returns
- true if ignoring_app_if_ux_busy is false or UX is not busy
Definition at line 36 of file ux.c.
◆ ux_process_default_event()
| void ux_process_default_event |
( |
void |
| ) |
|
Forwards the event to UX
Definition at line 147 of file ux.c.
◆ ux_process_finger_event()
| void ux_process_finger_event |
( |
const uint8_t |
seph_packet[] | ) |
|
Process finger event.
- Note
- Application's finger event handler is called only if the ux app does not deny it (finger event caught by BOLOS UX page).
- Parameters
-
| seph_packet | received SEPH packet |
Definition at line 65 of file ux.c.
◆ ux_process_ticker_event()
| void ux_process_ticker_event |
( |
void |
| ) |
|
Process the ticker_event to the os ux handler. Ticker event callback is always called whatever the return code of the ux app.
- Note
- Ticker event interval is assumed to be 100 ms.
Definition at line 111 of file ux.c.
◆ nbTicks
Definition at line 27 of file ux.c.
◆ pos
Definition at line 56 of file ux.c.