1
0

Add meidia keys for Mac on m0110 editor

This commit is contained in:
Jun Wako 2016-01-11 15:32:55 +09:00
parent cc8b4eedf1
commit 25afef2340
3 changed files with 10 additions and 9 deletions

View File

@ -281,7 +281,7 @@ function source_output(keymaps) {
var output = ''; var output = '';
// fn actions // fn actions
output += "/*\n"; output += "/*\n";
output += " * Keymap for " + KEYBOARD_ID + "\n";; output += " * Keymap for " + KEYBOARD_DESC + "\n";;
output += " * generated by tmk keymap editor\n"; output += " * generated by tmk keymap editor\n";
output += " */\n"; output += " */\n";
output += "#include <stdint.h>\n"; output += "#include <stdint.h>\n";
@ -526,8 +526,8 @@ var keycodes = [
{id: 'WSTP', name: 'Web Stop', desc: 'WWW Stop'}, {id: 'WSTP', name: 'Web Stop', desc: 'WWW Stop'},
{id: 'WREF', name: 'Web Refresh', desc: 'WWW Refresh'}, {id: 'WREF', name: 'Web Refresh', desc: 'WWW Refresh'},
{id: 'WFAV', name: 'Web Favorites', desc: 'WWW Favorites'}, {id: 'WFAV', name: 'Web Favorites', desc: 'WWW Favorites'},
{id: 'RESERVED-187', name: 'RESERVED-187', desc: 'RESERVED-187'}, {id: 'MFFD', name: 'Fast Forward', desc: 'Media Fast Forward(Mac)'},
{id: 'RESERVED-188', name: 'RESERVED-188', desc: 'RESERVED-188'}, {id: 'MRWD', name: 'Rewind', desc: 'Media Rewind(Mac)'},
{id: 'RESERVED-189', name: 'RESERVED-189', desc: 'RESERVED-189'}, {id: 'RESERVED-189', name: 'RESERVED-189', desc: 'RESERVED-189'},
{id: 'RESERVED-190', name: 'RESERVED-190', desc: 'RESERVED-190'}, {id: 'RESERVED-190', name: 'RESERVED-190', desc: 'RESERVED-190'},
{id: 'RESERVED-191', name: 'RESERVED-191', desc: 'RESERVED-191'}, {id: 'RESERVED-191', name: 'RESERVED-191', desc: 'RESERVED-191'},

View File

@ -143,12 +143,13 @@
<div class="key spc100"></div> <div class="key spc100"></div>
<div id="key-a2" class="key btn200" tabindex="9"></div> <div id="key-a2" class="key btn200" tabindex="9"></div>
<div id="key-81" class="key" tabindex="9"></div> <div id="key-81" class="key" tabindex="9"></div>
<div id="key-nc94" class="key-nc"></div> <div id="key-nc94" class="key-nc">*3</div>
</div> </div>
</div> </div>
<p>*1: identical to Left Shift key</p> <p>*1: identical to Left Shift key</p>
<p>*2: identical to Left Alt(Opt) key</p> <p>*2: identical to Left Alt(Opt) key</p>
<p>*3: not existent</p>
</div> </div>
@ -418,6 +419,8 @@
<button class="action" id="code-174"></button> <button class="action" id="code-174"></button>
<button class="action" id="code-175"></button> <button class="action" id="code-175"></button>
<button class="action" id="code-176"></button> <button class="action" id="code-176"></button>
<button class="action" id="code-187"></button>
<button class="action" id="code-188"></button>
<br> <br>
Application:<br> Application:<br>
@ -437,8 +440,6 @@
<br> <br>
<!-- <!--
<button class="action" id="code-187"></button>
<button class="action" id="code-188"></button>
<button class="action" id="code-189"></button> <button class="action" id="code-189"></button>
<button class="action" id="code-190"></button> <button class="action" id="code-190"></button>
<button class="action" id="code-191"></button> <button class="action" id="code-191"></button>

View File

@ -144,7 +144,7 @@
<div class="key spc100"></div> <div class="key spc100"></div>
<div id="key-a2" class="key btn200" tabindex="9"></div> <div id="key-a2" class="key btn200" tabindex="9"></div>
<div id="key-81" class="key" tabindex="9"></div> <div id="key-81" class="key" tabindex="9"></div>
<div id="key-nc94" class="key-nc"></div> <div id="key-nc94" class="key-nc">*2</div>
</div> </div>
</div> </div>
@ -419,6 +419,8 @@
<button class="action" id="code-174"></button> <button class="action" id="code-174"></button>
<button class="action" id="code-175"></button> <button class="action" id="code-175"></button>
<button class="action" id="code-176"></button> <button class="action" id="code-176"></button>
<button class="action" id="code-187"></button>
<button class="action" id="code-188"></button>
<br> <br>
Application:<br> Application:<br>
@ -438,8 +440,6 @@
<br> <br>
<!-- <!--
<button class="action" id="code-187"></button>
<button class="action" id="code-188"></button>
<button class="action" id="code-189"></button> <button class="action" id="code-189"></button>
<button class="action" id="code-190"></button> <button class="action" id="code-190"></button>
<button class="action" id="code-191"></button> <button class="action" id="code-191"></button>