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.
Source
This article is over 2 years old — the linked page may have changed, moved, or been taken over since then.