Skip to content

Commit

Permalink
Fix #3: Add 'Unidentified' value.
Browse files Browse the repository at this point in the history
  • Loading branch information
garykac committed Mar 6, 2016
1 parent 16232c1 commit f2896af
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 3 deletions.
14 changes: 13 additions & 1 deletion index-source.txt
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ url: http://www.w3.org/TR/uievents-key/#key-value-tables; type: dfn; spec: uieve
CODE WakeUp
END_CODE_TABLE

<h4 id="key-legacy">Legacy Keys and Non-Standard Keys</h4>
<h4 id="key-legacy">Legacy, Non-Standard and Special Keys</h4>

These keys are not found on modern standard keyboards. They are
listed here for reference purposes.
Expand Down Expand Up @@ -720,6 +720,18 @@ url: http://www.w3.org/TR/uievents-key/#key-value-tables; type: dfn; spec: uieve
CODE Katakana Use for dedicated KEYCAP{カタカナ} key found on some Japanese word processing keyboards.
END_CODE_TABLE

And finally, the following {{KeyboardEvent/code}} value should only
be used when the corresponding key does not correspond to any of the
{{KeyboardEvent/code}} values given elsewhere in this specification.
This value is appropriate for use with virtual keyboards that do not
have their keys arranged in a way that corresponds to those on a
physical keyboard.

BEGIN_CODE_TABLE special "List of special code values."
CODE Unidentified This value code should be used when no other
value given in this specification is appropriate.
END_CODE_TABLE

<h2 id="acknowledgements-contributors">Acknowledgements</h2>

Considerable thanks are due to the following participants of the WebApps
Expand Down
20 changes: 18 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ <h2 class="no-num no-toc no-ref" id="contents">Table of Contents</h2>
<li><a href="#key-numpad-section"><span class="secno">2.1.4</span> <span class="content">Numpad Section</span></a>
<li><a href="#key-function-section"><span class="secno">2.1.5</span> <span class="content">Function Section</span></a>
<li><a href="#key-media"><span class="secno">2.1.6</span> <span class="content">Media Keys</span></a>
<li><a href="#key-legacy"><span class="secno">2.1.7</span> <span class="content">Legacy Keys and Non-Standard Keys</span></a>
<li><a href="#key-legacy"><span class="secno">2.1.7</span> <span class="content">Legacy, Non-Standard and Special Keys</span></a>
</ol>
</ol>
<li><a href="#acknowledgements-contributors"><span class="secno">3</span> <span class="content">Acknowledgements</span></a>
Expand Down Expand Up @@ -969,7 +969,7 @@ <h4 class="heading settled" data-level="2.1.6" id="key-media"><span class="secno
<td class="code-table-code"><code class="code" id="code-WakeUp">"WakeUp"</code>
<td>
</table>
<h4 class="heading settled" data-level="2.1.7" id="key-legacy"><span class="secno">2.1.7. </span><span class="content">Legacy Keys and Non-Standard Keys</span><a class="self-link" href="#key-legacy"></a></h4>
<h4 class="heading settled" data-level="2.1.7" id="key-legacy"><span class="secno">2.1.7. </span><span class="content">Legacy, Non-Standard and Special Keys</span><a class="self-link" href="#key-legacy"></a></h4>
<p>These keys are not found on modern standard keyboards. They are
listed here for reference purposes.</p>
<table class="data-table full-width" id="table-key-code-legacy-modifier">
Expand Down Expand Up @@ -1058,6 +1058,22 @@ <h4 class="heading settled" data-level="2.1.7" id="key-legacy"><span class="secn
<td class="code-table-code"><code class="code" id="code-Katakana">"Katakana"</code>
<td>Use for dedicated <code class="keycap">カタカナ</code> key found on some Japanese word processing keyboards.
</table>
<p>And finally, the following <code class="idl"><a data-link-type="idl" href="http://www.w3.org/TR/uievents/#dom-keyboardevent-code">code</a></code> value should only
be used when the corresponding key does not correspond to any of the <code class="idl"><a data-link-type="idl" href="http://www.w3.org/TR/uievents/#dom-keyboardevent-code">code</a></code> values given elsewhere in this specification.
This value is appropriate for use with virtual keyboards that do not
have their keys arranged in a way that corresponds to those on a
physical keyboard.</p>
<table class="data-table full-width" id="table-key-code-special">
<caption>List of special code values.</caption>
<thead>
<tr>
<th style="width:20%"><code class="idl"><a data-link-type="idl" href="http://www.w3.org/TR/uievents/#interface-keyboardevent">KeyboardEvent</a></code>.<code class="idl"><a data-link-type="idl" href="http://www.w3.org/TR/uievents/#dom-keyboardevent-code">code</a></code>
<th style="width:80%">Notes (Non-normative)
<tbody>
<tr>
<td class="code-table-code"><code class="code" id="code-Unidentified">"Unidentified"</code>
<td>This value code should be used when no other value given in this specification is appropriate.
</table>
<h2 class="heading settled" data-level="3" id="acknowledgements-contributors"><span class="secno">3. </span><span class="content">Acknowledgements</span><a class="self-link" href="#acknowledgements-contributors"></a></h2>
<p>Considerable thanks are due to the following participants of the WebApps
Working Group for providing substantial material contributions in the
Expand Down

0 comments on commit f2896af

Please sign in to comment.