[vls-devel] Re: [PATCH]

Jean-Paul Saman jean-paul.saman at planet.nl
Wed Feb 7 21:09:44 CET 2007


Wrong mailinglist. I think this is better on vlc-devel.

Gtz,
Jean-Paul Saman.

loux.thefuture wrote:
> patch to handle media keys under linux,
> see you
> loux.thefuture
> 
> ----------------------------------------------------------------
> 
> 
> 
> ------------------------------------------------------------------------
> 
> Index: modules/video_output/x11/xcommon.c
> ===================================================================
> --- modules/video_output/x11/xcommon.c	(révision 18729)
> +++ modules/video_output/x11/xcommon.c	(copie de travail)
> @@ -3048,7 +3048,13 @@
>  
>      { XK_Insert, KEY_INSERT },
>      { XK_Delete, KEY_DELETE },
> -
> +    { XF86XK_AudioStop, KEY_MEDIA_STOP},
> +    { XF86XK_AudioNext, KEY_MEDIA_NEXT_TRACK},
> +    { XF86XK_AudioPrev, KEY_MEDIA_PREV_TRACK},
> +    { XF86XK_AudioMute, KEY_VOLUME_MUTE },
> +    { XF86XK_AudioLowerVolume, KEY_VOLUME_DOWN },
> +    { XF86XK_AudioRaiseVolume, KEY_VOLUME_UP },
> +    { XF86XK_AudioPlay, KEY_MEDIA_PLAY_PAUSE },
>      { 0, 0 }
>  };
>  

-- 
This is the vls-devel mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vls-devel mailing list