summaryrefslogtreecommitdiff
path: root/specs/appB.xml
diff options
context:
space:
mode:
Diffstat (limited to 'specs/appB.xml')
-rw-r--r--specs/appB.xml108
1 files changed, 54 insertions, 54 deletions
diff --git a/specs/appB.xml b/specs/appB.xml
index ab6313e..ec87056 100644
--- a/specs/appB.xml
+++ b/specs/appB.xml
@@ -240,12 +240,12 @@ a dollar sign ($), and another backslash (\).
Briefly:
</para>
-<literallayout>
-<code>No modifiers: None &lt;event&gt; detail</code>
-<code>Any modifiers: &lt;event&gt; detail</code>
-<code>Only these modifiers: ! mod1 mod2 &lt;event&gt; detail</code>
-<code>These modifiers and any others: mod1 mod2 &lt;event&gt; detail</code>
-</literallayout>
+<programlisting>
+No modifiers: None &lt;event&gt; detail
+Any modifiers: &lt;event&gt; detail
+Only these modifiers: ! mod1 mod2 &lt;event&gt; detail
+These modifiers and any others: mod1 mod2 &lt;event&gt; detail
+</programlisting>
<para>
The use of "None" for a modifier list is identical to the use
@@ -942,13 +942,13 @@ The canonical representation of a translation table is (see also
<para>The canonical modifier names are</para>
-<literallayout>
-<code> Ctrl Mod1 Button1</code>
-<code> Shift Mod2 Button2</code>
-<code> Lock Mod3 Button3</code>
-<code> Mod4 Button4</code>
-<code> Mod5 Button5</code>
-</literallayout>
+<programlisting>
+ Ctrl Mod1 Button1
+ Shift Mod2 Button2
+ Lock Mod3 Button3
+ Mod4 Button4
+ Mod5 Button5
+</programlisting>
<para>The canonical event types are</para>
@@ -1033,53 +1033,53 @@ The canonical representation of a translation table is (see also
<para>
Always put more specific events in the table before more general ones:
</para>
-<literallayout>
-<code> Shift &lt;Btn1Down&gt; : twas()\n\</code>
-<code> &lt;Btn1Down&gt; : brillig()</code>
-</literallayout>
+<programlisting>
+ Shift &lt;Btn1Down&gt; : twas()\n\
+ &lt;Btn1Down&gt; : brillig()
+</programlisting>
</listitem>
<listitem>
<para>
For double-click on Button1 Up with Shift, use this specification:
</para>
-<literallayout>
-<code>Shift&lt;Btn1Up&gt;(2) : and()</code>
-</literallayout>
+<programlisting>
+Shift&lt;Btn1Up&gt;(2) : and()
+</programlisting>
</listitem>
<listitem>
<para>
This is equivalent to the following line with appropriate timers set
between events:
</para>
-<literallayout>
-<code>Shift&lt;Btn1Down&gt;,Shift&lt;Btn1Up&gt;,Shift&lt;Btn1Down&gt;,Shift&lt;Btn1Up&gt; : and()</code>
-</literallayout>
+<programlisting>
+Shift&lt;Btn1Down&gt;,Shift&lt;Btn1Up&gt;,Shift&lt;Btn1Down&gt;,Shift&lt;Btn1Up&gt; : and()
+</programlisting>
</listitem>
<listitem>
<para>
For double-click on Button1 Down with Shift, use this specification:
</para>
-<literallayout>
-<code>Shift&lt;Btn1Down&gt;(2) : the()</code>
-</literallayout>
+<programlisting>
+Shift&lt;Btn1Down&gt;(2) : the()
+</programlisting>
</listitem>
<listitem>
<para>
This is equivalent to the following line with appropriate timers set
between events:
</para>
-<literallayout>
-<code>Shift&lt;Btn1Down&gt;,Shift&lt;Btn1Up&gt;,Shift&lt;Btn1Down&gt; : the()</code>
-</literallayout>
+<programlisting>
+Shift&lt;Btn1Down&gt;,Shift&lt;Btn1Up&gt;,Shift&lt;Btn1Down&gt; : the()
+</programlisting>
</listitem>
<listitem>
<para>
Mouse motion is always discarded when it occurs between events in a table
where no motion event is specified:
</para>
-<literallayout>
-<code>&lt;Btn1Down&gt;,&lt;Btn1Up&gt; : slithy()</code>
-</literallayout>
+<programlisting>
+&lt;Btn1Down&gt;,&lt;Btn1Up&gt; : slithy()
+</programlisting>
<para>
This is taken, even if the pointer moves a bit between the down and
up events.
@@ -1096,10 +1096,10 @@ noninitial subsequence of another translation,
it is not taken if it occurs in the context of the longer sequence.
This occurs mostly in sequences like the following:
</para>
-<literallayout>
-<code>&lt;Btn1Down&gt;,&lt;Btn1Up&gt; : toves()\n\</code>
-<code>&lt;Btn1Up&gt; : did()</code>
-</literallayout>
+<programlisting>
+&lt;Btn1Down&gt;,&lt;Btn1Up&gt; : toves()\n\
+&lt;Btn1Up&gt; : did()
+</programlisting>
<para>
The second translation is taken only if the button release is not
preceded by a button press or if there are intervening events between the
@@ -1120,9 +1120,9 @@ For single click on Button1 Up with Shift and Meta, use this specification:
</para>
</listitem>
<listitem>
-<literallayout>
-<code>Shift Meta &lt;Btn1Down&gt;, Shift Meta&lt;Btn1Up&gt;: gyre()</code>
-</literallayout>
+<programlisting>
+Shift Meta &lt;Btn1Down&gt;, Shift Meta&lt;Btn1Up&gt;: gyre()
+</programlisting>
</listitem>
<listitem>
<para>
@@ -1132,9 +1132,9 @@ count in an event sequence. The actions will be invoked
on the <emphasis remap='I'>count</emphasis>-th click and each subsequent one arriving
within the multi-click time interval. For example:
</para>
-<literallayout>
-<code>Shift &lt;Btn1Up&gt;(2+) : and()</code>
-</literallayout>
+<programlisting>
+Shift &lt;Btn1Up&gt;(2+) : and()
+</programlisting>
</listitem>
<listitem>
<para>
@@ -1142,9 +1142,9 @@ To indicate
<function>EnterNotify</function>
with any modifiers, use this specification:
</para>
-<literallayout>
-<code>&lt;Enter&gt; : gimble()</code>
-</literallayout>
+<programlisting>
+&lt;Enter&gt; : gimble()
+</programlisting>
</listitem>
<listitem>
<para>
@@ -1152,9 +1152,9 @@ To indicate
<function>EnterNotify</function>
with no modifiers, use this specification:
</para>
-<literallayout>
-<code>None &lt;Enter&gt; : in()</code>
-</literallayout>
+<programlisting>
+None &lt;Enter&gt; : in()
+</programlisting>
</listitem>
<listitem>
<para>
@@ -1163,9 +1163,9 @@ To indicate
with Button1 Down and Button2 Up and "don't care" about
the other modifiers, use this specification:
</para>
-<literallayout>
-<code>Button1 ~Button2 &lt;Enter&gt; : the()</code>
-</literallayout>
+<programlisting>
+Button1 ~Button2 &lt;Enter&gt; : the()
+</programlisting>
</listitem>
<listitem>
<para>
@@ -1173,9 +1173,9 @@ To indicate
<function>EnterNotify</function>
with Button1 down and Button2 down exclusively, use this specification:
</para>
-<literallayout>
-<code>! Button1 Button2 &lt;Enter&gt; : wabe()</code>
-</literallayout>
+<programlisting>
+! Button1 Button2 &lt;Enter&gt; : wabe()
+</programlisting>
<para>
You do not need to use a tilde (~) with an exclamation point (!).
</para>