GCPad driver + mouse emulation.

Free The Cube <[email protected]>
Newsgroups gmane.linux.ports.game-cube.devel
Message-ID <[email protected]>
Hello everybody !

I'm currently trying to port the GCPad driver from GCLib to Linux/GC (I 
use an dummy GCPAD environment on my x86 box)...

I've got some questions :
	- In the GCLib, the driver reads gamepad status into the mapped memory, 
but is there an IRQ sent by the controller to know when its status 
changes ? I ask for this because the standard input layer into the Linux 
kernel is not really done to be used with devices that make an active 
wait loop for data (waste of CPU time) !

	- I didn't see informations about the Serial Interface. Have you got some 
(maybe it could help me to make a better GCPad driver) ?

Regards, Free The Cube.

PS : Last year, i also made an 'user-land' driver that converts joystick 
events into mouse events, so you can use a GCPad as a pointer/mouse. It 
works with XFree86 and GPM, but not with DirectFB (I could make a 
kernel-space version to work with). It can emulate PS/2 and IMPS/2 
protocols (and soon EXPS/2), and joystick keys can be assigned. 
http://freshmeat.net/projects/js2mouse/
We can imagine to use a virtual keyboard such like 
http://freshmeat.net/projects/xvkbd/ or xkbd (i don't know the URL).

PS2 : I don't if you are interested by a french translation of some docs 
: http://free.the.cube.free.fr



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.