* adding accel-neutral-settings API proposal
[libnomaccel] / src / accel_p.c
index 467757e..3836c50 100644 (file)
@@ -79,4 +79,13 @@ nom_accel_get_all (value* x, value* y, value* z,
            *x = _accel_proxy.x;
            *y = _accel_proxy.y;
            *z = _accel_proxy.z;
-}
\ No newline at end of file
+}
+
+void nom_accel_get_cache (NomAccelCache* target)
+{
+       nom_accel_get_all ( &(target->x),
+                           &(target->y),
+                           &(target->z),
+                           &(target->pitch),
+                           &(target->roll) );
+}