diff options
Diffstat (limited to 'specs/appB.xml')
-rw-r--r-- | specs/appB.xml | 108 |
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 <event> detail</code> -<code>Any modifiers: <event> detail</code> -<code>Only these modifiers: ! mod1 mod2 <event> detail</code> -<code>These modifiers and any others: mod1 mod2 <event> detail</code> -</literallayout> +<programlisting> +No modifiers: None <event> detail +Any modifiers: <event> detail +Only these modifiers: ! mod1 mod2 <event> detail +These modifiers and any others: mod1 mod2 <event> 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 <Btn1Down> : twas()\n\</code> -<code> <Btn1Down> : brillig()</code> -</literallayout> +<programlisting> + Shift <Btn1Down> : twas()\n\ + <Btn1Down> : brillig() +</programlisting> </listitem> <listitem> <para> For double-click on Button1 Up with Shift, use this specification: </para> -<literallayout> -<code>Shift<Btn1Up>(2) : and()</code> -</literallayout> +<programlisting> +Shift<Btn1Up>(2) : and() +</programlisting> </listitem> <listitem> <para> This is equivalent to the following line with appropriate timers set between events: </para> -<literallayout> -<code>Shift<Btn1Down>,Shift<Btn1Up>,Shift<Btn1Down>,Shift<Btn1Up> : and()</code> -</literallayout> +<programlisting> +Shift<Btn1Down>,Shift<Btn1Up>,Shift<Btn1Down>,Shift<Btn1Up> : and() +</programlisting> </listitem> <listitem> <para> For double-click on Button1 Down with Shift, use this specification: </para> -<literallayout> -<code>Shift<Btn1Down>(2) : the()</code> -</literallayout> +<programlisting> +Shift<Btn1Down>(2) : the() +</programlisting> </listitem> <listitem> <para> This is equivalent to the following line with appropriate timers set between events: </para> -<literallayout> -<code>Shift<Btn1Down>,Shift<Btn1Up>,Shift<Btn1Down> : the()</code> -</literallayout> +<programlisting> +Shift<Btn1Down>,Shift<Btn1Up>,Shift<Btn1Down> : 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><Btn1Down>,<Btn1Up> : slithy()</code> -</literallayout> +<programlisting> +<Btn1Down>,<Btn1Up> : 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><Btn1Down>,<Btn1Up> : toves()\n\</code> -<code><Btn1Up> : did()</code> -</literallayout> +<programlisting> +<Btn1Down>,<Btn1Up> : toves()\n\ +<Btn1Up> : 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 <Btn1Down>, Shift Meta<Btn1Up>: gyre()</code> -</literallayout> +<programlisting> +Shift Meta <Btn1Down>, Shift Meta<Btn1Up>: 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 <Btn1Up>(2+) : and()</code> -</literallayout> +<programlisting> +Shift <Btn1Up>(2+) : and() +</programlisting> </listitem> <listitem> <para> @@ -1142,9 +1142,9 @@ To indicate <function>EnterNotify</function> with any modifiers, use this specification: </para> -<literallayout> -<code><Enter> : gimble()</code> -</literallayout> +<programlisting> +<Enter> : gimble() +</programlisting> </listitem> <listitem> <para> @@ -1152,9 +1152,9 @@ To indicate <function>EnterNotify</function> with no modifiers, use this specification: </para> -<literallayout> -<code>None <Enter> : in()</code> -</literallayout> +<programlisting> +None <Enter> : 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 <Enter> : the()</code> -</literallayout> +<programlisting> +Button1 ~Button2 <Enter> : 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 <Enter> : wabe()</code> -</literallayout> +<programlisting> +! Button1 Button2 <Enter> : wabe() +</programlisting> <para> You do not need to use a tilde (~) with an exclamation point (!). </para> |