summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-06-16 13:14:47 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-06-16 13:15:24 +1000
commitb0f7e24d210cb6d0a1c47cae39b54e56a5e996d8 (patch)
treeff7c23f59d1dce72698d630f80e2c47b652c66b8
parentb2fb9f81a2a7af8656309420facd58ab610d5da1 (diff)
Include valuator value in XIValuatorClasses
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--XI2proto.h1
-rw-r--r--XI2proto.txt3
2 files changed, 4 insertions, 0 deletions
diff --git a/XI2proto.h b/XI2proto.h
index 1bb5a50..eada483 100644
--- a/XI2proto.h
+++ b/XI2proto.h
@@ -205,6 +205,7 @@ typedef struct {
Atom name; /**< Valuator name */
FP3232 min; /**< Min value */
FP3232 max; /**< Max value */
+ FP3232 value; /**< Last published value */
uint32_t resolution; /**< Resolutions in units/m */
uint8_t mode; /**< ModeRelative or ModeAbsolute */
uint8_t pad1;
diff --git a/XI2proto.txt b/XI2proto.txt
index d5fac4e..34f817e 100644
--- a/XI2proto.txt
+++ b/XI2proto.txt
@@ -242,6 +242,7 @@ XI2. Clients should ignore this data.
axisname: ATOM
min: FP3232
max: FP3232
+ value: FP3232
resolution: CARD32 }
XIQueryDevices details information about the requested input devices.
@@ -341,6 +342,8 @@ XI2. Clients should ignore this data.
Resolution in counts/meter.
mode
Relative or Absolute.
+ value
+ Last published axis value (if mode is absolute).
An axis in Relative mode may specify 'min' and 'max' as a hint to the
client. If no 'min' and 'max' information is available, both must be 0.