Your question is unclear, but let me try to make attempt of understanding it.
If I am not misunderstood your Question, You are working on Windows Phone 7/7.5 Application. And you want to get "
Accelerometer Input" (X,Y,Z) positions.
Use
AccelerometerReadingChanged
Event. Try as below code.
public void AccelerometerReadingChanged(object sender, AccelerometerReadingEventArgs e)
{
float xPosition = (float)e.X;
float yPosition = (float)e.Y;
float zPosition = (float)e.Z;
}
Have a look at below links for more details.
http://msdn.microsoft.com/en-us/library/ff604984.aspx
http://windowsteamblog.com/windows_phone/b/wpdev/archive/2010/09/08/using-the-accelerometer-on-windows-phone-7.aspx