final (??) work on NDOF branch

it is now in a state where it can be safely
merged with trunk.

Note: basic icons were provided but I'm not
an icondesigner and working in a 16x15 grid
is way too small for me, so feel free to 
change them.
This commit is contained in:
2008-03-13 15:40:24 +00:00
parent 09bb791249
commit 526d0bec47
15 changed files with 16512 additions and 2172 deletions

View File

@@ -935,12 +935,14 @@ void window_open_ndof(Window* win)
MEM_freeN(plug_path);
if (ndofLib) {
GHOST_OpenNDOF(g_system, win->ghostwin,
G.ndofdevice = 0 - GHOST_OpenNDOF(g_system, win->ghostwin,
PIL_dynlib_find_symbol(ndofLib, "ndofInit"),
PIL_dynlib_find_symbol(ndofLib, "ndofShutdown"),
PIL_dynlib_find_symbol(ndofLib, "ndofOpen"));
}
else {
GHOST_OpenNDOF(g_system, win->ghostwin, 0, 0, 0);
G.ndofdevice = -1;
}
}