diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2014-07-14 17:59:35 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2014-07-14 18:06:53 +0400 |
commit | 45f0bd6eb1d15aed480fc843ed1c4acc9865abc4 (patch) | |
tree | c28344a369d83cef2977de319064a3f425bc8195 /source/blender/windowmanager/WM_api.h | |
parent | 8554fa2fad63c20ff0c23894ad0b41087d149a32 (diff) |
Feature request:
Expose pressure from event system to python. This will return the tablet
pressure, if a tablet is present, or 1.0 if not.
Diffstat (limited to 'source/blender/windowmanager/WM_api.h')
-rw-r--r-- | source/blender/windowmanager/WM_api.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/windowmanager/WM_api.h b/source/blender/windowmanager/WM_api.h index c9d83a02c27..4b30d4b11b9 100644 --- a/source/blender/windowmanager/WM_api.h +++ b/source/blender/windowmanager/WM_api.h @@ -449,6 +449,8 @@ void WM_event_ndof_rotate_get(const struct wmNDOFMotionData *ndof, float float WM_event_ndof_to_axis_angle(const struct wmNDOFMotionData *ndof, float axis[3]); void WM_event_ndof_to_quat(const struct wmNDOFMotionData *ndof, float q[4]); +float WM_event_tablet_data(const struct wmEvent *event, int *pen_flip); + #ifdef __cplusplus } #endif |