diff options
author | Jean-Luc Peurière <jlp@nerim.net> | 2007-05-29 08:34:09 +0400 |
---|---|---|
committer | Jean-Luc Peurière <jlp@nerim.net> | 2007-05-29 08:34:09 +0400 |
commit | 16340dfe1235391bb675a633a099c17af3a731c7 (patch) | |
tree | d8f2b76f6a9539519b191bb896ce6941f6dbe444 /intern/ghost/GHOST_C-api.h | |
parent | 9fec189e7a5793676675f10eb9484b0bbabc5527 (diff) |
adding the initial patch updated to 2.44 in ndof branch
notes :
it compiles but is non functional
lacks the platform specific changes in ghost ( i cant test windows)
lacks the code for plug-in.
the platform specific code will be added when we sync with Ettore work
the plug-in itself cannot be added here
Diffstat (limited to 'intern/ghost/GHOST_C-api.h')
-rw-r--r-- | intern/ghost/GHOST_C-api.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/intern/ghost/GHOST_C-api.h b/intern/ghost/GHOST_C-api.h index 4c4094409dd..d5fc87c16f6 100644 --- a/intern/ghost/GHOST_C-api.h +++ b/intern/ghost/GHOST_C-api.h @@ -265,6 +265,19 @@ extern GHOST_TSuccess GHOST_AddEventConsumer(GHOST_SystemHandle systemhandle, GHOST_EventConsumerHandle consumerhandle); +/*************************************************************************************** + ** N-degree of freedom device management functionality + ***************************************************************************************/ + +/** +* Open N-degree of freedom devices + */ +extern void GHOST_OpenNDOF(GHOST_SystemHandle systemhandle, + GHOST_WindowHandle windowhandle, + GHOST_NDOFLibraryInit_fp setNdofLibraryInit, + GHOST_NDOFLibraryShutdown_fp setNdofLibraryShutdown, + GHOST_NDOFDeviceOpen_fp setNdofDeviceOpen, + GHOST_NDOFEventHandler_fp setNdofEventHandler); /*************************************************************************************** ** Cursor management functionality |