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

Custom preonic layout optimised for programming #8263

Merged
merged 10 commits into from
May 6, 2020
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