[MPlayer-dev-eng] patch--- provides joystick support in mplayer

Arpi arpi at thot.banki.hu
Tue Jan 15 01:29:52 CET 2002


Hi,

> This patch add's joystick support if HAVE_JOYSTICK is defined at compile time.
> I have set it up to support 2 axes and 4 buttons.. more buttons are just 
> ignored.  the joystick controls are are follows (i'm just listing the 
> equivalent keyboard command)
> left-left
> right-right
> up-up
> down-down
> button 1- lower volume
> button 2- raise volume
> button 3 -pause
> button 4 - quit
> 
> SOMEONE NEEDS TO ADD JOYSTICK STUFF INTO THE CONFIGURE SCRIPT
> I  do not know how to add the stuff to the configure script.. so please add 
> it for me.  Joystick support needs to have HAVE_JOYSTICK defined.
> 

it's ok. but i really don't like your changes to key code names over the
whole source tree. is it really needed? any workaround?

at worst case, in your file including the conflicting header:

#define MP_KEP_UP KEY_UP
#undef KEY_UP

#include <conflicting/include.h>

...


A'rpi / Astral & ESP-team

--
mailto:arpi at thot.banki.hu
http://esp-team.scene.hu



More information about the MPlayer-dev-eng mailing list