Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

60% with arrows layout #88

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/components/sidebar/BoardOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export default function BoardOptions() {
{ label: "50%", value: "leftnum", img: icon45 },
{ label: "50% ortho", value: "50ortho", img: icon40 },
{ label: "60%", value: "60", img: icon60 },
{ label: "60% Arrows", value: "60arrows", img: icon60 },
{ label: "60% ISO", value: "60iso", img: icon60 },
{ label: "60% WKL", value: "60wkl", img: icon60wkl },
{ label: "60% HHKB", value: "60hhkb", img: icon60hhkb },
Expand Down
71 changes: 71 additions & 0 deletions src/config/keymaps/keymap_60_arrows.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
{
"layout": "LAYOUT",
"layers": [
[
"KC_GESC",
"KC_1",
"KC_2",
"KC_3",
"KC_4",
"KC_5",
"KC_6",
"KC_7",
"KC_8",
"KC_9",
"KC_0",
"KC_MINS",
"KC_EQL",
"KC_BSPC",
"KC_TAB",
"KC_Q",
"KC_W",
"KC_E",
"KC_R",
"KC_T",
"KC_Y",
"KC_U",
"KC_I",
"KC_O",
"KC_P",
"KC_LBRC",
"KC_RBRC",
"KC_BSLS",
"KC_CAPS",
"KC_A",
"KC_S",
"KC_D",
"KC_F",
"KC_G",
"KC_H",
"KC_J",
"KC_K",
"KC_L",
"KC_SCLN",
"KC_QUOT",
"KC_ENT",
"KC_LSFT",
"KC_Z",
"KC_X",
"KC_C",
"KC_V",
"KC_B",
"KC_N",
"KC_M",
"KC_COMM",
"KC_DOT",
"KC_RSFT",
"KC_UP",
"KC_SLSH",
"KC_LCTL",
"KC_LGUI",
"KC_LALT",
"KC_SPC",
"MO(1)",
"KC_RCTL",
"KC_LEFT",
"KC_DOWN",
"KC_RGHT"
]
]
}

2 changes: 2 additions & 0 deletions src/config/keymaps/keymaps.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import keymap_50_ortho from "./keymap_50_ortho.json";
import keymap_40_leftnum from "./keymap_40_leftnum.json";
import keymap_40 from "./keymap_40_default.json";
import keymap_60 from "./keymap_60_default.json";
import keymap_60_arrows from "./keymap_60_arrows.json";
import keymap_60_hhkb from "./keymap_60_hhkb.json";
import keymap_60_tsangan from "./keymap_60_tsangan.json";
import keymap_60_wkl from "./keymap_60_wkl.json";
Expand All @@ -23,6 +24,7 @@ const KEYMAPS = {
"60hhkb": keymap_60_hhkb,
"60tsangan": keymap_60_tsangan,
"60iso": keymap_60_iso,
"60arrows": keymap_60_arrows,
40: keymap_40,
60: keymap_60,
65: keymap_65,
Expand Down
276 changes: 276 additions & 0 deletions src/config/layouts/layout_60_arrows.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,276 @@
{
"width": 15,
"height": 5,
"keymaps": [],
"layouts": {
"LAYOUT": {
"key_count": 63,
"layout": [
{
"x": 0,
"y": 0
},
{
"x": 1,
"y": 0
},
{
"x": 2,
"y": 0
},
{
"x": 3,
"y": 0
},
{
"x": 4,
"y": 0
},
{
"x": 5,
"y": 0
},
{
"x": 6,
"y": 0
},
{
"x": 7,
"y": 0
},
{
"x": 8,
"y": 0
},
{
"x": 9,
"y": 0
},
{
"x": 10,
"y": 0
},
{
"x": 11,
"y": 0
},
{
"x": 12,
"y": 0
},
{
"x": 13,
"y": 0,
"w": 2
},
{
"x": 0,
"y": 1,
"w": 1.5
},
{
"x": 1.5,
"y": 1
},
{
"x": 2.5,
"y": 1
},
{
"x": 3.5,
"y": 1
},
{
"x": 4.5,
"y": 1
},
{
"x": 5.5,
"y": 1
},
{
"x": 6.5,
"y": 1
},
{
"x": 7.5,
"y": 1
},
{
"x": 8.5,
"y": 1
},
{
"x": 9.5,
"y": 1
},
{
"x": 10.5,
"y": 1
},
{
"x": 11.5,
"y": 1
},
{
"x": 12.5,
"y": 1
},
{
"x": 13.5,
"y": 1,
"w": 1.5
},
{
"x": 0,
"y": 2,
"w": 1.75
},
{
"x": 1.75,
"y": 2
},
{
"x": 2.75,
"y": 2
},
{
"x": 3.75,
"y": 2
},
{
"x": 4.75,
"y": 2
},
{
"x": 5.75,
"y": 2
},
{
"x": 6.75,
"y": 2
},
{
"x": 7.75,
"y": 2
},
{
"x": 8.75,
"y": 2
},
{
"x": 9.75,
"y": 2
},
{
"x": 10.75,
"y": 2
},
{
"x": 11.75,
"y": 2
},
{
"x": 12.75,
"y": 2,
"w": 2.25
},
{
"x": 0,
"y": 3,
"w": 2.25
},
{
"x": 2.25,
"y": 3
},
{
"x": 3.25,
"y": 3
},
{
"x": 4.25,
"y": 3
},
{
"x": 5.25,
"y": 3
},
{
"x": 6.25,
"y": 3
},
{
"x": 7.25,
"y": 3
},
{
"x": 8.25,
"y": 3
},
{
"x": 9.25,
"y": 3
},
{
"x": 10.25,
"y": 3
},
{
"x": 11.25,
"y": 3,
"w": 1.75
},
{
"x": 13,
"y": 3
},
{
"x": 14,
"y": 3
},
{
"x": 0,
"y": 4,
"w": 1.25
},
{
"x": 1.25,
"y": 4,
"w": 1.25
},
{
"x": 2.5,
"y": 4,
"w": 1.25
},
{
"x": 3.75,
"y": 4,
"w": 6.25
},
{
"x": 10,
"y": 4
},
{
"x": 11,
"y": 4
},
{
"x": 12,
"y": 4
},
{
"x": 13,
"y": 4
},
{
"x": 14,
"y": 4
}
]
}
}
}

2 changes: 2 additions & 0 deletions src/config/layouts/layouts.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import layout_40 from "./layout_40_default.json";
import layout_60 from "./layout_60_default.json";
import layout_60_arrows from "./layout_60_arrows.json";
import layout_60_iso from "./layout_60_ISO.json";
import layout_60_hhkb from "./layout_60_hhkb.json";
import layout_60_tsangan from "./layout_60_tsangan.json";
Expand All @@ -22,6 +23,7 @@ const LAYOUTS = {
80: layout_80,
95: layout_95,
100: layout_100,
"60arrows": layout_60_arrows,
"60iso": layout_60_iso,
"60wkl": layout_60_wkl,
"60hhkb": layout_60_hhkb,
Expand Down