summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-03-10 15:42:28 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-03-12 11:44:20 +1000
commit2339bc5b0eea89e676ac58a38ac5eb6a8ae6e6f9 (patch)
tree00b717e0e9d66c1622bc641b65d8c4b4115d9b3a
parentcac1bcbf6d544f29c3379bc0462bb237e8ff8399 (diff)
ValuatorInfo moved to FP3232
-rw-r--r--XI2proto.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/XI2proto.h b/XI2proto.h
index 3862932..6680b4b 100644
--- a/XI2proto.h
+++ b/XI2proto.h
@@ -144,10 +144,8 @@ typedef struct {
uint16_t type; /**< Always ValuatorClass */
uint16_t length; /**< Length in 4 byte units */
Atom name; /**< Valuator name */
- int32_t min; /**< Min value, integral part */
- uint32_t min_frac; /**< Min value, fractional part */
- int32_t max; /**< Max value, integral part */
- uint32_t max_frac; /**< Max value, fractional part */
+ FP3232 min; /**< Min value */
+ FP3232 max; /**< Max value */
uint32_t resolution; /**< Resolutions in units/m */
uint16_t number; /**< Valuator number */
uint8_t mode; /**< ModeRelative or ModeAbsolute */