Blender V5.0
wmTabletData Struct Reference

#include <WM_types.hh>

Public Attributes

int active
float pressure
blender::float2 tilt
char is_motion_absolute

Detailed Description

Definition at line 701 of file WM_types.hh.

Member Data Documentation

◆ active

◆ is_motion_absolute

char wmTabletData::is_motion_absolute

Interpret mouse motion as absolute as typical for tablets.

Definition at line 712 of file WM_types.hh.

Referenced by walkEvent(), WM_cursor_grab_enable(), wm_event_add_ghostevent(), wm_event_tablet_data_default(), 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 705 of file WM_types.hh.

Referenced by WM_event_print(), wm_event_tablet_data_default(), and wm_tablet_data_from_ghost().

◆ tilt

blender::float2 wmTabletData::tilt

X axis range: -1.0 (left) to +1.0 (right). Y axis range: -1.0 (away from user) to +1.0 (toward user).

Definition at line 710 of file WM_types.hh.

Referenced by wm_event_add_ghostevent(), WM_event_print(), WM_event_tablet_data(), wm_event_tablet_data_default(), wm_paintcursor_draw(), and wm_tablet_data_from_ghost().


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