1
0
Fork 0
mirror of https://github.com/Reuh/ubiquitousse.git synced 2025-10-27 17:19:31 +00:00

input: fix mouse[N]

This commit is contained in:
Étienne Fildadut 2022-09-20 14:46:49 +09:00
parent 336f4f01a5
commit 0c765b315e
14 changed files with 28 additions and 23 deletions

View file

@ -273,8 +273,8 @@ end
<td class="summary">Text input: 1 if the text X was entered, 0 otherwise.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#mouse.N">mouse.N</a></td>
<td class="summary">Mouse input: 1 if the mouse button is down, 0 otherwise.</td>
<td class="name" nowrap><a href="#mouse">mouse</a></td>
<td class="summary">Mouse input: <code>mouse[N]</code> is 1 if the mouse button is down, 0 otherwise.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#mouse.x">mouse.x</a></td>
@ -1374,11 +1374,11 @@ player.fire.event:bind(<span class="string">"pressed"</span>, <span class="keywo
</dd>
<dt>
<a name = "mouse.N"></a>
<strong>mouse.N</strong>
<a name = "mouse"></a>
<strong>mouse</strong>
</dt>
<dd>
Mouse input: 1 if the mouse button is down, 0 otherwise.
Mouse input: <code>mouse[N]</code> is 1 if the mouse button is down, 0 otherwise.
N is either 1 for the primary mouse button, 2 for secondary or 3 for middle button.
</ul>
@ -1386,6 +1386,11 @@ player.fire.event:bind(<span class="string">"pressed"</span>, <span class="keywo
</ul>
</ul>
<ul>
<li><span class="parameter">mouse</span>
<code>mouse[N]</code>
</li>
</ul>
@ -1636,7 +1641,7 @@ player.fire.event:bind(<span class="string">"pressed"</span>, <span class="keywo
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i>
<i style="float:right;">Last updated 2022-09-20 13:52:55 </i>
<i style="float:right;">Last updated 2022-09-20 14:48:56 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>