Refine hhkb keymap editor
This commit is contained in:
parent
895be29db4
commit
e2f7283525
File diff suppressed because it is too large
Load Diff
@ -9,106 +9,6 @@
|
||||
<link href='keyboard.css' rel='stylesheet' type='text/css'>
|
||||
|
||||
<script>
|
||||
/* HHKB pro keymap editor
|
||||
*
|
||||
* Key matrix:
|
||||
* COL 0 1 2 3 4 5 6 7
|
||||
* ROW,---------------------------------------------------------------
|
||||
* 0| 2 q w s a z x c
|
||||
* 1| 3 4 r e d f v b
|
||||
* 2| 5 6 y t g h n _NONE_
|
||||
* 3| 1 Esc Tab Control LShift LAlt LMeta Space
|
||||
* 4| 7 8 u i k j m _NONE_
|
||||
* 5| \ ` Delete Return Fn RShift RAlt RMeta
|
||||
* 6| 9 0 o p ; l , _NONE_
|
||||
* 7| - + ] [ ' / . _NONE_
|
||||
*
|
||||
* Default keymap
|
||||
* ,-----------------------------------------------------------.
|
||||
* |Esc| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =| \| `|
|
||||
* |-----------------------------------------------------------|
|
||||
* |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]|Backs|
|
||||
* |-----------------------------------------------------------|
|
||||
* |Contro| A| S| D| F| G| H| J| K| L| ;| '|Enter |
|
||||
* |-----------------------------------------------------------|
|
||||
* |Shift | Z| X| C| V| B| N| M| ,| .| /|Shift |Fn |
|
||||
* `-----------------------------------------------------------'
|
||||
* |Gui|Alt | Space |Alt |Gui|
|
||||
* `-------------------------------------------'
|
||||
* ,-----------------------------------------------------------.
|
||||
* |Esc| F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11|F12|Ins|Del|
|
||||
* |-----------------------------------------------------------|
|
||||
* |Caps | | | | | | | |Psc|Slk|Pus|Up | |Backs|
|
||||
* |-----------------------------------------------------------|
|
||||
* |Contro|VoD|VoU|Mut| | | *| /|Hom|PgU|Lef|Rig|Enter |
|
||||
* |-----------------------------------------------------------|
|
||||
* |Shift | | | | | | +| -|End|PgD|Dow|Shift |Fn |
|
||||
* `-----------------------------------------------------------'
|
||||
* |Gui|Alt | Space |Alt |Gui|
|
||||
* `-------------------------------------------'
|
||||
*/
|
||||
var no_map = function() { return [
|
||||
[0,0,0,0,0,0,0,0],
|
||||
[0,0,0,0,0,0,0,0],
|
||||
[0,0,0,0,0,0,0,0],
|
||||
[0,0,0,0,0,0,0,0],
|
||||
[0,0,0,0,0,0,0,0],
|
||||
[0,0,0,0,0,0,0,0],
|
||||
[0,0,0,0,0,0,0,0],
|
||||
[0,0,0,0,0,0,0,0],
|
||||
]; };
|
||||
var transparent_map = function() { return [
|
||||
[1,1,1,1,1,1,1,1],
|
||||
[1,1,1,1,1,1,1,1],
|
||||
[1,1,1,1,1,1,1,1],
|
||||
[1,1,1,1,1,1,1,1],
|
||||
[1,1,1,1,1,1,1,1],
|
||||
[1,1,1,1,1,1,1,1],
|
||||
[1,1,1,1,1,1,1,1],
|
||||
[1,1,1,1,1,1,1,1],
|
||||
]; };
|
||||
|
||||
// default keymap
|
||||
var keymaps = [
|
||||
[
|
||||
[ 0x1f,0x14,0x1a,0x16,0x04,0x1d,0x1b,0x06, ],
|
||||
[ 0x20,0x21,0x15,0x08,0x07,0x09,0x19,0x05, ],
|
||||
[ 0x22,0x23,0x1c,0x17,0x0a,0x0b,0x11,0x00, ],
|
||||
[ 0x1e,0x29,0x2b,0xe0,0xe1,0xe3,0xe2,0x2c, ],
|
||||
[ 0x24,0x25,0x18,0x0c,0x0e,0x0d,0x10,0x00, ],
|
||||
[ 0x31,0x35,0x2a,0x28,0xc1,0xe5,0xe7,0xe6, ],
|
||||
[ 0x26,0x27,0x12,0x13,0x33,0x0f,0x36,0x00, ],
|
||||
[ 0x2d,0x2e,0x30,0x2f,0x34,0x38,0x37,0x00, ],
|
||||
],
|
||||
[
|
||||
[ 0x3b,0x00,0x00,0xa9,0xaa,0x00,0x00,0x00, ],
|
||||
[ 0x3c,0x3d,0x00,0x00,0xa8,0x00,0x00,0x00, ],
|
||||
[ 0x3e,0x3f,0x00,0x00,0x00,0x55,0x57,0x00, ],
|
||||
[ 0x3a,0x01,0x39,0x01,0x01,0x01,0x01,0x01, ],
|
||||
[ 0x40,0x41,0x00,0x46,0x4a,0x54,0x56,0x00, ],
|
||||
[ 0x49,0x4c,0x01,0x58,0x01,0x01,0x01,0x01, ],
|
||||
[ 0x42,0x43,0x47,0x48,0x50,0x4b,0x4d,0x00, ],
|
||||
[ 0x44,0x45,0x00,0x52,0x4f,0x51,0x4e,0x00, ]
|
||||
],
|
||||
no_map(),
|
||||
no_map(),
|
||||
|
||||
/*
|
||||
no_map(),
|
||||
no_map(),
|
||||
no_map(),
|
||||
no_map(),
|
||||
*/
|
||||
];
|
||||
|
||||
// TODO: define proper Fn actions: 32actions*2bytes
|
||||
var fn_actions = [
|
||||
0xF1,0xA0,0xF1,0xA1,0xF1,0xA2,0xF1,0xA3,0x01,0x8A,0x02,0x8A,0x04,0x8A,0x08,0x8A,
|
||||
0xF0,0xA0,0xF0,0xA1,0xF0,0xA2,0xF0,0xA3,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
];
|
||||
|
||||
// key id under editing
|
||||
var editing_key;
|
||||
// layer under editing
|
||||
@ -315,12 +215,10 @@ See <a href="https://github.com/tmk/tmk_keyboard/blob/master/doc/keymap.md" targ
|
||||
<input type="radio" name="radio" class="layer" id="layer-1"/><label for="layer-1">Layer 1</label>
|
||||
<input type="radio" name="radio" class="layer" id="layer-2"/><label for="layer-2">Layer 2</label>
|
||||
<input type="radio" name="radio" class="layer" id="layer-3"/><label for="layer-3">Layer 3</label>
|
||||
<!--
|
||||
<input type="radio" name="radio" class="layer" id="layer-4"/><label for="layer-4">Layer 4</label>
|
||||
<input type="radio" name="radio" class="layer" id="layer-5"/><label for="layer-5">Layer 5</label>
|
||||
<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>
|
||||
|
||||
@ -415,18 +313,19 @@ See <a href="https://github.com/tmk/tmk_keyboard/blob/master/doc/keymap.md" targ
|
||||
<h2>Keycodes</h2>
|
||||
<div id="keycode_tabs" class="keycode_tabs">
|
||||
<ul>
|
||||
<li><a href="#tabs-1">Main</a></li>
|
||||
<li><a href="#tabs-2">Function and Navigation</a></li>
|
||||
<li><a href="#tabs-3">Keypad</a></li>
|
||||
<li><a href="#tabs-4">Media and System</a></li>
|
||||
<li><a href="#tabs-5">Layer</a></li>
|
||||
<li><a href="#tabs-main">Main</a></li>
|
||||
<li><a href="#tabs-other">Function and keypad</a></li>
|
||||
<li><a href="#tabs-special">System, Media and Mouse key</a></li>
|
||||
<li><a href="#tabs-layer">Layer Switching and etc.</a></li>
|
||||
</ul>
|
||||
|
||||
<!-- Main -->
|
||||
<div id="tabs-1">
|
||||
<div id="tabs-main">
|
||||
<button class="action" id="code-0">NO</button>
|
||||
<button class="action" id="code-1">TRNS</button>
|
||||
<br/>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
<button class="action" id="code-4" title="A">A</button>
|
||||
<button class="action" id="code-5" title="B">B</button>
|
||||
<button class="action" id="code-6" title="C">C</button>
|
||||
@ -440,6 +339,7 @@ See <a href="https://github.com/tmk/tmk_keyboard/blob/master/doc/keymap.md" targ
|
||||
<button class="action" id="code-14" title="K">K</button>
|
||||
<button class="action" id="code-15" title="L">L</button>
|
||||
<button class="action" id="code-16" title="M">M</button>
|
||||
<br>
|
||||
<button class="action" id="code-17" title="N">N</button>
|
||||
<button class="action" id="code-18" title="O">O</button>
|
||||
<button class="action" id="code-19" title="P">P</button>
|
||||
@ -453,7 +353,8 @@ See <a href="https://github.com/tmk/tmk_keyboard/blob/master/doc/keymap.md" targ
|
||||
<button class="action" id="code-27" title="X">X</button>
|
||||
<button class="action" id="code-28" title="Y">Y</button>
|
||||
<button class="action" id="code-29" title="Z">Z</button>
|
||||
<br/>
|
||||
<br>
|
||||
<br>
|
||||
<button class="action" id="code-30" title="1">1</button>
|
||||
<button class="action" id="code-31" title="2">2</button>
|
||||
<button class="action" id="code-32" title="3">3</button>
|
||||
@ -464,7 +365,8 @@ See <a href="https://github.com/tmk/tmk_keyboard/blob/master/doc/keymap.md" targ
|
||||
<button class="action" id="code-37" title="8">8</button>
|
||||
<button class="action" id="code-38" title="9">9</button>
|
||||
<button class="action" id="code-39" title="0">0</button>
|
||||
<br/>
|
||||
<br>
|
||||
<br>
|
||||
<button class="action" id="code-45" title="MINUS">MINUS</button>
|
||||
<button class="action" id="code-46" title="EQUAL">EQUAL</button>
|
||||
<button class="action" id="code-47" title="LBRACKET">LBRACKET</button>
|
||||
@ -476,7 +378,8 @@ See <a href="https://github.com/tmk/tmk_keyboard/blob/master/doc/keymap.md" targ
|
||||
<button class="action" id="code-54" title="COMMA">COMMA</button>
|
||||
<button class="action" id="code-55" title="DOT">DOT</button>
|
||||
<button class="action" id="code-56" title="SLASH">SLASH</button>
|
||||
<br/>
|
||||
<br>
|
||||
<br>
|
||||
<button class="action" id="code-40" title="ENTER">ENTER</button>
|
||||
<button class="action" id="code-41" title="ESCAPE">ESCAPE</button>
|
||||
<button class="action" id="code-42" title="BackSpace">BSPACE</button>
|
||||
@ -484,11 +387,10 @@ See <a href="https://github.com/tmk/tmk_keyboard/blob/master/doc/keymap.md" targ
|
||||
<button class="action" id="code-44" title="SPACE">SPACE</button>
|
||||
<button class="action" id="code-57" title="CAPSLOCK">CAPSLOCK</button>
|
||||
<button class="action" id="code-101" title="APPLICATION">APPLICATION</button>
|
||||
<br/>
|
||||
<button class="action" id="code-50" title="NONUS_HASH">NONUS_HASH</button>
|
||||
<button class="action" id="code-100" title="NONUS_BSLASH">NONUS_BSLASH</button>
|
||||
<br/>
|
||||
Modifier:
|
||||
<br>
|
||||
<br>
|
||||
<button class="action" id="code-224" title="LCTRL">LCTRL</button>
|
||||
<button class="action" id="code-225" title="LSHIFT">LSHIFT</button>
|
||||
<button class="action" id="code-226" title="LALT">LALT</button>
|
||||
@ -501,7 +403,11 @@ See <a href="https://github.com/tmk/tmk_keyboard/blob/master/doc/keymap.md" targ
|
||||
</div>
|
||||
|
||||
<!-- Function and Navigation -->
|
||||
<div id="tabs-2">
|
||||
<div id="tabs-other">
|
||||
<button class="action" id="code-0">NO</button>
|
||||
<button class="action" id="code-1">TRNS</button>
|
||||
<br>
|
||||
<br>
|
||||
<button class="action" id="code-58" title="F1">F1</button>
|
||||
<button class="action" id="code-59" title="F2">F2</button>
|
||||
<button class="action" id="code-60" title="F3">F3</button>
|
||||
@ -514,7 +420,7 @@ See <a href="https://github.com/tmk/tmk_keyboard/blob/master/doc/keymap.md" targ
|
||||
<button class="action" id="code-67" title="F10">F10</button>
|
||||
<button class="action" id="code-68" title="F11">F11</button>
|
||||
<button class="action" id="code-69" title="F12">F12</button>
|
||||
<br/>
|
||||
<br>
|
||||
<button class="action" id="code-104" title="F13">F13</button>
|
||||
<button class="action" id="code-105" title="F14">F14</button>
|
||||
<button class="action" id="code-106" title="F15">F15</button>
|
||||
@ -527,28 +433,26 @@ See <a href="https://github.com/tmk/tmk_keyboard/blob/master/doc/keymap.md" targ
|
||||
<button class="action" id="code-113" title="F22">F22</button>
|
||||
<button class="action" id="code-114" title="F23">F23</button>
|
||||
<button class="action" id="code-115" title="F24">F24</button>
|
||||
<br/>
|
||||
<br/>
|
||||
<br>
|
||||
<br>
|
||||
<button class="action" id="code-70" title="PSCREEN">PSCREEN</button>
|
||||
<button class="action" id="code-71" title="SCROLLLOCK">SCROLLLOCK</button>
|
||||
<button class="action" id="code-72" title="PAUSE">PAUSE</button>
|
||||
<br/>
|
||||
<br>
|
||||
<br>
|
||||
<button class="action" id="code-73" title="INSERT">INSERT</button>
|
||||
<button class="action" id="code-74" title="HOME">HOME</button>
|
||||
<button class="action" id="code-75" title="PGUP">PGUP</button>
|
||||
<br/>
|
||||
<button class="action" id="code-76" title="DELETE">DELETE</button>
|
||||
<button class="action" id="code-77" title="END">END</button>
|
||||
<button class="action" id="code-78" title="PGDOWN">PGDOWN</button>
|
||||
<br/>
|
||||
<button class="action" id="code-80" title="LEFT">LEFT</button>
|
||||
<button class="action" id="code-81" title="DOWN">DOWN</button>
|
||||
<button class="action" id="code-82" title="UP">UP</button>
|
||||
<button class="action" id="code-79" title="RIGHT">RIGHT</button>
|
||||
</div>
|
||||
|
||||
<!-- Keypad -->
|
||||
<div id="tabs-3">
|
||||
<br>
|
||||
<br>
|
||||
Keypad:<br>
|
||||
<button class="action" id="code-83" title="NUMLOCK">NUMLOCK</button>
|
||||
<button class="action" id="code-84" title="KP_SLASH">KP_SLASH</button>
|
||||
<button class="action" id="code-85" title="KP_ASTERISK">KP_ASTERISK</button>
|
||||
@ -558,8 +462,10 @@ See <a href="https://github.com/tmk/tmk_keyboard/blob/master/doc/keymap.md" targ
|
||||
<button class="action" id="code-99" title="KP_DOT">KP_DOT</button>
|
||||
<button class="action" id="code-103" title="KP_EQUAL">KP_EQUAL</button>
|
||||
<button class="action" id="code-133" title="KP_COMMA">KP_COMMA</button>
|
||||
<!--
|
||||
<button class="action" id="code-134" title="KP_EQUAL_AS400">KP_EQUAL_AS400</button>
|
||||
<br/>
|
||||
-->
|
||||
<br>
|
||||
<button class="action" id="code-89" title="KP_1">KP_1</button>
|
||||
<button class="action" id="code-90" title="KP_2">KP_2</button>
|
||||
<button class="action" id="code-91" title="KP_3">KP_3</button>
|
||||
@ -570,25 +476,33 @@ See <a href="https://github.com/tmk/tmk_keyboard/blob/master/doc/keymap.md" targ
|
||||
<button class="action" id="code-96" title="KP_8">KP_8</button>
|
||||
<button class="action" id="code-97" title="KP_9">KP_9</button>
|
||||
<button class="action" id="code-98" title="KP_0">KP_0</button>
|
||||
<br/>
|
||||
<br/>
|
||||
Japanese:
|
||||
<br>
|
||||
<br>
|
||||
Japanese:<br>
|
||||
<button class="action" id="code-135" title="INT1">INT1</button>
|
||||
<button class="action" id="code-136" title="INT2">INT2</button>
|
||||
<button class="action" id="code-137" title="INT3">INT3</button>
|
||||
<button class="action" id="code-138" title="INT4">INT4</button>
|
||||
<button class="action" id="code-139" title="INT5">INT5</button>
|
||||
<br>
|
||||
<br>
|
||||
Korean:<br>
|
||||
<button class="action" id="code-144" title="LANG1">LANG1</button>
|
||||
<button class="action" id="code-145" title="LANG2">LANG2</button>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
Mechanical Locking key support:<br>
|
||||
<button class="action" id="code-130" title="LOCKING_CAPS">LOCKING_CAPS</button>
|
||||
<button class="action" id="code-131" title="LOCKING_NUM">LOCKING_NUM</button>
|
||||
<button class="action" id="code-132" title="LOCKING_SCROLL">LOCKING_SCROLL</button>
|
||||
|
||||
<!--
|
||||
<br/>
|
||||
<button class="action" id="code-140" title="INT6">INT6</button>
|
||||
<button class="action" id="code-141" title="INT7">INT7</button>
|
||||
<button class="action" id="code-142" title="INT8">INT8</button>
|
||||
<button class="action" id="code-143" title="INT9">INT9</button>
|
||||
-->
|
||||
<!--
|
||||
<br/>
|
||||
<button class="action" id="code-144" title="LANG1">LANG1</button>
|
||||
<button class="action" id="code-145" title="LANG2">LANG2</button>
|
||||
|
||||
<button class="action" id="code-146" title="LANG3">LANG3</button>
|
||||
<button class="action" id="code-147" title="LANG4">LANG4</button>
|
||||
<button class="action" id="code-148" title="LANG5">LANG5</button>
|
||||
@ -599,8 +513,6 @@ See <a href="https://github.com/tmk/tmk_keyboard/blob/master/doc/keymap.md" targ
|
||||
-->
|
||||
|
||||
<!--
|
||||
<br/>
|
||||
<br/>
|
||||
<button class="action" id="code-116" title="EXECUTE">EXECUTE</button>
|
||||
<button class="action" id="code-117" title="HELP">HELP</button>
|
||||
<button class="action" id="code-118" title="MENU">MENU</button>
|
||||
@ -618,7 +530,6 @@ See <a href="https://github.com/tmk/tmk_keyboard/blob/master/doc/keymap.md" targ
|
||||
-->
|
||||
|
||||
<!--
|
||||
<br/>
|
||||
<button class="action" id="code-102" title="POWER">POWER</button>
|
||||
<button class="action" id="code-153" title="ALT_ERASE">ALT_ERASE</button>
|
||||
<button class="action" id="code-154" title="SYSREQ">SYSREQ</button>
|
||||
@ -635,29 +546,40 @@ See <a href="https://github.com/tmk/tmk_keyboard/blob/master/doc/keymap.md" targ
|
||||
-->
|
||||
</div>
|
||||
|
||||
<!-- Media and System -->
|
||||
<div id="tabs-4">
|
||||
<!-- Special key: System, Media and Mouse key -->
|
||||
<div id="tabs-special">
|
||||
<button class="action" id="code-0">NO</button>
|
||||
<button class="action" id="code-1">TRNS</button>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
System:<br>
|
||||
<button class="action" id="code-165"></button>
|
||||
<button class="action" id="code-166"></button>
|
||||
<button class="action" id="code-167"></button>
|
||||
<br>
|
||||
|
||||
<br/>
|
||||
<br/>
|
||||
Volume:<br>
|
||||
<button class="action" id="code-168"></button>
|
||||
<button class="action" id="code-169"></button>
|
||||
<button class="action" id="code-170"></button>
|
||||
<br>
|
||||
|
||||
Media:<br>
|
||||
<button class="action" id="code-171"></button>
|
||||
<button class="action" id="code-172"></button>
|
||||
<button class="action" id="code-173"></button>
|
||||
<button class="action" id="code-174"></button>
|
||||
<button class="action" id="code-175"></button>
|
||||
<button class="action" id="code-176"></button>
|
||||
<br>
|
||||
|
||||
Application:<br>
|
||||
<button class="action" id="code-177"></button>
|
||||
<button class="action" id="code-178"></button>
|
||||
<button class="action" id="code-179"></button>
|
||||
|
||||
<br/>
|
||||
<br/>
|
||||
<br>
|
||||
Web:<br>
|
||||
<button class="action" id="code-180"></button>
|
||||
<button class="action" id="code-181"></button>
|
||||
<button class="action" id="code-182"></button>
|
||||
@ -665,6 +587,8 @@ See <a href="https://github.com/tmk/tmk_keyboard/blob/master/doc/keymap.md" targ
|
||||
<button class="action" id="code-184"></button>
|
||||
<button class="action" id="code-185"></button>
|
||||
<button class="action" id="code-186"></button>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
<!--
|
||||
<button class="action" id="code-187"></button>
|
||||
@ -674,62 +598,92 @@ See <a href="https://github.com/tmk/tmk_keyboard/blob/master/doc/keymap.md" targ
|
||||
<button class="action" id="code-191"></button>
|
||||
-->
|
||||
|
||||
<br/>
|
||||
<br/>
|
||||
<button class="action" id="code-130" title="LOCKING_CAPS">LOCKING_CAPS</button>
|
||||
<button class="action" id="code-131" title="LOCKING_NUM">LOCKING_NUM</button>
|
||||
<button class="action" id="code-132" title="LOCKING_SCROLL">LOCKING_SCROLL</button>
|
||||
Mouse key:<br>
|
||||
<button class="action" id="code-240"></button>
|
||||
<button class="action" id="code-241"></button>
|
||||
<button class="action" id="code-242"></button>
|
||||
<button class="action" id="code-243"></button>
|
||||
<br>
|
||||
<br>
|
||||
<button class="action" id="code-244"></button>
|
||||
<button class="action" id="code-245"></button>
|
||||
<button class="action" id="code-246"></button>
|
||||
<button class="action" id="code-247"></button>
|
||||
<button class="action" id="code-248"></button>
|
||||
<br>
|
||||
<br>
|
||||
<button class="action" id="code-249"></button>
|
||||
<button class="action" id="code-250"></button>
|
||||
<button class="action" id="code-251"></button>
|
||||
<button class="action" id="code-252"></button>
|
||||
<br>
|
||||
<br>
|
||||
<button class="action" id="code-253"></button>
|
||||
<button class="action" id="code-254"></button>
|
||||
<button class="action" id="code-255"></button>
|
||||
<br>
|
||||
</div>
|
||||
|
||||
<!-- Layer -->
|
||||
<div id="tabs-5">
|
||||
<div id="tabs-layer">
|
||||
<button class="action" id="code-0">NO</button>
|
||||
<button class="action" id="code-1">TRNS</button>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
<!-- TODO: layer actions -->
|
||||
<!-- FN0-31 -->
|
||||
<h3>Layer Switch</h3>
|
||||
Momentary:
|
||||
Layer Switch Momentary:<br>
|
||||
<button class="action" id="code-192"></button>
|
||||
<button class="action" id="code-193"></button>
|
||||
<button class="action" id="code-194"></button>
|
||||
<button class="action" id="code-195"></button>
|
||||
<br/>
|
||||
Toggle:
|
||||
<button class="action" id="code-196"></button>
|
||||
<button class="action" id="code-197"></button>
|
||||
<button class="action" id="code-198"></button>
|
||||
<br>
|
||||
Layer Switch Toggle:<br>
|
||||
<button class="action" id="code-199"></button>
|
||||
<br/>
|
||||
Momentary with Tap Toggle:
|
||||
<button class="action" id="code-200"></button>
|
||||
<button class="action" id="code-201"></button>
|
||||
<br>
|
||||
Layer Switch with Tap Toggle:<br>
|
||||
<button class="action" id="code-202"></button>
|
||||
<button class="action" id="code-203"></button>
|
||||
<br/>
|
||||
<p>See <a href="https://github.com/tmk/tmk_keyboard/blob/master/doc/keymap.md#3-layer-switching-example" target="_blank">this</a> for detail of layer switching.</p>
|
||||
|
||||
<!--
|
||||
<button class="action" id="code-204"></button>
|
||||
<br>
|
||||
Layer switch with Tap key:<br>
|
||||
<button class="action" id="code-205"></button>
|
||||
<button class="action" id="code-206"></button>
|
||||
<button class="action" id="code-207"></button>
|
||||
<br/>
|
||||
<button class="action" id="code-208"></button>
|
||||
<button class="action" id="code-209"></button>
|
||||
<button class="action" id="code-210"></button>
|
||||
<button class="action" id="code-211"></button>
|
||||
<br>
|
||||
<br>
|
||||
Modifier with special function:<br>
|
||||
<button class="action" id="code-212"></button>
|
||||
<button class="action" id="code-213"></button>
|
||||
<button class="action" id="code-214"></button>
|
||||
<button class="action" id="code-215"></button>
|
||||
<br/>
|
||||
<br>
|
||||
<button class="action" id="code-216"></button>
|
||||
<button class="action" id="code-217"></button>
|
||||
<button class="action" id="code-218"></button>
|
||||
<br>
|
||||
<button class="action" id="code-219"></button>
|
||||
<button class="action" id="code-220"></button>
|
||||
<button class="action" id="code-221"></button>
|
||||
<br>
|
||||
<button class="action" id="code-222"></button>
|
||||
<button class="action" id="code-223"></button>
|
||||
-->
|
||||
<br>
|
||||
<p>
|
||||
See <a href="https://github.com/tmk/tmk_keyboard/blob/master/doc/keymap.md#3-layer-switching-example" target="_blank">this</a> for detail of Layer Switching.<br>
|
||||
See <a href="https://github.com/tmk/tmk_keyboard/blob/master/doc/keymap.md#41-tap-key" target="_blank">this</a> for Tap key(Dual-role Modifier).<br>
|
||||
See <a href="https://github.com/tmk/tmk_keyboard/blob/master/doc/keymap.md#43-one-shot-modifier" target="_blank">this</a> for OneShot Modifier.</p>
|
||||
<br>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -743,7 +697,7 @@ See <a href="https://github.com/tmk/tmk_keyboard/blob/master/doc/keymap.md" targ
|
||||
<button id="keymap-share" title="Share">Share</button>
|
||||
<button id="shorten-url" title="Shorten">Shorten</button>
|
||||
|
||||
<h3>Keymap Output:</h3>
|
||||
<h3>Keymap Output(for debug):</h3>
|
||||
<textarea id="keymap-output" rows="20" cols="80"></textarea>
|
||||
<br/>
|
||||
<button id="keymap-json-generate" title="generate JSON">JSON</button>
|
||||
|
@ -1,3 +1,7 @@
|
||||
/*
|
||||
* TMK keymap editor
|
||||
*/
|
||||
|
||||
/*
|
||||
* Share URL
|
||||
*/
|
||||
@ -85,7 +89,7 @@ function source_output(keymaps) {
|
||||
var output = '';
|
||||
// fn actions
|
||||
output += "/*\n";
|
||||
output += " * Keymap for PFU HHKB Pro\n";
|
||||
output += " * Keymap for " + KEYBOARD_ID + "\n";;
|
||||
output += " * generated by tmk keymap editor\n";
|
||||
output += " */\n";
|
||||
output += "#include <stdint.h>\n";
|
||||
@ -101,18 +105,38 @@ function source_output(keymaps) {
|
||||
output += "#else\n";
|
||||
output += "static const uint16_t fn_actions[] PROGMEM = {\n";
|
||||
output += "#endif\n";
|
||||
output += " [0] = ACTION_LAYER_MOMENTARY(0), \n";
|
||||
output += " [1] = ACTION_LAYER_MOMENTARY(1), \n";
|
||||
output += " [2] = ACTION_LAYER_MOMENTARY(2), \n";
|
||||
output += " [3] = ACTION_LAYER_MOMENTARY(3), \n";
|
||||
output += " [4] = ACTION_LAYER_TOGGLE(0), \n";
|
||||
output += " [5] = ACTION_LAYER_TOGGLE(1), \n";
|
||||
output += " [6] = ACTION_LAYER_TOGGLE(2), \n";
|
||||
output += " [7] = ACTION_LAYER_TOGGLE(3), \n";
|
||||
output += " [8] = ACTION_LAYER_TAP_TOGGLE(0), \n";
|
||||
output += " [9] = ACTION_LAYER_TAP_TOGGLE(1), \n";
|
||||
output += " [10] = ACTION_LAYER_TAP_TOGGLE(2), \n";
|
||||
output += " [11] = ACTION_LAYER_TAP_TOGGLE(3), \n";
|
||||
output += " [0] = ACTION_LAYER_MOMENTARY(1),\n";
|
||||
output += " [1] = ACTION_LAYER_MOMENTARY(2),\n";
|
||||
output += " [2] = ACTION_LAYER_MOMENTARY(3),\n";
|
||||
output += " [3] = ACTION_LAYER_MOMENTARY(4),\n";
|
||||
output += " [4] = ACTION_LAYER_MOMENTARY(5),\n";
|
||||
output += " [5] = ACTION_LAYER_MOMENTARY(6),\n";
|
||||
output += " [6] = ACTION_LAYER_MOMENTARY(7),\n";
|
||||
output += " [7] = ACTION_LAYER_TOGGLE(1),\n";
|
||||
output += " [8] = ACTION_LAYER_TOGGLE(2),\n";
|
||||
output += " [9] = ACTION_LAYER_TOGGLE(3),\n";
|
||||
output += " [10] = ACTION_LAYER_TAP_TOGGLE(1),\n";
|
||||
output += " [11] = ACTION_LAYER_TAP_TOGGLE(2),\n";
|
||||
output += " [12] = ACTION_LAYER_TAP_TOGGLE(3),\n";
|
||||
output += " [13] = ACTION_LAYER_TAP_KEY(1, KC_A),\n";
|
||||
output += " [14] = ACTION_LAYER_TAP_KEY(2, KC_F),\n";
|
||||
output += " [15] = ACTION_LAYER_TAP_KEY(3, KC_J),\n";
|
||||
output += " [16] = ACTION_LAYER_TAP_KEY(4, KC_SPACE),\n";
|
||||
output += " [17] = ACTION_LAYER_TAP_KEY(5, KC_SCOLON),\n";
|
||||
output += " [18] = ACTION_LAYER_TAP_KEY(6, KC_QUOTE),\n";
|
||||
output += " [19] = ACTION_LAYER_TAP_KEY(7, KC_SLASH),\n";
|
||||
output += " [20] = ACTION_MODS_TAP_KEY(MOD_LSFT, KC_SPACE),\n";
|
||||
output += " [21] = ACTION_MODS_TAP_KEY(MOD_LCTL, KC_SPACE),\n";
|
||||
output += " [22] = ACTION_MODS_TAP_KEY(MOD_RCTL, KC_QUOTE),\n";
|
||||
output += " [23] = ACTION_MODS_TAP_KEY(MOD_RCTL, KC_ENTER),\n";
|
||||
output += " [24] = ACTION_MODS_TAP_KEY(MOD_LCTL, KC_ESC),\n";
|
||||
output += " [25] = ACTION_MODS_TAP_KEY(MOD_LCTL, KC_BSPACE),\n";
|
||||
output += " [26] = ACTION_MODS_ONESHOT(MOD_LCTL),\n";
|
||||
output += " [27] = ACTION_MODS_TAP_KEY(MOD_LSFT, KC_ESC),\n";
|
||||
output += " [28] = ACTION_MODS_TAP_KEY(MOD_LSFT, KC_BSPACE),\n";
|
||||
output += " [29] = ACTION_MODS_ONESHOT(MOD_LSFT),\n";
|
||||
output += " [30] = ACTION_MODS_TAP_KEY(MOD_RSFT, KC_ESC),\n";
|
||||
output += " [31] = ACTION_MODS_TAP_KEY(MOD_RSFT, KC_BSPACE),\n";
|
||||
output += "};\n\n";
|
||||
|
||||
// keymaps
|
||||
@ -211,7 +235,7 @@ var code_display = [
|
||||
{id: '0', name: '0', desc: '0'},
|
||||
{id: 'ENT', name: 'Enter', desc: 'ENTER'},
|
||||
{id: 'ESC', name: 'Esc', desc: 'Escape'},
|
||||
{id: 'BSPC', name: 'Back Space', desc: 'Back Space'},
|
||||
{id: 'BSPC', name: 'Back space', desc: 'Backspace'},
|
||||
{id: 'TAB', name: 'Tab', desc: 'Tab'},
|
||||
{id: 'SPC', name: 'Space', desc: 'Space'},
|
||||
{id: 'MINS', name: '-', desc: 'MINUS'},
|
||||
@ -246,7 +270,7 @@ var code_display = [
|
||||
{id: 'HOME', name: 'Home', desc: 'Home'},
|
||||
{id: 'PGUP', name: 'Page Up', desc: 'Page Up'},
|
||||
{id: 'DEL ', name: 'Delete', desc: 'Delete'},
|
||||
{id: 'END ', name: 'END', desc: 'End'},
|
||||
{id: 'END ', name: 'End', desc: 'End'},
|
||||
{id: 'PGDN', name: 'Page Down', desc: 'Page Down'},
|
||||
{id: 'RGHT', name: '\u2192', desc: 'Right'},
|
||||
{id: 'LEFT', name: '\u2190', desc: 'Left'},
|
||||
@ -313,8 +337,8 @@ var code_display = [
|
||||
{id: 'INT7', name: 'INT7', desc: 'INT7'},
|
||||
{id: 'INT8', name: 'INT8', desc: 'INT8'},
|
||||
{id: 'INT9', name: 'INT9', desc: 'INT9'},
|
||||
{id: 'LANG1', name: 'LANG1', desc: 'LANG1'},
|
||||
{id: 'LANG2', name: 'LANG2', desc: 'LANG2'},
|
||||
{id: 'LANG1', name: '\ud55c/\uc601', desc: 'Korean Hangul/English'},
|
||||
{id: 'LANG2', name: '\ud55c\uc790', desc: 'Korean Hanja'},
|
||||
{id: 'LANG3', name: 'LANG3', desc: 'LANG3'},
|
||||
{id: 'LANG4', name: 'LANG4', desc: 'LANG4'},
|
||||
{id: 'LANG5', name: 'LANG5', desc: 'LANG5'},
|
||||
@ -335,8 +359,7 @@ var code_display = [
|
||||
{id: 'CRSEL', name: 'CRSEL', desc: 'CRSEL'},
|
||||
{id: 'EXSEL', name: 'EXSEL', desc: 'EXSEL'},
|
||||
|
||||
/* Special codes A5-DF */
|
||||
/* System & Media key */
|
||||
/* System & Media key 165-191(0xa5-bf) */
|
||||
{id: 'PWR ', name: 'Sys Power', desc: 'System Power'},
|
||||
{id: 'SLEP', name: 'Sys Sleep', desc: 'System Sleep'},
|
||||
{id: 'WAKE', name: 'Sys Wake', desc: 'System Wake'},
|
||||
@ -352,68 +375,57 @@ var code_display = [
|
||||
{id: 'MAIL', name: 'Mail', desc: 'Mail'},
|
||||
{id: 'CALC', name: 'Calc', desc: 'Calculator'},
|
||||
{id: 'MYCM', name: 'My Computer', desc: 'My Computer'},
|
||||
{id: 'WSCH', name: 'WWW Search', desc: 'WWW Search'},
|
||||
{id: 'WHOM', name: 'WWW Home', desc: 'WWW Home'},
|
||||
{id: 'WBAK', name: 'WWW Back', desc: 'WWW Back'},
|
||||
{id: 'WFWD', name: 'WWW Forward', desc: 'WWW Forward'},
|
||||
{id: 'WSTP', name: 'WWW Stop', desc: 'WWW Stop'},
|
||||
{id: 'WREF', name: 'WWW Refresh', desc: 'WWW Refresh'},
|
||||
{id: 'WFAV', name: 'WWW Favorites', desc: 'WWW Favorites'},
|
||||
{id: 'WSCH', name: 'Web Search', desc: 'WWW Search'},
|
||||
{id: 'WHOM', name: 'Web Home', desc: 'WWW Home'},
|
||||
{id: 'WBAK', name: 'Web Back', desc: 'WWW Back'},
|
||||
{id: 'WFWD', name: 'Web Forward', desc: 'WWW Forward'},
|
||||
{id: 'WSTP', name: 'Web Stop', desc: 'WWW Stop'},
|
||||
{id: 'WREF', name: 'Web Refresh', desc: 'WWW Refresh'},
|
||||
{id: 'WFAV', name: 'Web Favorites', desc: 'WWW Favorites'},
|
||||
{id: 'RESERVED-187', name: 'RESERVED-187', desc: 'RESERVED-187'},
|
||||
{id: 'RESERVED-188', name: 'RESERVED-188', desc: 'RESERVED-188'},
|
||||
{id: 'RESERVED-189', name: 'RESERVED-189', desc: 'RESERVED-189'},
|
||||
{id: 'RESERVED-190', name: 'RESERVED-190', desc: 'RESERVED-190'},
|
||||
{id: 'RESERVED-191', name: 'RESERVED-191', desc: 'RESERVED-191'},
|
||||
/* Fn key */
|
||||
{id: 'FN0 ', name: 'L0', desc: 'Change to Layer 0(Momentary) '},
|
||||
{id: 'FN1 ', name: 'L1', desc: 'Change to Layer 1(Momentary) '},
|
||||
{id: 'FN2 ', name: 'L2', desc: 'Change to Layer 2(Momentary) '},
|
||||
{id: 'FN3 ', name: 'L3', desc: 'Change to Layer 3(Momentary) '},
|
||||
{id: 'FN4 ', name: 'T0', desc: 'Change to Layer 0(Toggle) '},
|
||||
{id: 'FN5 ', name: 'T1', desc: 'Change to Layer 1(Toggle) '},
|
||||
{id: 'FN6 ', name: 'T2', desc: 'Change to Layer 2(Toggle) '},
|
||||
{id: 'FN7 ', name: 'T3', desc: 'Change to Layer 3(Toggle) '},
|
||||
{id: 'FN8 ', name: 'TL0', desc: 'Change to Layer 0(Momentary with Tap Toggle) '},
|
||||
{id: 'FN9 ', name: 'TL1', desc: 'Change to Layer 1(Momentary with Tap Toggle) '},
|
||||
{id: 'FN10', name: 'TL2', desc: 'Change to Layer 2(Momentary with Tap Toggle) '},
|
||||
{id: 'FN11', name: 'TL3', desc: 'Change to Layer 3(Momentary with Tap Toggle) '},
|
||||
|
||||
/*
|
||||
{id: 'FN0 ', name: 'FN0 ', desc: 'FN0 '},
|
||||
{id: 'FN1 ', name: 'FN1 ', desc: 'FN1 '},
|
||||
{id: 'FN2 ', name: 'FN2 ', desc: 'FN2 '},
|
||||
{id: 'FN3 ', name: 'FN3 ', desc: 'FN3 '},
|
||||
{id: 'FN4 ', name: 'FN4 ', desc: 'FN4 '},
|
||||
{id: 'FN5 ', name: 'FN5 ', desc: 'FN5 '},
|
||||
{id: 'FN6 ', name: 'FN6 ', desc: 'FN6 '},
|
||||
{id: 'FN7 ', name: 'FN7 ', desc: 'FN7 '},
|
||||
{id: 'FN8 ', name: 'FN8 ', desc: 'FN8 '},
|
||||
{id: 'FN9 ', name: 'FN9 ', desc: 'FN9 '},
|
||||
{id: 'FN10', name: 'FN10', desc: 'FN10'},
|
||||
{id: 'FN11', name: 'FN11', desc: 'FN11'},
|
||||
*/
|
||||
{id: 'FN12', name: 'FN12', desc: 'FN12'},
|
||||
{id: 'FN13', name: 'FN13', desc: 'FN13'},
|
||||
{id: 'FN14', name: 'FN14', desc: 'FN14'},
|
||||
{id: 'FN15', name: 'FN15', desc: 'FN15'},
|
||||
{id: 'FN16', name: 'FN16', desc: 'FN16'},
|
||||
{id: 'FN17', name: 'FN17', desc: 'FN17'},
|
||||
{id: 'FN18', name: 'FN18', desc: 'FN18'},
|
||||
{id: 'FN19', name: 'FN19', desc: 'FN19'},
|
||||
{id: 'FN20', name: 'FN20', desc: 'FN20'},
|
||||
{id: 'FN21', name: 'FN21', desc: 'FN21'},
|
||||
{id: 'FN22', name: 'FN22', desc: 'FN22'},
|
||||
{id: 'FN23', name: 'FN23', desc: 'FN23'},
|
||||
{id: 'FN24', name: 'FN24', desc: 'FN24'},
|
||||
{id: 'FN25', name: 'FN25', desc: 'FN25'},
|
||||
{id: 'FN26', name: 'FN26', desc: 'FN26'},
|
||||
{id: 'FN27', name: 'FN27', desc: 'FN27'},
|
||||
{id: 'FN28', name: 'FN28', desc: 'FN28'},
|
||||
{id: 'FN29', name: 'FN29', desc: 'FN29'},
|
||||
{id: 'FN30', name: 'FN30', desc: 'FN30'},
|
||||
{id: 'FN31', name: 'FN31', desc: 'FN31'},
|
||||
/* Fn key 192-223(0xc0-df) */
|
||||
{id: 'FN0 ', name: 'L1', desc: 'Change to Layer 1(Momentary) '},
|
||||
{id: 'FN1 ', name: 'L2', desc: 'Change to Layer 2(Momentary) '},
|
||||
{id: 'FN2 ', name: 'L3', desc: 'Change to Layer 3(Momentary) '},
|
||||
{id: 'FN3 ', name: 'L4', desc: 'Change to Layer 4(Momentary) '},
|
||||
{id: 'FN4 ', name: 'L5', desc: 'Change to Layer 5(Momentary) '},
|
||||
{id: 'FN5 ', name: 'L6', desc: 'Change to Layer 6(Momentary) '},
|
||||
{id: 'FN6 ', name: 'L7', desc: 'Change to Layer 7(Momentary) '},
|
||||
{id: 'FN7 ', name: 'T1', desc: 'Change to Layer 1(Toggle) '},
|
||||
{id: 'FN8 ', name: 'T2', desc: 'Change to Layer 2(Toggle) '},
|
||||
{id: 'FN9 ', name: 'T3', desc: 'Change to Layer 3(Toggle) '},
|
||||
{id: 'FN10', name: 'L1t', desc: 'Change to Layer 1(Momentary with Tap Toggle) '},
|
||||
{id: 'FN11', name: 'L2t', desc: 'Change to Layer 2(Momentary with Tap Toggle) '},
|
||||
{id: 'FN12', name: 'L3t', desc: 'Change to Layer 3(Momentary with Tap Toggle) '},
|
||||
/* Layer swith with Tap key */
|
||||
{id: 'FN13', name: 'A (L1)', desc: 'A with with L1(Tap key)'},
|
||||
{id: 'FN14', name: 'F (L2)', desc: 'F with with L2(Tap key)'},
|
||||
{id: 'FN15', name: 'J (L3)', desc: 'J with with L3(Tap key)'},
|
||||
{id: 'FN16', name: 'Space (L4)', desc: 'Space with L4(Tap key)'},
|
||||
{id: 'FN17', name: '; (L5)', desc: 'Semicolon with L5(Tap key)'},
|
||||
{id: 'FN18', name: '\'( L6)', desc: 'Quote with L6(Tap key)'},
|
||||
{id: 'FN19', name: '/ (L7)', desc: 'Slash with with L7(Tap key)'},
|
||||
/* Modifier on alpha key(Tap key, Dual-role key) */
|
||||
{id: 'FN20', name: 'Space (LShift)', desc: 'Space with Left Sfhit(Tap key)'},
|
||||
{id: 'FN21', name: 'Space (LCtrl)', desc: 'Space with Left Control(Tap key)'},
|
||||
{id: 'FN22', name: '\' (RCtrl)', desc: 'Quote with Right Control(Tap key)'},
|
||||
{id: 'FN23', name: 'Enter (RCtrl)', desc: 'Enter with Right Control(Tap key)'},
|
||||
/* Modifier with a key(Tap key, Dual-role key) */
|
||||
{id: 'FN24', name: 'LCtrl (Esc)', desc: 'Left Control with Escape'},
|
||||
{id: 'FN25', name: 'LCtrl (Backspace)', desc: 'Left Control with Backspace'},
|
||||
{id: 'FN26', name: 'LCtrl (OneShot)', desc: 'Left Control(OneShot Modifier)'},
|
||||
{id: 'FN27', name: 'LShift (Esc)', desc: 'Left Shift with Escape'},
|
||||
{id: 'FN28', name: 'LShift (Backspace)', desc: 'Left Shift with Backspace'},
|
||||
{id: 'FN29', name: 'LShift (OneShot)', desc: 'Left Shift(OneShot Modifier)'},
|
||||
{id: 'FN30', name: 'RShift (`)', desc: 'Right Shift with Grave(Tap key)'},
|
||||
{id: 'FN31', name: 'RShift (\\)', desc: 'Right Shift with Backslash(Tap key)'},
|
||||
|
||||
/* Standeard codes for 16bit Action
|
||||
/* Standeard codes for 16bit Action 165-223(0xa5-df)
|
||||
{id: 'RESERVED-165', name: 'RESERVED-165', desc: 'RESERVED-165'},
|
||||
{id: 'RESERVED-166', name: 'RESERVED-166', desc: 'RESERVED-166'},
|
||||
{id: 'RESERVED-167', name: 'RESERVED-167', desc: 'RESERVED-167'},
|
||||
@ -425,7 +437,6 @@ var code_display = [
|
||||
{id: 'RESERVED-173', name: 'RESERVED-173', desc: 'RESERVED-173'},
|
||||
{id: 'RESERVED-174', name: 'RESERVED-174', desc: 'RESERVED-174'},
|
||||
{id: 'RESERVED-175', name: 'RESERVED-175', desc: 'RESERVED-175'},
|
||||
|
||||
{id: 'KP_00', name: 'KP_00', desc: 'KP_00'},
|
||||
{id: 'KP_000', name: 'KP_000', desc: 'KP_000'},
|
||||
{id: 'THOUSANDS_SEPARATOR', name: 'THOUSANDS_SEPARATOR', desc: 'THOUSANDS_SEPARATOR'},
|
||||
@ -476,6 +487,7 @@ var code_display = [
|
||||
{id: 'RESERVED-223', name: 'RESERVED-223', desc: 'RESERVED-223'},
|
||||
*/
|
||||
|
||||
/* Modifier 224-231(0xe0-e7) */
|
||||
{id: 'LCTL', name: 'LCtrl', desc: 'Left Control'},
|
||||
{id: 'LSFT', name: 'LShift', desc: 'Left Shift'},
|
||||
{id: 'LALT', name: 'LAlt', desc: 'Left Alt(\u2325)'},
|
||||
@ -485,7 +497,7 @@ var code_display = [
|
||||
{id: 'RALT', name: 'RAlt', desc: 'Right Alt(\u2325)'},
|
||||
{id: 'RGUI', name: 'RGui', desc: 'Right Windows(\u2318)'},
|
||||
|
||||
/* Special codes E8-FF */
|
||||
/* Not used 232-239(0xe8-ef) */
|
||||
{id: 'RESERVED-232', name: 'RESERVED-232', desc: 'RESERVED-232'},
|
||||
{id: 'RESERVED-233', name: 'RESERVED-233', desc: 'RESERVED-233'},
|
||||
{id: 'RESERVED-234', name: 'RESERVED-234', desc: 'RESERVED-234'},
|
||||
@ -494,21 +506,22 @@ var code_display = [
|
||||
{id: 'RESERVED-237', name: 'RESERVED-237', desc: 'RESERVED-237'},
|
||||
{id: 'RESERVED-238', name: 'RESERVED-238', desc: 'RESERVED-238'},
|
||||
{id: 'RESERVED-239', name: 'RESERVED-239', desc: 'RESERVED-239'},
|
||||
/* Mousekey */
|
||||
|
||||
/* Mousekey 240-255(0xf0-ff) */
|
||||
{id: 'MS_U', name: 'Mouse Up', desc: 'Mouse UP'},
|
||||
{id: 'MS_D', name: 'Mouse down', desc: 'Mouse Down'},
|
||||
{id: 'MS_L', name: 'Mouse left', desc: 'Mouse Left'},
|
||||
{id: 'MS_R', name: 'Mouse right', desc: 'Mouse Right'},
|
||||
{id: 'BTN1', name: 'Mouse Button1', desc: 'Mouse Button1'},
|
||||
{id: 'BTN2', name: 'Mouse Button2', desc: 'Mouse Button2'},
|
||||
{id: 'BTN3', name: 'Mouse Button3', desc: 'Mouse Button3'},
|
||||
{id: 'BTN4', name: 'Mouse Button4', desc: 'Mouse Button4'},
|
||||
{id: 'BTN5', name: 'Mouse Button5', desc: 'Mouse Button5'},
|
||||
{id: 'WH_U', name: 'Wheel UP', desc: 'Wheel UP'},
|
||||
{id: 'WH_D', name: 'Wheel DOWN', desc: 'Wheel DOWN'},
|
||||
{id: 'WH_L', name: 'Wheel LEFT', desc: 'Wheel LEFT'},
|
||||
{id: 'WH_R', name: 'Wheel RIGHT', desc: 'Wheel RIGHT'},
|
||||
{id: 'ACL0', name: 'Mouse ACCEL0', desc: 'Mouse ACCEL0'},
|
||||
{id: 'ACL1', name: 'Mouse ACCEL1', desc: 'Mouse ACCEL1'},
|
||||
{id: 'ACL2', name: 'Mouse ACCEL2', desc: 'Mouse ACCEL2'},
|
||||
{id: 'BTN1', name: 'Mouse Btn1', desc: 'Mouse Button1'},
|
||||
{id: 'BTN2', name: 'Mouse Btn2', desc: 'Mouse Button2'},
|
||||
{id: 'BTN3', name: 'Mouse Btn3', desc: 'Mouse Button3'},
|
||||
{id: 'BTN4', name: 'Mouse Btn4', desc: 'Mouse Button4'},
|
||||
{id: 'BTN5', name: 'Mouse Btn5', desc: 'Mouse Button5'},
|
||||
{id: 'WH_U', name: 'Wheel Up', desc: 'Wheel Up'},
|
||||
{id: 'WH_D', name: 'Wheel Down', desc: 'Wheel Down'},
|
||||
{id: 'WH_L', name: 'Wheel Left', desc: 'Wheel Left'},
|
||||
{id: 'WH_R', name: 'Wheel Right', desc: 'Wheel Right'},
|
||||
{id: 'ACL0', name: 'Mouse Slow', desc: 'Mouse Slow'},
|
||||
{id: 'ACL1', name: 'Mouse Medium', desc: 'Mouse Medium'},
|
||||
{id: 'ACL2', name: 'Mouse Fast', desc: 'Mouse Fast'},
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user