iPhone acceleration

Hi there
Is there a way to detect an actuall acceleration with iPhoneInput ?

I mean we have iPhoneInput.acceleration , but this seems to give me is a rotation of the phone not its acceleration in space … ? Am I missing something ?

Thanks !

PS. When iPhone is in complete rest on a table, it prints (0.0 , 0.1 , -1.0 ). Whats up with that ?

obviously the table not too flat when put in relation to the earths core normal direction which is towards which the gravity will point

Also if you cut it to 1 digit, you risk that the float inaccuracy thats present on any computation device to outweight the real value.
You would commonly round to 4 digits for a “real” measure

The accelerometer only tells you the orientation of the device at that exact moment. If you want to detect motion then you compare the current value to some past value.

–Eric