|
Blender V4.3
|
#include <WM_types.hh>
Public Attributes | |
| int | active |
| float | pressure |
| float | x_tilt |
| float | y_tilt |
| char | is_motion_absolute |
Definition at line 667 of file WM_types.hh.
| int wmTabletData::active |
0=EVT_TABLET_NONE, 1=EVT_TABLET_STYLUS, 2=EVT_TABLET_ERASER.
Definition at line 669 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 677 of file WM_types.hh.
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 671 of file WM_types.hh.
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 673 of file WM_types.hh.
Referenced by WM_event_print(), and wm_tablet_data_from_ghost().
| float wmTabletData::y_tilt |
As above.
Definition at line 675 of file WM_types.hh.
Referenced by WM_event_print(), and wm_tablet_data_from_ghost().