Skip to content

Commit

Permalink
just a planck layout (#2320)
Browse files Browse the repository at this point in the history
* added jirgn keymap from dotfiles

* added jirgn s keymap as copy from default

* [TASK] removed unnecessary colemak and dvorak layouts

* [TASK] added right shift with tab to enter

* [TASK] added ctrl keys beside homerow

* [TASK] added Navigation Layer

removed unnecessary BACKLIT
removed Media Controls in Base Layers

* [TASK] added left Navigation mode  fixed some doc

* [Fix] locked navigation layer by adding a transparent key for nav_mod
keys

* [TASK] added some more symbols and removed lower F1-F12 keys

* [TASK] added some README and a layout design

* [FIX] forced for adding to repo

* [FIX] forced for adding to repo

* [FIX] problem with layerswitching and hanging ctrl

* removed image from repo

* removed github image link with permalink from layout designer

* removed github image link with permalink from layout designer

* replaced image with permalink to layout editor
  • Loading branch information
jirgn authored and jackhumbert committed Feb 3, 2018
1 parent 8350d7e commit 2f65ab1
Show file tree
Hide file tree
Showing 6 changed files with 440 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ util/Win_Check_Output.txt
.vscode/last.sql
.vscode/temp.sql
.stfolder
.tags

# ignore image files
*.png
Expand Down
168 changes: 168 additions & 0 deletions keyboards/planck/keymaps/jirgn/assets/layout.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,168 @@
[
{
"switchMount": "cherry",
"switchBrand": "cherry",
"switchType": "MX1A-C1xx",
"pcb": true,
"css": ".keylabel2 {\n color: #61ba5d !important;\n}\n.keylabel6 {\n color: #fa7a5f !important;\n}\n.keylabel8 {\n color: #7ab7f7 !important;\n}\n.keylabel7 {\n color: #999 !important;\n}"
},
[
{
"fa": [
0,
2,
0,
2
]
},
"\n~\n\n`\n\n\n\n\n\nTab",
{
"sm": "cherry",
"sb": "cherry",
"st": "MX1A-C1xx"
},
"\n!\n\n1\n\n\n\n\n\nQ",
{
"sm": "",
"sb": "",
"st": ""
},
"\n@\n\n2\n\n\n\n\n\nW",
"\n#\n\n3\n\n\n\n\n\nE",
"\n$\n\n4\n\n\n\n\n\nR",
"\n%\n\n5\n\n\n\n\n\nT",
"\n^\n\n6\n\n\n\n\n\nY",
"\n&\n\n7\n\n\n\n\n\nU",
"\n*\n\n8\n\n\n\n\n\nI",
"\n(\n\n9\n\n\n\n\n\nO",
"\n)\n\n0\n\n\n\n\n\nP",
{
"a": 7
},
"<i class='mss mss-Unicode-BackSpace-DeleteLeft-Big-2'></i>"
],
[
{
"c": "#b8b8b8",
"a": 5
},
"\n<i class='mss mss-Unicode-DeleteRight-Big-2'></i>\n\n\nCtrl\n\n<i class='mss mss-Unicode-Escape-3'></i>",
{
"c": "#61ba5d",
"a": 4
},
"\n¡\n\nF1\nNav\n\n\n\n\nA",
{
"c": "#cccccc",
"fa": [
0,
2,
1,
2,
0,
0,
0,
0,
0,
0,
0
]
},
"\n\nHome\nF2\n\n\n\n\n\nS",
"\n\nPg Up\nF3\n\n\n\n\n\nD",
"\n¢\nPg Dn\nF4\n\n\n\n\n\nF",
"\n\nEnd\nF5\n\n\n\n\n\nG",
{
"fa": [
0,
2,
2,
2,
0,
0,
0,
0,
0,
0,
0
]
},
"\n§\n\nF6\n\n\n\n\n\nH",
"\n_\n\n-\n\n\n\n\n\nJ",
"\n+\n\n=\n\n\n\n\n\nK",
"\n{\n\n[\n\n\n\n\n\nL",
{
"c": "#61ba5d",
"fa": [
0,
2,
2,
2,
0,
0,
0,
2
]
},
"\n}\n\n]\nNav\n\n\n:\n\n;",
{
"c": "#cccccc"
},
"\n|\n\n\\\n\n\n\n\"\n\n'"
],
[
{
"c": "#b8b8b8",
"a": 7
},
"Shift",
{
"c": "#cccccc",
"a": 4
},
"\n\n\nF7\n\n\n\n\n\nZ",
"\n\n\nF8\n\n\n\n\n\nX",
"\n\n\nF9\n\n\n\n\n\nC",
"\n\n\nF10\n\n\n\n\n\nV",
"\n\n\nF11\n\n\n\n\n\nB",
"\n\n\nF12\n\n\n\n\n\nN",
"\n~\n\n#\n\n\n\n\n\nM",
"\n|\n\n/\n\n\n\n<\n\n,",
{
"a": 6
},
"\n\n>\n\n\n\n\n\n.",
"\n\n?\n\n\n\n\n\n/",
{
"c": "#b8b8b8",
"a": 7
},
"<i class='kb kb-Return-2'></i>\n\n\n\nShift"
],
[
"",
"Hyper",
"<i class='mss mss-Unicode-Option-3'></i>",
"<i class='mss mss-Unicode-Command-3'></i>",
{
"c": "#fa7a5f"
},
"&dArr;",
{
"c": "#cccccc",
"w": 2
},
"",
{
"c": "#7ab7f7"
},
"&uArr;",
{
"c": "#b8b8b8"
},
"<i class='mss mss-Unicode-Command-3'></i>",
"<i class='mss mss-Unicode-Option-3'></i>",
"Hyper",
""
]
]
42 changes: 42 additions & 0 deletions keyboards/planck/keymaps/jirgn/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
#ifndef CONFIG_USER_H
#define CONFIG_USER_H

#include "../../config.h"

#ifdef AUDIO_ENABLE
#define STARTUP_SONG SONG(PLANCK_SOUND)
// #define STARTUP_SONG SONG(NO_SOUND)

#define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \
SONG(COLEMAK_SOUND), \
SONG(DVORAK_SOUND) \
}
#endif

#define MUSIC_MASK (keycode != KC_NO)

/*
* MIDI options
*/

/* Prevent use of disabled MIDI features in the keymap */
//#define MIDI_ENABLE_STRICT 1

/* enable basic MIDI features:
- MIDI notes can be sent when in Music mode is on
*/

#define MIDI_BASIC

/* enable advanced MIDI features:
- MIDI notes can be added to the keymap
- Octave shift and transpose
- Virtual sustain, portamento, and modulation wheel
- etc.
*/
//#define MIDI_ADVANCED

/* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
//#define MIDI_TONE_KEYCODE_OCTAVES 2

#endif
Loading

0 comments on commit 2f65ab1

Please sign in to comment.