[MPlayer-dev-eng] [PATCH] A new input interface

Alban Bedel albeu at free.fr
Fri Jan 25 21:26:41 CET 2002


Hello everybody,

With this patch I wanted to reach the following goals :
	Be able to configure the meaning of the keys.
	Join the keyboard handeling and the slave mode (wich is very poor)
	Be able to easly add new control system (joystick, network, etc)
Not all is here, the keys meaning are still hardcoded but it will be easy
to add a config file wich store this.
There is currently two drawbacks, it's slower (more computation),
and there is (now) no lirc support.
For the good side the slave mode have now acces to all what you can do 
with the keys (and a little more), and it will be easy to add new commands.
For the supported command look in input.c.
To try it, don't forget to define HAVE_NEW_INPUT in your config.h
As usal comment are welcome.
		Albeu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: input.patch2
Type: application/octet-stream
Size: 23397 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20020125/617d11f0/attachment.obj>


More information about the MPlayer-dev-eng mailing list