From 3fcc6b06b64535550ea95582d3d5d70fb6490ee9 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 21 Jul 2008 16:51:38 +0930 Subject: Xi specs: Allow same mapping for multiple buttons in XI 2. --- specs/Xi/protocol.xml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/specs/Xi/protocol.xml b/specs/Xi/protocol.xml index b393ffb..c28ceb7 100644 --- a/specs/Xi/protocol.xml +++ b/specs/Xi/protocol.xml @@ -2243,12 +2243,16 @@ must be the same as GetDeviceButtonMapping would return. Otherwise, SetDeviceButtonMapping generates a Value error. A zero element - disables a buttons, and elements are not restricted in value by the - number of physical buttons. However, no two elements can have the - same nonzero value. Otherwise, this function generates a - Value error. If any of the buttons to be altered are in the + disables a button, and elements are not restricted in value by the + number of physical buttons. If any of the buttons to be altered are in the down state, the status reply is MappingBusy and the mapping is - not changed. + not changed. + + + In servers supporting XI 1.x, no two elements can have the + same nonzero value. Otherwise, this function generates a + Value error. + Obtaining The State Of A Device To obtain vectors that describe the state of the keys, buttons and valuators -- cgit v1.2.3