input_event_e
QNX SDP8.0Input Events Library ReferenceAPIDeveloperProgramming
Types of INPUT_CLASS_MTOUCH events
Synopsis:
#include <input/event_types.h>
typedef enum {
    INPUT_EVENT_UNKNOWN = 0,
    INPUT_EVENT_MTOUCH_TOUCH = 100,
    INPUT_EVENT_MTOUCH_MOVE,
    INPUT_EVENT_MTOUCH_RELEASE,
    INPUT_EVENT_MTOUCH_CANCEL
} input_event_e;Data:
- INPUT_EVENT_UNKNOWN
- Unknown event type (default).
- INPUT_EVENT_MTOUCH_TOUCH
- Event type for when there is new contact with the screen detected.
- INPUT_EVENT_MTOUCH_MOVE
- Event type for when contact with the screen is already detected, but the contact is changing position.
- INPUT_EVENT_MTOUCH_RELEASE
- Event type for when contact with the screen is removed.
- INPUT_EVENT_MTOUCH_CANCEL
- Event type for when a gesture is cancelled (e.g., a touch controller that's powers off can trigger this event).
Library:
libinputeventsDescription:
One event type is received per touchpoint. For example, if you have two fingers in contact with the screen, you will receive two INPUT_EVENT_MTOUCH_TOUCH events. Similarly, if you remove two fingers from contact with the screen, you will receive two INPUT_EVENT_MTOUCH_RELEASE events, one for each finger. The touch-related events are identified individually through a contact ID. 
Page updated: 
