You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: generator-web/layout_generator.html
+12-11Lines changed: 12 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -51,17 +51,15 @@
51
51
.download_link#download_link
52
52
{
53
53
display: none;
54
-
width:calc(800px-6*8px-80px-3px);
54
+
/* with - padding - spacing */
55
+
width:calc(800px-16px-3* (40px+16px+1px) -1px);
55
56
}
56
-
.download_link#download_link6
57
+
.download_link#download_link6,
58
+
.download_link#download_link7,
59
+
.download_link#download_link8
57
60
{
58
61
display: none;
59
-
width:calc(40px);
60
-
}
61
-
.download_link#download_link7
62
-
{
63
-
display: none;
64
-
width:calc(40px);
62
+
width:40px;
65
63
}
66
64
#debug_area { display: none; }
67
65
#sample_code {
@@ -80,16 +78,18 @@
80
78
<divid="content">
81
79
<!-- <p class="warning">This will not work with browsers that block access to external sites from javascript.<br/>Oh well, I'll try something else...</p> -->
82
80
<p>Generate a Windows keyboard layout for Circuitpython's <ahref="https://circuitpython.readthedocs.io/projects/hid/en/latest/">adafruit_hid</a>.</p>
81
+
<p>This is the online generator for the <ahref="https://github.com/Neradoc/Circuitpython_Keyboard_Layouts">Circuitpython Keyboard Layouts</a> repository.</p>
83
82
<ul>
84
83
<li>Go to <atarget="_BLANK" href="https://kbdlayout.info/">kbdlayout.info</a> and find your layout's page.</li>
85
84
<li>Paste the url of the layout into the box below (see example).</li>
86
85
<li>Press the "Make Zip Bundle Links" button.</li>
87
86
<li>Click the link to download the zip with the modules.</li>
88
87
<li>Unzip the zip.</li>
89
-
<li>Copy the files to your boards "lib" directory (the sample code is not needed).</li>
90
-
<li>Don't forget to install adafruit_hid too if it's not already there.</li>
88
+
<li>Copy the files to your boards "lib" directory (not the sample code).</li>
89
+
<li>Don't forget ton install adafruit_hid too if it's not already there.</li>
91
90
<li>Follow the sample code, included in the zip.</li>
92
-
<li>Come bother me <ahref="https://adafru.it/discord">on discord</a> if it doesn't work (no private messages).</li>
91
+
<li>Come bother me <ahref="https://adafru.it/discord">on the adafruit discord</a> if it doesn't work (no private messages).</li>
92
+
<li>Or <ahref="https://github.com/Neradoc/Circuitpython_Keyboard_Layouts/issues">open an issue on github</a>.</li>
93
93
</ul>
94
94
<pclass="note">Note: There are additional links to have the module files pre-compiled for Circuitpython 6 or 7. A pre-compiled (.mpy) file takes less space and is faster to load. It also requires less RAM to load, which <i>might</i> allow it to be used on a SAMD21 board (often refered to M0, they are very limited in memory when running Circuitpython).</p>
95
95
<p>
@@ -100,6 +100,7 @@
100
100
<aclass="download_link" id="download_link" href="">Download the zip file (.py)</a>
0 commit comments