|
Blender V5.0
|
#include <WM_types.hh>
Public Attributes | |
| int | active |
| float | pressure |
| blender::float2 | tilt |
| char | is_motion_absolute |
Definition at line 701 of file WM_types.hh.
| int wmTabletData::active |
0=EVT_TABLET_NONE, 1=EVT_TABLET_STYLUS, 2=EVT_TABLET_ERASER.
Definition at line 703 of file WM_types.hh.
Referenced by annotation_draw_apply_event(), annotation_is_tablet_eraser_active(), blender::ed::sculpt_paint::grease_pencil_brush_stroke_invoke(), 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 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().
| 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().
| 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().