diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-06-16 13:14:47 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-06-16 13:15:24 +1000 |
commit | b0f7e24d210cb6d0a1c47cae39b54e56a5e996d8 (patch) | |
tree | ff7c23f59d1dce72698d630f80e2c47b652c66b8 | |
parent | b2fb9f81a2a7af8656309420facd58ab610d5da1 (diff) | |
download | xorg-proto-inputproto-b0f7e24d210cb6d0a1c47cae39b54e56a5e996d8.tar.gz |
Include valuator value in XIValuatorClasses
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | XI2proto.h | 1 | ||||
-rw-r--r-- | XI2proto.txt | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -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. |