hello there,
i asked a simalar question related to an accelerometer type program for app for the touch. you can read it here, although it may not be that helpful.
http://forum.ppcgeeks.com/showthread.php?t=47176
hope this shed atleast a little light on your question.
TZ