Embedded SDK
Embedded SDK
Loading...
Searching...
No Matches
nbgl_touch.h File Reference
#include "nbgl_low_level_guard.h"
#include "nbgl_types.h"
#include "nbgl_obj.h"
Include dependency graph for nbgl_touch.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SHORT_TOUCH_DURATION   0
#define LONG_TOUCH_DURATION   3000

Functions

void nbgl_touchInit (bool fromUx)
void nbgl_touchHandler (bool fromUx, nbgl_touchStatePosition_t *touchEvent, uint32_t currentTimeMs)
bool nbgl_touchGetTouchedPosition (nbgl_obj_t *obj, nbgl_touchStatePosition_t **firstPos, nbgl_touchStatePosition_t **lastPos)
uint32_t nbgl_touchGetTouchDuration (nbgl_obj_t *obj)
nbgl_obj_t * nbgl_touchGetObjectFromId (nbgl_obj_t *obj, uint8_t id)
void nbgl_touchClear (bool fromUx)

Detailed Description

TouchScreen management of the new BOLOS Graphical Library

Definition in file nbgl_touch.h.

Macro Definition Documentation

◆ LONG_TOUCH_DURATION

#define LONG_TOUCH_DURATION   3000

Definition at line 28 of file nbgl_touch.h.

◆ SHORT_TOUCH_DURATION

#define SHORT_TOUCH_DURATION   0

Definition at line 26 of file nbgl_touch.h.

Function Documentation

◆ nbgl_touchClear()

void nbgl_touchClear ( bool fromUx)

◆ nbgl_touchGetObjectFromId()

nbgl_obj_t * nbgl_touchGetObjectFromId ( nbgl_obj_t * obj,
uint8_t id )

◆ nbgl_touchGetTouchDuration()

uint32_t nbgl_touchGetTouchDuration ( nbgl_obj_t * obj)

◆ nbgl_touchGetTouchedPosition()

bool nbgl_touchGetTouchedPosition ( nbgl_obj_t * obj,
nbgl_touchStatePosition_t ** firstPos,
nbgl_touchStatePosition_t ** lastPos )

◆ nbgl_touchHandler()

void nbgl_touchHandler ( bool fromUx,
nbgl_touchStatePosition_t * touchEvent,
uint32_t currentTimeMs )

◆ nbgl_touchInit()

void nbgl_touchInit ( bool fromUx)