blender/intern/ghost
Kent Mein d5ae204275 This is a bit of a hack, but it looks like sun
Used F11 and friends for its special keys Stop,again etc..
                  So this little patch enables F11 and F12 to work as expected
                  following link has documentation on it:
                  http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4734408
                  also from /usr/include/X11/Sunkeysym.h
#define SunXK_F36               0x1005FF10      // Labeled F11
#define SunXK_F37               0x1005FF11      // Labeled F12

I also added a comment explaning why the heck its there...

What this means is XK_F11 and XK_F12 do not line up with the F11 and F12
keys on sun keyboards.  So I've added special cases to correct the issue.

Doing a quick grep for XK_F shows there are some files in the
gameengine that use them when they probably shouldn't, but I'm not going to
attempt to fix them, Files that should be looked at are:
gameengine/BlenderRoutines/KX_BlenderInputDevice.h
gameengine/Converter/KX_ConvertSensors.cpp
gameengine/GameLogic/SCA_IInputDevice.h
gameengine/GamePlayer/common/unix/GPU_KeyboardDevice.cpp
gameengine/GamePlayer/common/windows/GPW_KeyboardDevice.cpp
gameengine/GamePlayer/ghost/GPG_KeyboardDevice.cpp
gameengine/Ketsji/KX_PythonInit.cpp

Kent
2006-05-10 19:46:06 +00:00
..
doc Replaced old doxygen config file with two new ones: 2002-12-28 22:33:48 +00:00
intern This is a bit of a hack, but it looks like sun 2006-05-10 19:46:06 +00:00
make Update to the VC7 projectfiles. 2006-04-17 20:05:39 +00:00
test Added multitest to the targets that get built for tests for ghost. 2003-01-30 02:47:29 +00:00
GHOST_C-api.h Commit of cursor framework. Cursors now defined in source/blender/src/cursors.c and 2003-12-26 20:12:42 +00:00
GHOST_IEvent.h Removed those extra CVS tag lines in the header files of ghost (now I know what 2002-12-28 22:26:45 +00:00
GHOST_IEventConsumer.h Removed those extra CVS tag lines in the header files of ghost (now I know what 2002-12-28 22:26:45 +00:00
GHOST_ISystem.h Fixed doxygen so it would run again for ghost.... 2003-01-24 05:32:14 +00:00
GHOST_ITimerTask.h Fixes for some gcc 4 warnings in intern/. More than 100 lines of warnings 2006-03-04 16:23:15 +00:00
GHOST_IWindow.h Fixes for some gcc 4 warnings in intern/. More than 100 lines of warnings 2006-03-04 16:23:15 +00:00
GHOST_Rect.h Removed those extra CVS tag lines in the header files of ghost (now I know what 2002-12-28 22:26:45 +00:00
GHOST_Types.h Removed comma at end of enumerator list to please fussy compiler. 2005-03-29 14:27:20 +00:00
Makefile - Revert to NaN makefiles 2004-01-05 00:06:11 +00:00
SConscript ==SCons== 2006-03-13 11:42:49 +00:00