From 45b221834184e6bdc28e83338014ddea6eb1fad0 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 1 Jul 2015 13:45:19 +1000 Subject: User Prefs for NDOF dead-zone D1344 with edits --- intern/ghost/GHOST_C-api.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'intern/ghost/GHOST_C-api.h') diff --git a/intern/ghost/GHOST_C-api.h b/intern/ghost/GHOST_C-api.h index 8a80a51a77b..7715979d8bf 100644 --- a/intern/ghost/GHOST_C-api.h +++ b/intern/ghost/GHOST_C-api.h @@ -434,6 +434,16 @@ extern GHOST_TSuccess GHOST_GetButtonState(GHOST_SystemHandle systemhandle, GHOST_TButtonMask mask, int *isDown); +/*************************************************************************************** + * Access to 3D mouse. + ***************************************************************************************/ + +/** + * Sets 3D mouse deadzone + * \param deadzone Deadzone of the 3D mouse (both for rotation and pan) relative to full range + */ +extern void GHOST_setNDOFDeadZone(float deadzone); + /*************************************************************************************** * Drag'n'drop operations -- cgit v1.2.3