Blender  V2.93
Public Attributes | List of all members
GHOST_TEventTrackpadData Struct Reference

#include <GHOST_Types.h>

Public Attributes

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

Detailed Description

Definition at line 462 of file GHOST_Types.h.

Member Data Documentation

◆ deltaX

GHOST_TInt32 GHOST_TEventTrackpadData::deltaX

The x-delta or value of the trackpad event

Definition at line 470 of file GHOST_Types.h.

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

◆ deltaY

GHOST_TInt32 GHOST_TEventTrackpadData::deltaY

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

Definition at line 472 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 474 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 464 of file GHOST_Types.h.

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

◆ x

GHOST_TInt32 GHOST_TEventTrackpadData::x

The x-location of the trackpad event

Definition at line 466 of file GHOST_Types.h.

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

◆ y

GHOST_TInt32 GHOST_TEventTrackpadData::y

The y-location of the trackpad event

Definition at line 468 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: