summaryrefslogtreecommitdiff
path: root/XI2proto.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-03-10 15:35:04 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-03-12 11:44:20 +1000
commitcac1bcbf6d544f29c3379bc0462bb237e8ff8399 (patch)
tree5ea078f81b9adf82a52d42933be7702c433e89b0 /XI2proto.h
parentfc7f67959ad72c76e852827963d6a42b7d533b89 (diff)
Add FP3232 typedef.
Diffstat (limited to 'XI2proto.h')
-rw-r--r--XI2proto.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/XI2proto.h b/XI2proto.h
index 21a8240..3862932 100644
--- a/XI2proto.h
+++ b/XI2proto.h
@@ -65,6 +65,11 @@
* COMMON STRUCTS *
* *
*************************************************************************************/
+/* Fixed point 32.32 */
+typedef struct {
+ int32_t integral;
+ uint32_t frac;
+} FP3232;
/**
* Struct to describe a device.