Iridescence 1.00
Embedded Graphic Framework
Loading...
Searching...
No Matches
DsTouchEvent Struct Reference

This structure implements a touch event. More...

#include <ds_event.h>

Public Types

enum class  Mode {
  ON ,
  OFF ,
  CONTACT ,
  ENTER ,
  EXIT
}
 Enumeration defining all touch modes. More...
 

Public Attributes

Mode mode
 Touch mode.
 
DsPoint pos
 Position in the current view coodrinates.
 
uint32_t timestamp
 Timestamp in ms.
 

Detailed Description

This structure implements a touch event.

Member Enumeration Documentation

◆ Mode

enum class DsTouchEvent::Mode
strong

Enumeration defining all touch modes.

Enumerator
ON 

The user just touched the screen.

OFF 

The user lifted it's finger from the screen.

CONTACT 

The user is holding the finger on the screen (dragging)

ENTER 

The user is dragging - touch point entered the view.

EXIT 

The user is dragging - touch point exited the view.


The documentation for this struct was generated from the following file: