Reinhard Tartler <siret...@tauware.de> writes:
> On Sat, Aug 07, 2010 at 11:44:47 (EDT), steph wrote:
>> Isn't it possible to enable joystick at compilation
>> and to disable it in /etc/mplayer/mplayer.conf (with a little comment)?
>
> Yeah, we can try that. care to send a patch for this?

diff --git a/debian/mplayer.conf b/debian/mplayer.conf
index 82d3630..9e49dfb 100644
--- a/debian/mplayer.conf
+++ b/debian/mplayer.conf
@@ -86,6 +86,9 @@ ao=pulse,alsa,sdl:aalib
 
 stop-xscreensaver=yes
 
+# Joystick input is disabled because of issues on some laptops(thinkpad).
+joystick=no
+
 # Pretend to be Window Media Player.
 # Fixes playback when playlist and media file use the same URL.
 #user-agent=NSPlayer/4.1.0.3856
diff --git a/debian/rules b/debian/rules
index 77fd52a..39066c0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -54,6 +54,7 @@ CONFIGURE_FLAGS = \
        --disable-libavformat_a \
        --disable-libpostproc_a \
        --disable-libswscale_a \
+       --enable-joystick \
        $(archconf)
 
 ifeq ($(DEB_HOST_ARCH),i386)


It's the first time i make and send a patch. Please, tell me if it isn't
what you expected.

bye.



_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to