summaryrefslogtreecommitdiff
path: root/specs
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2008-07-21 16:51:38 +0930
committerPeter Hutterer <peter.hutterer@who-t.net>2008-07-21 16:51:38 +0930
commit3fcc6b06b64535550ea95582d3d5d70fb6490ee9 (patch)
tree2499ee3519cd08606e7027809db44099e5ec5a4e /specs
parentb7f15e42b23264053f366770e514c1dd48420d6b (diff)
Xi specs: Allow same mapping for multiple buttons in XI 2.
Diffstat (limited to 'specs')
-rw-r--r--specs/Xi/protocol.xml14
1 files 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
<emphasis>GetDeviceButtonMapping</emphasis> would return. Otherwise,
<emphasis>SetDeviceButtonMapping</emphasis> generates a <emphasis>Value</emphasis> 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
- <emphasis>Value</emphasis> 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 <emphasis>MappingBusy</emphasis> and the mapping is
- not changed.</para>
+ not changed.
+ </para>
+ <para>
+ In servers supporting XI 1.x, no two elements can have the
+ same nonzero value. Otherwise, this function generates a
+ <emphasis>Value</emphasis> error.
+ </para>
</sect2>
<sect2 id='obtaining_the_state_of_a_device'><title>Obtaining The State Of A Device</title>
<para>To obtain vectors that describe the state of the keys, buttons and valuators