OSCpad is (or at least will be) a software to use your NDS as a universal controller for OSC aware applications. Currently it sends data for the touchpad and for the ndsmotion, buttons and probably microphone volume are to follow soon.

http://forum.gbadev.org/viewtopic.php?t=15932