Commit 51d87be8 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - MediaKeys support, patch by Ilkka Ollakka

parent cd2892e8
......@@ -144,6 +144,12 @@ int qtEventToVLCKey( QKeyEvent *e )
HANDLE( Key_End, KEY_END );
HANDLE( Key_Insert, KEY_INSERT );
HANDLE( Key_Delete, KEY_DELETE );
HANDLE( Key_VolumeDown, KEY_VOLUME_DOWN);
HANDLE( Key_VolumeUp, KEY_VOLUME_UP );
HANDLE( Key_MediaPlay, KEY_MEDIA_PLAY_PAUSE );
HANDLE( Key_MediaStop, KEY_MEDIA_STOP );
HANDLE( Key_MediaPrevious, KEY_MEDIA_PREV_TRACK );
HANDLE( Key_MediaNext, KEY_MEDIA_NEXT_TRACK );
}
if( !found )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment