[PATCH]

"loux.thefuture" <[email protected]> Wed, 07 Feb 2007 15:32:38 +0100
Newsgroups gmane.comp.video.videolan.vls.devel
Message-ID <[email protected]>
This message is in MIME format.

--=_348ku1fe22gw
Content-Type: text/plain;
	charset=ISO-8859-1;
	DelSp="Yes";
	format="flowed"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

patch to handle media keys under linux,
see you
loux.thefuture

----------------------------------------------------------------



--=_348ku1fe22gw
Content-Type: text/x-patch;
	charset=ISO-8859-1;
	name="vlc.patch"
Content-Disposition: attachment;
	filename="vlc.patch"
Content-Transfer-Encoding: quoted-printable

Index: modules/video_output/x11/xcommon.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- modules/video_output/x11/xcommon.c=09(r=C3=A9vision 18729)
+++ modules/video_output/x11/xcommon.c=09(copie de travail)
@@ -3048,7 +3048,13 @@
=20
     { 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 }
 };
=20

--=_348ku1fe22gw--

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