Skip to content

Commit

Permalink
Add HHKB layout
Browse files Browse the repository at this point in the history
  • Loading branch information
RyuKojiro committed Sep 22, 2022
1 parent 1935944 commit 1907b87
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/layouts/hhkb/default.scad
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
include <../layout.scad>

hhkb_layout = [
[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],
[1.5,1,1,1,1,1,1,1,1,1,1,1,1,1.5],
[1.75,1,1,1,1,1,1,1,1,1,1,1,2.25],
[2.25,1,1,1,1,1,1,1,1,1,1,1.75,1],
[-1.5,1,1.5,6,1.5,1]
];

hhkb_legends = [
["Esc", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "-", "=", "\\", "`"],
["Tab", "q", "w", "e", "r", "t", "y", "u", "i", "o", "p", "[", "]", "Delete"],
["Ctrl", "a", "s", "d", "f", "g", "h", "j", "k", "l", ";", "'", "Return"],
["Shift", "z", "x", "c", "v", "b", "n", "m", ",", ".", "/", "Shift", "Fn"],
["", "Alt", "Cmd", "", "Cmd", "Alt"],
];

module hhkb_default(profile) {
layout(hhkb_layout, profile, hhkb_legends) children();
}

0 comments on commit 1907b87

Please sign in to comment.