forked from bartvdbraak/blender
d5ae204275
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 |
||
---|---|---|
.. | ||
doc | ||
intern | ||
make | ||
test | ||
GHOST_C-api.h | ||
GHOST_IEvent.h | ||
GHOST_IEventConsumer.h | ||
GHOST_ISystem.h | ||
GHOST_ITimerTask.h | ||
GHOST_IWindow.h | ||
GHOST_Rect.h | ||
GHOST_Types.h | ||
Makefile | ||
SConscript |