Blender V5.0
GHOST_TEventTrackpadData Struct Reference

#include <GHOST_Types.h>

Public Attributes

GHOST_TTrackpadEventSubTypes subtype
int32_t x
int32_t y
int32_t deltaX
int32_t deltaY
char isDirectionInverted

Detailed Description

Definition at line 663 of file GHOST_Types.h.

Member Data Documentation

◆ deltaX

int32_t GHOST_TEventTrackpadData::deltaX

The x-delta or value of the trackpad event

Definition at line 671 of file GHOST_Types.h.

Referenced by wm_event_add_ghostevent().

◆ deltaY

int32_t GHOST_TEventTrackpadData::deltaY

The y-delta (currently only for scroll subtype) of the trackpad event

Definition at line 673 of file GHOST_Types.h.

Referenced by wm_event_add_ghostevent().

◆ isDirectionInverted

char GHOST_TEventTrackpadData::isDirectionInverted

The delta is inverted from the device due to system preferences.

Definition at line 675 of file GHOST_Types.h.

Referenced by wm_event_add_ghostevent().

◆ subtype

GHOST_TTrackpadEventSubTypes GHOST_TEventTrackpadData::subtype

The event subtype

Definition at line 665 of file GHOST_Types.h.

Referenced by wm_event_add_ghostevent().

◆ x

int32_t GHOST_TEventTrackpadData::x

The x-location of the trackpad event

Definition at line 667 of file GHOST_Types.h.

Referenced by wm_event_add_ghostevent().

◆ y

int32_t GHOST_TEventTrackpadData::y

The y-location of the trackpad event

Definition at line 669 of file GHOST_Types.h.


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