Re: GCPad driver + mouse emulation.
"Richard Eng" <[email protected]>
| Newsgroups | gmane.linux.ports.game-cube.devel |
|---|---|
| Message-ID | <009801c3e03e$b89f7d00$0200000a@perfector> |
Hello there! > - I didn't see informations about the Serial Interface. Have you got some > (maybe it could help me to make a better GCPad driver) ? I'm not an expert on the subject, but as far as I know the only documentation on the serial interface is found in US patent 6,609,977. If you look at the patent you will find the following line: "Serial interface provides a serial interface to hand controllers or other serial devices using automatic controller polling and bulk data mode including a light gun interface." If you need more info about the registers, then take a look at the patent. The entire 0xcc006400 register range is covered there. Take a close look on the SI Communication Control Status Register (Offset + 0x34). You will find all interrupt related stuff there. It is possible to get an interrupt when a "pad-poll" has completed, but you still need to start the transfer somewhere (Writing a '1' to the Control Status Register bit 0.) Remember also to set bit 27 of the register to enable the TC (Transfer Complete) interrupt. Good luck! Richard Eng ------------------------------------------------------- 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