5792bd7cc7
cmake: cleanup include paths, some duplicates and going up some unneeded dirs.
2011-07-17 09:11:13 +00:00
410c5e3cd2
cmake source definitions:
...
remove missing includes and use more strict formatting.
2011-07-16 23:01:14 +00:00
b0c8abf04e
removed unused ndof code
2011-07-14 22:01:09 +00:00
cc1ba4569c
more consistent and modal-friendly ndof events, fly mode v1
2011-07-14 21:20:45 +00:00
cf485cd963
Advanced CMake option to build the player without blender: WITH_BLENDER
2011-07-13 08:15:06 +00:00
44e45e54c5
- don't build ghost's event printer unless ghost debug is enabled.
...
- use char rather then STR_String for the event printer.
- added option to build WITH_GHOST_DEBUG for cmake
- renamed WITH_SDL_GHOST --> WITH_GHOST_SDL
2011-07-13 06:04:54 +00:00
0fc6aac3dc
make X11's getModifierKeys more compact and don't run XKeysymToKeycode 8 times for call.
2011-07-13 05:22:21 +00:00
74494dbcd2
SVN maintenance.
2011-07-13 00:49:22 +00:00
41f37cff93
changes to ghost/sdl
...
- mouse coords made absolute
- window position set
- building with SDL 1.2 gives an error.
2011-07-13 00:31:08 +00:00
9eb1b26312
Fix for recent GHOST SDL commit.
...
SCons rules haven't been changed to deal with new option.
2011-07-12 18:39:46 +00:00
f7b9418d25
build option to use SDL 1.3 for GHOST rather then X11/Win32/Cocoa api's,
...
This opens up the option for blender to be more easily ported to other devices, OS's.
TODO
- continuous grab.
- text glitch with multiple windows (was a bug in X11 too for a while, will check on this)
2011-07-12 13:17:54 +00:00
b90535cc33
correction to cursor enum and make GHOST_SystemX11's convertXKey into a static function.
2011-07-12 12:53:23 +00:00
65d1e27ff5
fix for using uninitialized value in gpu_shader_material
2011-07-09 19:16:32 +00:00
c50b5ee320
ghost multi-test builds again, now uses BLF font library
2011-07-09 16:18:15 +00:00
50ef78cdb8
various fixes to enable MSVC build, removed crusty old Win32 ndof code
2011-07-06 18:50:59 +00:00
e7878389bb
Fix #27865 : weird mouse warping with continuous grab on OS X.
2011-07-05 20:15:29 +00:00
e15fd7df6c
Patch #27829 : fix X11 compile problem due to missing XF86XK_AudioForward define
...
on Debian Lenny. Patch by "dungeoneer".
2011-07-05 19:10:28 +00:00
5913179f85
CMake file to build ghost tests again.
2011-07-03 16:17:38 +00:00
14c72f379c
implemented ndof 'dead zone' around home position, fixed X11 active window determination, removed old X11 ndof code
2011-07-01 21:51:44 +00:00
228be10722
fix for building headless
2011-07-01 15:15:22 +00:00
abd4a881db
ndof device detection now visible in log
2011-07-01 03:54:23 +00:00
893bf5f81a
verbose ndof event trace for a tester
2011-07-01 03:44:03 +00:00
e41a7b6f63
tiny compile fix for PowerMac
2011-07-01 00:58:47 +00:00
4178b662cc
enabled pan/zoom in rotation-locked 3D views + small cleanup
2011-06-28 15:59:46 +00:00
446be52164
made Pascal string less intrusive to build systems
2011-06-28 15:57:39 +00:00
30b4ff8949
first attempt at CMake fix (untested)
2011-06-27 23:24:24 +00:00
5c2e4318b5
Windows ndof now uses blender view coordinates
2011-06-27 21:52:33 +00:00
798f59fe68
Mac ndof using blender view coordinates + small but important typo fixed
2011-06-27 20:44:23 +00:00
0f8a1ed8af
removed unneeded cleanup code on Linux
2011-06-27 20:18:04 +00:00
edd5980436
now using blender view coordinates for ndof input -- core and Linux in place
2011-06-27 20:12:10 +00:00
24c0f1873e
Fix part of #26850 : Cocoa OS X game player was not working, two issues:
...
* Unlike blender, the game player draws only on windows update callbacks,
and those wer not implemented.
* Going fullscreen for player was not implemented correct, it expected an
existing window but actually it should create one.
2011-06-27 13:57:27 +00:00
ec48695de1
suppressed annoying log in Mac NDOF system
2011-06-25 18:48:53 +00:00
da79ab5acc
GHOST Cocoa: some changes to Y coordinate conversion in previous commit,
...
to fix continuous grab being broken (bug report #27760 ).
2011-06-25 02:10:13 +00:00
c518aa1383
GHOST Cocoa: move y origin top/bottom conversions out of windowmanager module
...
and into GHOST. Also fixes a problem where e.g. the user preferences window
would not open under the mouse cursor correctly.
2011-06-23 19:55:47 +00:00
015b0ea00a
small fix to turntable mode, first attempt at trackball code, ndof now respects view locking and updates 'User Persp' etc.
2011-06-20 01:54:49 +00:00
85051eff69
disabled debug logging now that a workaround is in place (Win32 ndof buttons)
2011-06-18 20:32:14 +00:00
412da91a47
SpacePilotPro has 31 buttons, not 29 -- '+' and '-' work again
2011-06-18 19:40:30 +00:00
598c54f0e9
ndof device detection on Windows, safer button handling
2011-06-18 16:50:54 +00:00
ebc2f7064d
tiny fix for Linux
2011-06-17 22:45:33 +00:00
56e312a88e
filled out USB product IDs for all 3Dconnexion devices
2011-06-17 22:19:16 +00:00
d53801e8f6
updated Mac code to work with latest 3Dx beta driver -- all buttons work now
2011-06-17 21:04:23 +00:00
e7591d177b
finished Mac NDOF device detection, moved core device ID to base NDOFManager, clarified info/error messages
2011-06-17 19:48:26 +00:00
b13e12a7bb
NDOF device detection on Mac -- phase 1
2011-06-17 16:10:06 +00:00
18b5dac5ca
Standard views (front, top, etc.) work from buttons on SpaceExplorer and SpacePilotPro. Linux can now determine which NDOF device is plugged in.
2011-06-16 19:45:38 +00:00
d7ef491845
cleaned up event logging, added HID -> function table for SpacePilot PRO
2011-06-15 20:56:42 +00:00
d5cafb808f
fixed typos, renamed the HID -> function lookup tables
2011-06-15 19:57:10 +00:00
060e2b295b
mapping HID button codes -> functions, for SpaceNavigator and SpaceExplorer
2011-06-15 19:45:00 +00:00
04584806cc
handle up to 32 buttons (up from 16), for SpacePilot PRO
2011-06-15 16:05:10 +00:00
6aa7777144
removed temporary debug logging
2011-06-15 02:40:25 +00:00
450f176a8f
split Win32 NDOF manager into 2 files to fix Mac scons build
2011-06-11 02:26:28 +00:00