Adding support for the "media" play/pause/stop/next/prev buttons
[blender.git] / intern / ghost / intern / GHOST_EventPrinter.cpp
index 697ced64a70bde0e8cc3d2f3d2c59d8fad6c687f..b3d936aedbe8b4f02020b4df87dccefbbafef11e 100644 (file)
@@ -325,6 +325,18 @@ void GHOST_EventPrinter::getKeyString(GHOST_TKey key, STR_String& str) const
                case GHOST_kKeyNumpadSlash:
                        str = "NumpadSlash";
                        break;
+               case GHOST_kKeyMediaPlay:
+                       str = "MediaPlayPause";
+                       break;
+               case GHOST_kKeyMediaStop:
+                       str = "MediaStop";
+                       break;
+               case GHOST_kKeyMediaFirst:
+                       str = "MediaFirst";
+                       break;
+               case GHOST_kKeyMediaLast:
+                       str = "MediaLast";
+                       break;
                default:
                        str = "unknown";
                        break;