diff --git a/editor/hhkb/hhkb.html b/editor/hhkb/hhkb.html new file mode 100644 index 00000000..3a25caee --- /dev/null +++ b/editor/hhkb/hhkb.html @@ -0,0 +1,91 @@ + +
+
+ + + + +
+
+ + + + + +
+
Esc
+
1
+
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
0
+
-
+
=
+
\
+
`
+
+ +
Tab
+
Q
+
W
+
E
+
R
+
T
+
Y
+
U
+
I
+
O
+
P
+
[
+
]
+
BSpc
+
+ +
Ctrl
+
A
+
S
+
D
+
F
+
G
+
H
+
J
+
K
+
L
+
;
+
'
+
Enter
+
+ +
Shift
+
Z
+
X
+
C
+
V
+
B
+
N
+
M
+
,
+
.
+
/
+
Shift
+
Fn
+
+ +
+
Sup
+
Alt
+
+
Alt
+
Sup
+
+
+
diff --git a/editor/hhkb/index.html b/editor/hhkb/index.html old mode 100755 new mode 100644 index f21d2dae..9bd9b69b --- a/editor/hhkb/index.html +++ b/editor/hhkb/index.html @@ -111,6 +111,7 @@ // Title document.title = "TMK Keymap Editor for " + KEYBOARD_ID; $("#page-title").text("TMK Keymap Editor for " + KEYBOARD_ID); + $("#keyboard2").load("hhkb.html"); // lost keymap under edting when leave the page /* TODO: Needed when released @@ -216,12 +217,8 @@ // Hex output $("#keymap-hex-generate").click(function(ev, ui) { - // TODO: flattened array var keymap_data = fn_actions.concat(keymaps); - var content = firmware_hex() + - hex_output(KEYMAP_START_ADDRESS, keymap_data) + - hex_eof(); - $("#keymap-output").text(content); + $("#keymap-output").text(hex_output(KEYMAP_START_ADDRESS, keymap_data)); }); // C source output @@ -256,6 +253,8 @@ How to edit keymap See this for detailed description of keymap.

Keyboard

+
+
@@ -274,7 +273,6 @@ Layer selector -
Esc
1
2