Nextion User Manual
For Arduino developers
Touch Event

How to attach(or detach) callback function called when touch event occurs. More...

Collaboration diagram for Touch Event:

Classes

class  NexTouch
 Father class of the components with touch events. More...
 

Macros

#define NEX_EVENT_PUSH   (0x01)
 Push touch event occuring when your finger or pen coming to Nextion touch pannel.
 
#define NEX_EVENT_POP   (0x00)
 Pop touch event occuring when your finger or pen leaving from Nextion touch pannel.
 

Typedefs

typedef void(* NexTouchEventCb )(void *ptr)
 Type of callback funciton when an touch event occurs. More...
 

Detailed Description

How to attach(or detach) callback function called when touch event occurs.

Typedef Documentation

typedef void(* NexTouchEventCb)(void *ptr)

Type of callback funciton when an touch event occurs.

Parameters
ptr- user pointer for any purpose. Commonly, it is a pointer to a object.
Returns
none.

Definition at line 45 of file NexTouch.h.