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

#include <WM_types.h>

Public Attributes

int active
 
float pressure
 
float x_tilt
 
float y_tilt
 
char is_motion_absolute
 

Detailed Description

Definition at line 537 of file WM_types.h.

Member Data Documentation

◆ active

int wmTabletData::active

◆ is_motion_absolute

char wmTabletData::is_motion_absolute

Interpret mouse motion as absolute as typical for tablets.

Definition at line 547 of file WM_types.h.

Referenced by walkEvent(), WM_cursor_grab_enable(), wm_event_add_ghostevent(), wm_gizmomap_modal_set(), and wm_tablet_data_from_ghost().

◆ pressure

float wmTabletData::pressure

range 0.0 (not touching) to 1.0 (full pressure).

Definition at line 541 of file WM_types.h.

Referenced by WM_event_print(), and wm_tablet_data_from_ghost().

◆ x_tilt

float wmTabletData::x_tilt

range 0.0 (upright) to 1.0 (tilted fully against the tablet surface).

Definition at line 543 of file WM_types.h.

Referenced by WM_event_print(), and wm_tablet_data_from_ghost().

◆ y_tilt

float wmTabletData::y_tilt

as above.

Definition at line 545 of file WM_types.h.

Referenced by WM_event_print(), and wm_tablet_data_from_ghost().


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