Skip to content

Commit

Permalink
[Keymap] Custom preonic layout optimised for programming (#8263)
Browse files Browse the repository at this point in the history
* my new layout, draft one, untested.

* updated mapping to include more keys

* updated layout name to be more descriptive. Updated readme with more information.

* added more info to the readme and spellchecked it.

* Added the Json for the keyboard layout images and updated the readme to reflect this.

* Updated Image link

Updated Image link so that it links to the correct place

* updated copyright info to include MY name.

* Updated copyright attribuatation to include the author of the file I modified.

* added the backlighting key back to the adjust layer so that it is usable.

* updated the name of the keymap to match my github name.
  • Loading branch information
AlexDaigre authored May 6, 2020
1 parent 57e67a4 commit 7bb9c76
Show file tree
Hide file tree
Showing 8 changed files with 718 additions and 0 deletions.
37 changes: 37 additions & 0 deletions keyboards/preonic/keymaps/AlexDaigre/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#pragma once

#ifdef AUDIO_ENABLE
#define STARTUP_SONG SONG(PREONIC_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
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
[
{
"name": "Plank Don Gato Programming Raise Layer"
},
[
{
"a": 7
},
"F1",
"F2",
"F3",
"F4",
"F5",
"F6",
"F7",
"F8",
"F9",
"F10",
"F11",
"F12"
],
[
"",
"Reset",
"Debug",
"",
"",
"",
"",
"Term On",
"Term Off",
"",
"",
""
],
[
"",
"",
"Mu Mod",
"Audio On",
"Audio Off",
"AG Norm",
"AG Swap",
"Qwerty",
"Colemak",
"Dvorak",
"",
""
],
[
"",
"Voice -",
"Voice +",
"Music On",
"Music Off",
"",
"",
"",
"",
"",
"",
""
],
[
"",
"",
"",
"",
"",
{
"w": 2
},
"",
"",
"Next",
"Vol -",
"Vol +",
"Play"
]
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
[
{
"name": "Plank Don Gato Programming Lower Layer"
},
[
{
"a": 7
},
"Print Screen",
"Page Up",
"Page Down",
"Home",
"End",
"Insert",
"Scroll Lock",
"Num Lock",
"Pause",
"]",
"[",
"-"
],
[
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"Delete"
],
[
"Caps Lock",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
[
"Right Shift",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"\\",
"Menu"
],
[
"Right Ctrl",
"Right Alt",
"Right Os",
"",
"",
{
"w": 2
},
"",
"",
"",
"",
"",
""
]
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
[
{
"name": "Plank Don Gato Programming Main Layer"
},
[
{
"a": 5
},
"~\n`",
"!\n1",
"@\n2",
"#\n3",
"$\n4",
"%\n5",
"^\n6",
"&\n7",
"*\n8",
"(\n9",
")\n0",
"+\n="
],
[
{
"a": 7
},
"Tab",
"Q",
"W",
"E",
"R",
"T",
"Y",
"U",
"I",
"O",
"P",
"Back Space"
],
[
"Esc",
"A",
"S",
"D",
"F",
"G",
"H",
"J",
"K",
"L",
{
"a": 5
},
":\n;",
"\"\n'"
],
[
{
"a": 7
},
"Shift",
"Z",
"X",
"C",
"V",
"B",
"N",
"M",
{
"a": 5
},
"<\n,",
">\n.",
{
"a": 7
},
"/",
"Return"
],
[
"Ctrl",
"Alt",
"OS",
"Super",
"&dArr;",
{
"w": 2
},
"",
"&uArr;",
"&larr;",
"&darr;",
"&uarr;",
"&rarr;"
]
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
[
{
"name": "Plank Don Gato Programming Raise Layer"
},
[
{
"a": 7
},
"Print Screen",
"Page Up",
"Page Down",
"Home",
"End",
"Insert",
"Scroll Lock",
"Num Lock",
"Pause",
"{",
"}",
"_"
],
[
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"Delete"
],
[
"Caps Lock",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
[
"Right Shift",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"|",
"Menu"
],
[
"Right Ctrl",
"Right Alt",
"Right Os",
"",
"",
{
"w": 2
},
"",
"",
"",
"",
"",
""
]
]
Loading

0 comments on commit 7bb9c76

Please sign in to comment.