| Documentation For Arduino users

- Main Page
- Related Pages
- Modules
- Classes
- Files
- Examples

Classes | Macros | Typedefs
Touch Event
Core API

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.