Adding support for the "media" play/pause/stop/next/prev buttons
authorJoshua Leung <aligorith@gmail.com>
Fri, 18 Feb 2011 22:42:03 +0000 (22:42 +0000)
committerJoshua Leung <aligorith@gmail.com>
Fri, 18 Feb 2011 22:42:03 +0000 (22:42 +0000)
commit346f749a57b117ed18e7e436dc7ccf80dccfacf0
tree767bbcad327569fd8001d3c334f8730583b1b136
parent65aac7c5069984da5d8441376304c910668583d2
Adding support for the "media" play/pause/stop/next/prev buttons
available on many keyboards these days, so that they can be used for
animation playback (giving more options over alt-a and alt-a ad-
infinitum).

Currently, this is Windows only as I don't have a Linux/Mac system to
test on (it should compile with both mingw and msvc, at least using
scons). Maintainers for those systems can probably easily add this in
once they find out the relevant mappings for those systems.
intern/ghost/GHOST_Types.h
intern/ghost/intern/GHOST_EventPrinter.cpp
intern/ghost/intern/GHOST_SystemWin32.cpp
source/blender/makesrna/intern/rna_object_api.c
source/blender/makesrna/intern/rna_wm.c
source/blender/windowmanager/intern/wm_event_system.c
source/blender/windowmanager/wm_event_types.h