Skip to content

Commit

Permalink
Add reference keyboard contents
Browse files Browse the repository at this point in the history
  • Loading branch information
famichu committed May 24, 2024
1 parent 6331cd2 commit c19c513
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 1 deletion.
11 changes: 11 additions & 0 deletions dl/fw_refkb.html.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!doctype html/>
<html lang="ja"/>

<head>
<meta charset="UTF-8">
<title>ファームウェアダウンロード中…</title>
<script src="./scripts/fw_refkb.js"></script>
</head>

<body>
</body>
11 changes: 11 additions & 0 deletions dl/man_refkb.html.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!doctype html/>
<html lang="ja"/>

<head>
<meta charset="UTF-8">
<title>マニュアルダウンロード中…</title>
<script src="./scripts/man_refkb.js"></script>
</head>

<body>
</body>
9 changes: 9 additions & 0 deletions dl/scripts/fw_refkb.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
const a = document.createElement('a')
a.href = "../files/magrev_switch_refkb_fw_1.00.uf2";
a.download = "magrev_switch_refkb_fw_1.00.uf2";
a.style.display = 'none'
a.click();

a.addEventListener('click', function () {
window.close();
});
9 changes: 9 additions & 0 deletions dl/scripts/man_refkb.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
const a = document.createElement('a')
a.href = "../files/maglev_switch_refkb_manual_1.00.pdf";
a.download = "maglev_switch_refkb_manual_1.00.pdf";
a.style.display = 'none'
a.click();

a.addEventListener('click', function () {
window.close();
});
Binary file added files/maglev_switch_refkb_manual_1.00.pdf
Binary file not shown.
Binary file added files/magrev_switch_refkb_fw_1.00.uf2
Binary file not shown.
8 changes: 7 additions & 1 deletion htmls/reference_keyboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,13 @@ <h2>組立方法・ダウンロード</h2>
<article>
<div class="download">
<p>
Comming soon...
組立方法: <a href="../dl/man_refkb.html.html">組立マニュアルPDFダウンロード</a>
</p>
<p>
ファームウェア: <a href="../dl/fw_refkb.html.html">UF2ファイルダウンロード</a>
</p>
<p>
ソースコード・3Dモデル: <a href="https://github.com/famichu/MagLevSwitch_ReferenceKeyboard">GitHub</a>
</p>
</div>
</article>
Expand Down

0 comments on commit c19c513

Please sign in to comment.