Browse Source

Add revision selector for m0110 editor

gh-pages
Jun Wako 8 years ago
parent
commit
cc8b4eedf1
3 changed files with 2294 additions and 1076 deletions
  1. 9
    4
      editor/m0110/m0110.html
  2. 2276
    1068
      editor/m0110/m0110.js
  3. 9
    4
      editor/m0110/m0110a.html

+ 9
- 4
editor/m0110/m0110.html View File

@@ -14,9 +14,14 @@

<body>
<h1 id="page-title">TMK Keymap Editor</h1>
<div align="right">for TMK Converter Rev.1(ATMega32U4)</div>
<div align="right">Converter Revision(See <a href="https://geekhack.org/index.php?topic=24965.msg470309#msg470309" target="_blank">this</a>):
<select id=revision>
<option value="rev1">Rev.1</option>
<option value="rev2" selected>Rev.2</option>
</select>
</div>

<h2>M0110 + M0120</h2>
<h2>Apple Macintosh M0110 + M0120</h2>
<div id="keyboard-pane" class="keyboard-pane">
<form>
<div id="layer_radio">
@@ -29,10 +34,10 @@
<input type="radio" name="radio" class="layer" id="layer-6"/><label for="layer-6">Layer 6</label>
<input type="radio" name="radio" class="layer" id="layer-7"/><label for="layer-7">Layer 7</label>
</div>
</form>
</form>


<!--
<!--
Keyboard keys
-->
<!-- TODO: how not to wrap keys? other than using pixel size width. -->

+ 2276
- 1068
editor/m0110/m0110.js
File diff suppressed because it is too large
View File


+ 9
- 4
editor/m0110/m0110a.html View File

@@ -14,9 +14,14 @@

<body>
<h1 id="page-title">TMK Keymap Editor</h1>
<div align="right">for TMK Converter Rev.1(ATMega32U4)</div>
<div align="right">Converter Revision(See <a href="https://geekhack.org/index.php?topic=24965.msg470309#msg470309" target="_blank">this</a>):
<select id=revision>
<option value="rev1">Rev.1</option>
<option value="rev2" selected>Rev.2</option>
</select>
</div>

<h2>M0110A</h2>
<h2>Apple Macintosh M0110A</h2>
<div id="keyboard-pane" class="keyboard-pane">
<form>
<div id="layer_radio">
@@ -29,10 +34,10 @@
<input type="radio" name="radio" class="layer" id="layer-6"/><label for="layer-6">Layer 6</label>
<input type="radio" name="radio" class="layer" id="layer-7"/><label for="layer-7">Layer 7</label>
</div>
</form>
</form>


<!--
<!--
Keyboard keys
-->
<!-- TODO: how not to wrap keys? other than using pixel size width. -->

Loading…
Cancel
Save