--- configure 2007-10-07 22:49:33.000000000 +0300 +++ /home/adamski/MPlayer-1.0rc2/configure 2008-08-09 09:58:03.000000000 +0300 @@ -237,6 +237,7 @@ --enable-lirc enable LIRC (remote control) support [autodetect] --enable-lircc enable LIRCCD (LIRC client daemon) input [autodetect] --enable-joystick enable joystick support [disable] + --enable-pedal enable pedal support [disable] --enable-apple-remote enable Apple Remote input (Mac OS X only) [autodetect] --disable-vm disable X video mode extensions [autodetect] --disable-xf86keysym disable support for multimedia keys [autodetect] @@ -620,6 +621,7 @@ _vidix_internal=auto _vidix_external=auto _joystick=no +_pedal=no _xvid=auto _x264=auto _libnut=auto @@ -1006,6 +1008,8 @@ ;; --enable-joystick) _joystick=yes ;; --disable-joystick) _joystick=no ;; + --enable-pedal) _pedal=yes ;; + --disable-pedal) _pedal=no ;; --enable-xvid) _xvid=yes ;; --disable-xvid) _xvid=no ;; --enable-x264) _x264=yes ;; @@ -7352,6 +7356,19 @@ fi echores "$_joystick" +# olympus as-2300 pedal adamski +echocheck "pedal" +_def_pedal='#undef HAVE_PEDAL' +if test "$_pedal" = yes ; then + if linux ; then + _def_pedal='#define HAVE_PEDAL 1' + else + _pedal="no (unsupported under $system_name)" + fi +fi +echores "$_pedal" + + echocheck "lirc" if test "$_lirc" = auto ; then _lirc=no @@ -7619,6 +7636,7 @@ # input/demuxer/codecs JOYSTICK = $_joystick +PEDAL = $_pedal LIRC = $_lirc APPLE_REMOTE = $_apple_remote TV = $_tv @@ -8387,6 +8405,9 @@ /* enables / disables new input joystick support */ $_def_joystick +/* enables / disables new input pedal support */ +$_def_pedal + /* enables / disables QTX codecs */ $_def_qtx