Blender V5.3
GHOST_TEventTrackpadData Struct Reference

#include <GHOST_Types.hh>

Public Attributes

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

Detailed Description

Definition at line 676 of file GHOST_Types.hh.

Member Data Documentation

◆ deltaX

int32_t GHOST_TEventTrackpadData::deltaX

The x-delta or value of the trackpad event

Definition at line 684 of file GHOST_Types.hh.

Referenced by GHOST_EventTrackpad::GHOST_EventTrackpad(), and blender::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 686 of file GHOST_Types.hh.

Referenced by GHOST_EventTrackpad::GHOST_EventTrackpad(), and blender::wm_event_add_ghostevent().

◆ isDirectionInverted

char GHOST_TEventTrackpadData::isDirectionInverted

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

Definition at line 688 of file GHOST_Types.hh.

Referenced by GHOST_EventTrackpad::GHOST_EventTrackpad(), and blender::wm_event_add_ghostevent().

◆ subtype

GHOST_TTrackpadEventSubTypes GHOST_TEventTrackpadData::subtype

The event subtype

Definition at line 678 of file GHOST_Types.hh.

Referenced by GHOST_EventTrackpad::GHOST_EventTrackpad(), and blender::wm_event_add_ghostevent().

◆ x

int32_t GHOST_TEventTrackpadData::x

The x-location of the trackpad event

Definition at line 680 of file GHOST_Types.hh.

Referenced by GHOST_EventTrackpad::GHOST_EventTrackpad(), and blender::wm_event_add_ghostevent().

◆ y

int32_t GHOST_TEventTrackpadData::y

The y-location of the trackpad event

Definition at line 682 of file GHOST_Types.hh.

Referenced by GHOST_EventTrackpad::GHOST_EventTrackpad().


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