Merge pull request #10 from mfunkey/new_key

Added missing key on non us keyboards
This commit is contained in:
Maxim Devaev
2020-09-23 21:21:32 +03:00
committed by GitHub
6 changed files with 16 additions and 4 deletions

View File

@@ -681,10 +681,14 @@
</div>
</div>
<div class="keypad-row">
<div class="modifier wide-4 left small" data-code="ShiftLeft">
<div class="modifier wide-3 left small" data-code="ShiftLeft">
<div class="label"><b>&bull;</b><br>Shift
</div>
</div>
<div class="key small" data-code="IntlBackslash">
<div class="label">
</div>
</div>
<div class="key single" data-code="KeyZ">
<div class="label">Z
</div>
@@ -725,7 +729,7 @@
<div class="label">?<br>/
</div>
</div>
<div class="modifier wide-4 right small" data-code="ShiftRight">
<div class="modifier wide-3 right small" data-code="ShiftRight">
<div class="label"><b>&bull;</b><br>Shift
</div>
</div>

View File

@@ -51,13 +51,14 @@ mixin lamp(cls)
+key("Quote") "#[br]'
+key("Enter", "wide-3 right small") Enter#[br]&crarr;
div(class="keypad-row")
+modifier("ShiftLeft", "wide-4 left small") Shift
+modifier("ShiftLeft", "wide-3 left small") Shift
+key("IntlBackslash", "small")
each key in ["Z", "X", "C", "V", "B", "N", "M"]
+key(`Key${key}`, "single") #{key}
+key("Comma") &lt;#[br],
+key("Period") &gt;#[br].
+key("Slash") ?#[br]/
+modifier("ShiftRight", "wide-4 right small") Shift
+modifier("ShiftRight", "wide-3 right small") Shift
div(class="keypad-row")
+modifier("ControlLeft", "wide-1 left small") Ctrl
+modifier("MetaLeft", "wide-1 left small") Win