DS Nizse us will allow you to use your DS as a mouse. The PC application will convert the signals from the DS to the mouse. The Application uses the ports 111 and 112 (x and y).
http://palib.info/forum/modules/newbb/viewtopic.php?topic_id=2922&forum=28