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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user