Blender
V3.3
|
#include <WM_types.h>
Public Attributes | |
int | active |
float | pressure |
float | x_tilt |
float | y_tilt |
char | is_motion_absolute |
Definition at line 622 of file WM_types.h.
int wmTabletData::active |
0=EVT_TABLET_NONE, 1=EVT_TABLET_STYLUS, 2=EVT_TABLET_ERASER.
Definition at line 624 of file WM_types.h.
Referenced by annotation_draw_apply_event(), annotation_is_tablet_eraser_active(), gpencil_draw_apply_event(), gpencil_is_tablet_eraser_active(), WM_event_is_tablet(), WM_event_print(), wm_event_tablet_data_default(), wm_eventmatch(), and wm_tablet_data_from_ghost().
char wmTabletData::is_motion_absolute |
Interpret mouse motion as absolute as typical for tablets.
Definition at line 632 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().
float wmTabletData::pressure |
range 0.0 (not touching) to 1.0 (full pressure).
Definition at line 626 of file WM_types.h.
Referenced by WM_event_print(), and wm_tablet_data_from_ghost().
float wmTabletData::x_tilt |
range 0.0 (upright) to 1.0 (tilted fully against the tablet surface).
Definition at line 628 of file WM_types.h.
Referenced by WM_event_print(), and wm_tablet_data_from_ghost().
float wmTabletData::y_tilt |
as above.
Definition at line 630 of file WM_types.h.
Referenced by WM_event_print(), and wm_tablet_data_from_ghost().