Blender  V3.3
Public Attributes | List of all members
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 459 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 467 of file GHOST_Types.h.

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

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

◆ isDirectionInverted

char GHOST_TEventTrackpadData::isDirectionInverted

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

Definition at line 471 of file GHOST_Types.h.

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

◆ subtype

GHOST_TTrackpadEventSubTypes GHOST_TEventTrackpadData::subtype

The event subtype

Definition at line 461 of file GHOST_Types.h.

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

◆ x

int32_t GHOST_TEventTrackpadData::x

The x-location of the trackpad event

Definition at line 463 of file GHOST_Types.h.

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

◆ y

int32_t GHOST_TEventTrackpadData::y

The y-location of the trackpad event

Definition at line 465 of file GHOST_Types.h.

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


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