diff options
Diffstat (limited to 'keyboards')
20 files changed, 574 insertions, 0 deletions
diff --git a/keyboards/planck/keymaps/dbroqua/config.h b/keyboards/planck/keymaps/dbroqua/config.h new file mode 100644 index 000000000..4c6158199 --- /dev/null +++ b/keyboards/planck/keymaps/dbroqua/config.h | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | #ifndef CONFIG_USER_H | ||
| 2 | #define CONFIG_USER_H | ||
| 3 | |||
| 4 | #include "../../config.h" | ||
| 5 | |||
| 6 | /* | ||
| 7 | * MIDI options | ||
| 8 | */ | ||
| 9 | |||
| 10 | /* Prevent use of disabled MIDI features in the keymap */ | ||
| 11 | //#define MIDI_ENABLE_STRICT 1 | ||
| 12 | |||
| 13 | /* enable basic MIDI features: | ||
| 14 | - MIDI notes can be sent when in Music mode is on | ||
| 15 | */ | ||
| 16 | #define MIDI_BASIC | ||
| 17 | |||
| 18 | /* enable advanced MIDI features: | ||
| 19 | - MIDI notes can be added to the keymap | ||
| 20 | - Octave shift and transpose | ||
| 21 | - Virtual sustain, portamento, and modulation wheel | ||
| 22 | - etc. | ||
| 23 | */ | ||
| 24 | //#define MIDI_ADVANCED | ||
| 25 | |||
| 26 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ | ||
| 27 | //#define MIDI_TONE_KEYCODE_OCTAVES 2 | ||
| 28 | |||
| 29 | #endif \ No newline at end of file | ||
diff --git a/keyboards/planck/keymaps/default/config.h b/keyboards/planck/keymaps/default/config.h new file mode 100644 index 000000000..4c6158199 --- /dev/null +++ b/keyboards/planck/keymaps/default/config.h | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | #ifndef CONFIG_USER_H | ||
| 2 | #define CONFIG_USER_H | ||
| 3 | |||
| 4 | #include "../../config.h" | ||
| 5 | |||
| 6 | /* | ||
| 7 | * MIDI options | ||
| 8 | */ | ||
| 9 | |||
| 10 | /* Prevent use of disabled MIDI features in the keymap */ | ||
| 11 | //#define MIDI_ENABLE_STRICT 1 | ||
| 12 | |||
| 13 | /* enable basic MIDI features: | ||
| 14 | - MIDI notes can be sent when in Music mode is on | ||
| 15 | */ | ||
| 16 | #define MIDI_BASIC | ||
| 17 | |||
| 18 | /* enable advanced MIDI features: | ||
| 19 | - MIDI notes can be added to the keymap | ||
| 20 | - Octave shift and transpose | ||
| 21 | - Virtual sustain, portamento, and modulation wheel | ||
| 22 | - etc. | ||
| 23 | */ | ||
| 24 | //#define MIDI_ADVANCED | ||
| 25 | |||
| 26 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ | ||
| 27 | //#define MIDI_TONE_KEYCODE_OCTAVES 2 | ||
| 28 | |||
| 29 | #endif \ No newline at end of file | ||
diff --git a/keyboards/planck/keymaps/experimental/config.h b/keyboards/planck/keymaps/experimental/config.h index cc093bee4..492490ca1 100644 --- a/keyboards/planck/keymaps/experimental/config.h +++ b/keyboards/planck/keymaps/experimental/config.h | |||
| @@ -14,4 +14,27 @@ | |||
| 14 | #define RGBLIGHT_HUE_STEP 10 | 14 | #define RGBLIGHT_HUE_STEP 10 |
| 15 | #define RGBLIGHT_SAT_STEP 17 | 15 | #define RGBLIGHT_SAT_STEP 17 |
| 16 | 16 | ||
| 17 | /* | ||
| 18 | * MIDI options | ||
| 19 | */ | ||
| 20 | |||
| 21 | /* Prevent use of disabled MIDI features in the keymap */ | ||
| 22 | //#define MIDI_ENABLE_STRICT 1 | ||
| 23 | |||
| 24 | /* enable basic MIDI features: | ||
| 25 | - MIDI notes can be sent when in Music mode is on | ||
| 26 | */ | ||
| 27 | #define MIDI_BASIC | ||
| 28 | |||
| 29 | /* enable advanced MIDI features: | ||
| 30 | - MIDI notes can be added to the keymap | ||
| 31 | - Octave shift and transpose | ||
| 32 | - Virtual sustain, portamento, and modulation wheel | ||
| 33 | - etc. | ||
| 34 | */ | ||
| 35 | //#define MIDI_ADVANCED | ||
| 36 | |||
| 37 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ | ||
| 38 | //#define MIDI_TONE_KEYCODE_OCTAVES 2 | ||
| 39 | |||
| 17 | #endif | 40 | #endif |
diff --git a/keyboards/planck/keymaps/impossible/config.h b/keyboards/planck/keymaps/impossible/config.h new file mode 100644 index 000000000..4c6158199 --- /dev/null +++ b/keyboards/planck/keymaps/impossible/config.h | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | #ifndef CONFIG_USER_H | ||
| 2 | #define CONFIG_USER_H | ||
| 3 | |||
| 4 | #include "../../config.h" | ||
| 5 | |||
| 6 | /* | ||
| 7 | * MIDI options | ||
| 8 | */ | ||
| 9 | |||
| 10 | /* Prevent use of disabled MIDI features in the keymap */ | ||
| 11 | //#define MIDI_ENABLE_STRICT 1 | ||
| 12 | |||
| 13 | /* enable basic MIDI features: | ||
| 14 | - MIDI notes can be sent when in Music mode is on | ||
| 15 | */ | ||
| 16 | #define MIDI_BASIC | ||
| 17 | |||
| 18 | /* enable advanced MIDI features: | ||
| 19 | - MIDI notes can be added to the keymap | ||
| 20 | - Octave shift and transpose | ||
| 21 | - Virtual sustain, portamento, and modulation wheel | ||
| 22 | - etc. | ||
| 23 | */ | ||
| 24 | //#define MIDI_ADVANCED | ||
| 25 | |||
| 26 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ | ||
| 27 | //#define MIDI_TONE_KEYCODE_OCTAVES 2 | ||
| 28 | |||
| 29 | #endif \ No newline at end of file | ||
diff --git a/keyboards/planck/keymaps/jeebak/config.h b/keyboards/planck/keymaps/jeebak/config.h new file mode 100644 index 000000000..4c6158199 --- /dev/null +++ b/keyboards/planck/keymaps/jeebak/config.h | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | #ifndef CONFIG_USER_H | ||
| 2 | #define CONFIG_USER_H | ||
| 3 | |||
| 4 | #include "../../config.h" | ||
| 5 | |||
| 6 | /* | ||
| 7 | * MIDI options | ||
| 8 | */ | ||
| 9 | |||
| 10 | /* Prevent use of disabled MIDI features in the keymap */ | ||
| 11 | //#define MIDI_ENABLE_STRICT 1 | ||
| 12 | |||
| 13 | /* enable basic MIDI features: | ||
| 14 | - MIDI notes can be sent when in Music mode is on | ||
| 15 | */ | ||
| 16 | #define MIDI_BASIC | ||
| 17 | |||
| 18 | /* enable advanced MIDI features: | ||
| 19 | - MIDI notes can be added to the keymap | ||
| 20 | - Octave shift and transpose | ||
| 21 | - Virtual sustain, portamento, and modulation wheel | ||
| 22 | - etc. | ||
| 23 | */ | ||
| 24 | //#define MIDI_ADVANCED | ||
| 25 | |||
| 26 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ | ||
| 27 | //#define MIDI_TONE_KEYCODE_OCTAVES 2 | ||
| 28 | |||
| 29 | #endif \ No newline at end of file | ||
diff --git a/keyboards/planck/keymaps/jhenahan/config.h b/keyboards/planck/keymaps/jhenahan/config.h index cd3adc41c..1e42b92b9 100644 --- a/keyboards/planck/keymaps/jhenahan/config.h +++ b/keyboards/planck/keymaps/jhenahan/config.h | |||
| @@ -6,4 +6,27 @@ | |||
| 6 | #define FORCE_NKRO | 6 | #define FORCE_NKRO |
| 7 | #define WORKMAN_SOUND COLEMAK_SOUND | 7 | #define WORKMAN_SOUND COLEMAK_SOUND |
| 8 | 8 | ||
| 9 | /* | ||
| 10 | * MIDI options | ||
| 11 | */ | ||
| 12 | |||
| 13 | /* Prevent use of disabled MIDI features in the keymap */ | ||
| 14 | //#define MIDI_ENABLE_STRICT 1 | ||
| 15 | |||
| 16 | /* enable basic MIDI features: | ||
| 17 | - MIDI notes can be sent when in Music mode is on | ||
| 18 | */ | ||
| 19 | #define MIDI_BASIC | ||
| 20 | |||
| 21 | /* enable advanced MIDI features: | ||
| 22 | - MIDI notes can be added to the keymap | ||
| 23 | - Octave shift and transpose | ||
| 24 | - Virtual sustain, portamento, and modulation wheel | ||
| 25 | - etc. | ||
| 26 | */ | ||
| 27 | //#define MIDI_ADVANCED | ||
| 28 | |||
| 29 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ | ||
| 30 | //#define MIDI_TONE_KEYCODE_OCTAVES 2 | ||
| 31 | |||
| 9 | #endif | 32 | #endif |
diff --git a/keyboards/planck/keymaps/premek/config.h b/keyboards/planck/keymaps/premek/config.h new file mode 100644 index 000000000..4c6158199 --- /dev/null +++ b/keyboards/planck/keymaps/premek/config.h | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | #ifndef CONFIG_USER_H | ||
| 2 | #define CONFIG_USER_H | ||
| 3 | |||
| 4 | #include "../../config.h" | ||
| 5 | |||
| 6 | /* | ||
| 7 | * MIDI options | ||
| 8 | */ | ||
| 9 | |||
| 10 | /* Prevent use of disabled MIDI features in the keymap */ | ||
| 11 | //#define MIDI_ENABLE_STRICT 1 | ||
| 12 | |||
| 13 | /* enable basic MIDI features: | ||
| 14 | - MIDI notes can be sent when in Music mode is on | ||
| 15 | */ | ||
| 16 | #define MIDI_BASIC | ||
| 17 | |||
| 18 | /* enable advanced MIDI features: | ||
| 19 | - MIDI notes can be added to the keymap | ||
| 20 | - Octave shift and transpose | ||
| 21 | - Virtual sustain, portamento, and modulation wheel | ||
| 22 | - etc. | ||
| 23 | */ | ||
| 24 | //#define MIDI_ADVANCED | ||
| 25 | |||
| 26 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ | ||
| 27 | //#define MIDI_TONE_KEYCODE_OCTAVES 2 | ||
| 28 | |||
| 29 | #endif \ No newline at end of file | ||
diff --git a/keyboards/planck/keymaps/sgoodwin/config.h b/keyboards/planck/keymaps/sgoodwin/config.h new file mode 100644 index 000000000..4c6158199 --- /dev/null +++ b/keyboards/planck/keymaps/sgoodwin/config.h | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | #ifndef CONFIG_USER_H | ||
| 2 | #define CONFIG_USER_H | ||
| 3 | |||
| 4 | #include "../../config.h" | ||
| 5 | |||
| 6 | /* | ||
| 7 | * MIDI options | ||
| 8 | */ | ||
| 9 | |||
| 10 | /* Prevent use of disabled MIDI features in the keymap */ | ||
| 11 | //#define MIDI_ENABLE_STRICT 1 | ||
| 12 | |||
| 13 | /* enable basic MIDI features: | ||
| 14 | - MIDI notes can be sent when in Music mode is on | ||
| 15 | */ | ||
| 16 | #define MIDI_BASIC | ||
| 17 | |||
| 18 | /* enable advanced MIDI features: | ||
| 19 | - MIDI notes can be added to the keymap | ||
| 20 | - Octave shift and transpose | ||
| 21 | - Virtual sustain, portamento, and modulation wheel | ||
| 22 | - etc. | ||
| 23 | */ | ||
| 24 | //#define MIDI_ADVANCED | ||
| 25 | |||
| 26 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ | ||
| 27 | //#define MIDI_TONE_KEYCODE_OCTAVES 2 | ||
| 28 | |||
| 29 | #endif \ No newline at end of file | ||
diff --git a/keyboards/planck/keymaps/smt/config.h b/keyboards/planck/keymaps/smt/config.h new file mode 100644 index 000000000..4c6158199 --- /dev/null +++ b/keyboards/planck/keymaps/smt/config.h | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | #ifndef CONFIG_USER_H | ||
| 2 | #define CONFIG_USER_H | ||
| 3 | |||
| 4 | #include "../../config.h" | ||
| 5 | |||
| 6 | /* | ||
| 7 | * MIDI options | ||
| 8 | */ | ||
| 9 | |||
| 10 | /* Prevent use of disabled MIDI features in the keymap */ | ||
| 11 | //#define MIDI_ENABLE_STRICT 1 | ||
| 12 | |||
| 13 | /* enable basic MIDI features: | ||
| 14 | - MIDI notes can be sent when in Music mode is on | ||
| 15 | */ | ||
| 16 | #define MIDI_BASIC | ||
| 17 | |||
| 18 | /* enable advanced MIDI features: | ||
| 19 | - MIDI notes can be added to the keymap | ||
| 20 | - Octave shift and transpose | ||
| 21 | - Virtual sustain, portamento, and modulation wheel | ||
| 22 | - etc. | ||
| 23 | */ | ||
| 24 | //#define MIDI_ADVANCED | ||
| 25 | |||
| 26 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ | ||
| 27 | //#define MIDI_TONE_KEYCODE_OCTAVES 2 | ||
| 28 | |||
| 29 | #endif \ No newline at end of file | ||
diff --git a/keyboards/planck/keymaps/thermal_printer/config.h b/keyboards/planck/keymaps/thermal_printer/config.h index 430b6493c..bcd098930 100644 --- a/keyboards/planck/keymaps/thermal_printer/config.h +++ b/keyboards/planck/keymaps/thermal_printer/config.h | |||
| @@ -20,4 +20,27 @@ | |||
| 20 | sei(); \ | 20 | sei(); \ |
| 21 | } while(0) | 21 | } while(0) |
| 22 | 22 | ||
| 23 | /* | ||
| 24 | * MIDI options | ||
| 25 | */ | ||
| 26 | |||
| 27 | /* Prevent use of disabled MIDI features in the keymap */ | ||
| 28 | //#define MIDI_ENABLE_STRICT 1 | ||
| 29 | |||
| 30 | /* enable basic MIDI features: | ||
| 31 | - MIDI notes can be sent when in Music mode is on | ||
| 32 | */ | ||
| 33 | #define MIDI_BASIC | ||
| 34 | |||
| 35 | /* enable advanced MIDI features: | ||
| 36 | - MIDI notes can be added to the keymap | ||
| 37 | - Octave shift and transpose | ||
| 38 | - Virtual sustain, portamento, and modulation wheel | ||
| 39 | - etc. | ||
| 40 | */ | ||
| 41 | //#define MIDI_ADVANCED | ||
| 42 | |||
| 43 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ | ||
| 44 | //#define MIDI_TONE_KEYCODE_OCTAVES 2 | ||
| 45 | |||
| 23 | #endif \ No newline at end of file | 46 | #endif \ No newline at end of file |
diff --git a/keyboards/planck/keymaps/unicode/config.h b/keyboards/planck/keymaps/unicode/config.h new file mode 100644 index 000000000..4c6158199 --- /dev/null +++ b/keyboards/planck/keymaps/unicode/config.h | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | #ifndef CONFIG_USER_H | ||
| 2 | #define CONFIG_USER_H | ||
| 3 | |||
| 4 | #include "../../config.h" | ||
| 5 | |||
| 6 | /* | ||
| 7 | * MIDI options | ||
| 8 | */ | ||
| 9 | |||
| 10 | /* Prevent use of disabled MIDI features in the keymap */ | ||
| 11 | //#define MIDI_ENABLE_STRICT 1 | ||
| 12 | |||
| 13 | /* enable basic MIDI features: | ||
| 14 | - MIDI notes can be sent when in Music mode is on | ||
| 15 | */ | ||
| 16 | #define MIDI_BASIC | ||
| 17 | |||
| 18 | /* enable advanced MIDI features: | ||
| 19 | - MIDI notes can be added to the keymap | ||
| 20 | - Octave shift and transpose | ||
| 21 | - Virtual sustain, portamento, and modulation wheel | ||
| 22 | - etc. | ||
| 23 | */ | ||
| 24 | //#define MIDI_ADVANCED | ||
| 25 | |||
| 26 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ | ||
| 27 | //#define MIDI_TONE_KEYCODE_OCTAVES 2 | ||
| 28 | |||
| 29 | #endif \ No newline at end of file | ||
diff --git a/keyboards/planck/keymaps/xyverz/config.h b/keyboards/planck/keymaps/xyverz/config.h new file mode 100644 index 000000000..4c6158199 --- /dev/null +++ b/keyboards/planck/keymaps/xyverz/config.h | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | #ifndef CONFIG_USER_H | ||
| 2 | #define CONFIG_USER_H | ||
| 3 | |||
| 4 | #include "../../config.h" | ||
| 5 | |||
| 6 | /* | ||
| 7 | * MIDI options | ||
| 8 | */ | ||
| 9 | |||
| 10 | /* Prevent use of disabled MIDI features in the keymap */ | ||
| 11 | //#define MIDI_ENABLE_STRICT 1 | ||
| 12 | |||
| 13 | /* enable basic MIDI features: | ||
| 14 | - MIDI notes can be sent when in Music mode is on | ||
| 15 | */ | ||
| 16 | #define MIDI_BASIC | ||
| 17 | |||
| 18 | /* enable advanced MIDI features: | ||
| 19 | - MIDI notes can be added to the keymap | ||
| 20 | - Octave shift and transpose | ||
| 21 | - Virtual sustain, portamento, and modulation wheel | ||
| 22 | - etc. | ||
| 23 | */ | ||
| 24 | //#define MIDI_ADVANCED | ||
| 25 | |||
| 26 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ | ||
| 27 | //#define MIDI_TONE_KEYCODE_OCTAVES 2 | ||
| 28 | |||
| 29 | #endif \ No newline at end of file | ||
diff --git a/keyboards/preonic/keymaps/CMD-Preonic/config.h b/keyboards/preonic/keymaps/CMD-Preonic/config.h new file mode 100644 index 000000000..4c6158199 --- /dev/null +++ b/keyboards/preonic/keymaps/CMD-Preonic/config.h | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | #ifndef CONFIG_USER_H | ||
| 2 | #define CONFIG_USER_H | ||
| 3 | |||
| 4 | #include "../../config.h" | ||
| 5 | |||
| 6 | /* | ||
| 7 | * MIDI options | ||
| 8 | */ | ||
| 9 | |||
| 10 | /* Prevent use of disabled MIDI features in the keymap */ | ||
| 11 | //#define MIDI_ENABLE_STRICT 1 | ||
| 12 | |||
| 13 | /* enable basic MIDI features: | ||
| 14 | - MIDI notes can be sent when in Music mode is on | ||
| 15 | */ | ||
| 16 | #define MIDI_BASIC | ||
| 17 | |||
| 18 | /* enable advanced MIDI features: | ||
| 19 | - MIDI notes can be added to the keymap | ||
| 20 | - Octave shift and transpose | ||
| 21 | - Virtual sustain, portamento, and modulation wheel | ||
| 22 | - etc. | ||
| 23 | */ | ||
| 24 | //#define MIDI_ADVANCED | ||
| 25 | |||
| 26 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ | ||
| 27 | //#define MIDI_TONE_KEYCODE_OCTAVES 2 | ||
| 28 | |||
| 29 | #endif \ No newline at end of file | ||
diff --git a/keyboards/preonic/keymaps/default/config.h b/keyboards/preonic/keymaps/default/config.h new file mode 100644 index 000000000..4c6158199 --- /dev/null +++ b/keyboards/preonic/keymaps/default/config.h | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | #ifndef CONFIG_USER_H | ||
| 2 | #define CONFIG_USER_H | ||
| 3 | |||
| 4 | #include "../../config.h" | ||
| 5 | |||
| 6 | /* | ||
| 7 | * MIDI options | ||
| 8 | */ | ||
| 9 | |||
| 10 | /* Prevent use of disabled MIDI features in the keymap */ | ||
| 11 | //#define MIDI_ENABLE_STRICT 1 | ||
| 12 | |||
| 13 | /* enable basic MIDI features: | ||
| 14 | - MIDI notes can be sent when in Music mode is on | ||
| 15 | */ | ||
| 16 | #define MIDI_BASIC | ||
| 17 | |||
| 18 | /* enable advanced MIDI features: | ||
| 19 | - MIDI notes can be added to the keymap | ||
| 20 | - Octave shift and transpose | ||
| 21 | - Virtual sustain, portamento, and modulation wheel | ||
| 22 | - etc. | ||
| 23 | */ | ||
| 24 | //#define MIDI_ADVANCED | ||
| 25 | |||
| 26 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ | ||
| 27 | //#define MIDI_TONE_KEYCODE_OCTAVES 2 | ||
| 28 | |||
| 29 | #endif \ No newline at end of file | ||
diff --git a/keyboards/preonic/keymaps/smt/config.h b/keyboards/preonic/keymaps/smt/config.h new file mode 100644 index 000000000..4c6158199 --- /dev/null +++ b/keyboards/preonic/keymaps/smt/config.h | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | #ifndef CONFIG_USER_H | ||
| 2 | #define CONFIG_USER_H | ||
| 3 | |||
| 4 | #include "../../config.h" | ||
| 5 | |||
| 6 | /* | ||
| 7 | * MIDI options | ||
| 8 | */ | ||
| 9 | |||
| 10 | /* Prevent use of disabled MIDI features in the keymap */ | ||
| 11 | //#define MIDI_ENABLE_STRICT 1 | ||
| 12 | |||
| 13 | /* enable basic MIDI features: | ||
| 14 | - MIDI notes can be sent when in Music mode is on | ||
| 15 | */ | ||
| 16 | #define MIDI_BASIC | ||
| 17 | |||
| 18 | /* enable advanced MIDI features: | ||
| 19 | - MIDI notes can be added to the keymap | ||
| 20 | - Octave shift and transpose | ||
| 21 | - Virtual sustain, portamento, and modulation wheel | ||
| 22 | - etc. | ||
| 23 | */ | ||
| 24 | //#define MIDI_ADVANCED | ||
| 25 | |||
| 26 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ | ||
| 27 | //#define MIDI_TONE_KEYCODE_OCTAVES 2 | ||
| 28 | |||
| 29 | #endif \ No newline at end of file | ||
diff --git a/keyboards/satan/keymaps/midi/Makefile b/keyboards/satan/keymaps/midi/Makefile new file mode 100644 index 000000000..89c34b394 --- /dev/null +++ b/keyboards/satan/keymaps/midi/Makefile | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | # Build Options | ||
| 2 | # change to "no" to disable the options, or define them in the Makefile in | ||
| 3 | # the appropriate keymap folder that will get included automatically | ||
| 4 | # | ||
| 5 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | ||
| 6 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | ||
| 7 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
| 8 | CONSOLE_ENABLE = no # Console for debug(+400) | ||
| 9 | COMMAND_ENABLE = yes # Commands for debug and configuration | ||
| 10 | NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 11 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | ||
| 12 | MIDI_ENABLE = yes # MIDI support (+2400 to 4200, depending on config) | ||
| 13 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 14 | UNICODE_ENABLE = no # Unicode | ||
| 15 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 16 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. | ||
| 17 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 18 | |||
| 19 | ifndef QUANTUM_DIR | ||
| 20 | include ../../../../Makefile | ||
| 21 | endif | ||
diff --git a/keyboards/satan/keymaps/midi/config.h b/keyboards/satan/keymaps/midi/config.h new file mode 100644 index 000000000..8e10b04ec --- /dev/null +++ b/keyboards/satan/keymaps/midi/config.h | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | #ifndef CONFIG_USER_H | ||
| 2 | #define CONFIG_USER_H | ||
| 3 | |||
| 4 | #include "../../config.h" | ||
| 5 | |||
| 6 | /* | ||
| 7 | * MIDI options | ||
| 8 | */ | ||
| 9 | |||
| 10 | /* Prevent use of disabled MIDI features in the keymap */ | ||
| 11 | #define MIDI_ENABLE_STRICT 1 | ||
| 12 | |||
| 13 | /* enable basic MIDI features: | ||
| 14 | - MIDI notes can be sent when in Music mode is on | ||
| 15 | */ | ||
| 16 | #define MIDI_BASIC | ||
| 17 | |||
| 18 | /* enable advanced MIDI features: | ||
| 19 | - MIDI notes can be added to the keymap | ||
| 20 | - Octave shift and transpose | ||
| 21 | - Virtual sustain, portamento, and modulation wheel | ||
| 22 | - etc. | ||
| 23 | */ | ||
| 24 | #define MIDI_ADVANCED | ||
| 25 | |||
| 26 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ | ||
| 27 | #define MIDI_TONE_KEYCODE_OCTAVES 2 | ||
| 28 | |||
| 29 | #endif \ No newline at end of file | ||
diff --git a/keyboards/satan/keymaps/midi/keymap.c b/keyboards/satan/keymaps/midi/keymap.c new file mode 100644 index 000000000..8378b4e4b --- /dev/null +++ b/keyboards/satan/keymaps/midi/keymap.c | |||
| @@ -0,0 +1,77 @@ | |||
| 1 | #include "satan.h" | ||
| 2 | |||
| 3 | // Each layer gets a name for readability, which is then used in the keymap matrix below. | ||
| 4 | // The underscores don't mean anything - you can have a layer called STUFF or any other name. | ||
| 5 | // Layer names don't all need to be of the same length, obviously, and you can also skip them | ||
| 6 | // entirely and just use numbers. | ||
| 7 | #define _BL 0 | ||
| 8 | #define _ML 1 | ||
| 9 | |||
| 10 | // readability | ||
| 11 | #define _______ KC_TRNS | ||
| 12 | #define XXXXXXX KC_NO | ||
| 13 | |||
| 14 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 15 | /* Keymap _BL: (Base Layer) Default Layer | ||
| 16 | * ,-----------------------------------------------------------. | ||
| 17 | * |Esc | 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Backsp | | ||
| 18 | * |-----------------------------------------------------------| | ||
| 19 | * |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \ | | ||
| 20 | * |-----------------------------------------------------------| | ||
| 21 | * |CAPS | A| S| D| F| G| H| J| K| L| ;| '|Return | | ||
| 22 | * |-----------------------------------------------------------| | ||
| 23 | * |Shift | Z| X| C| V| B| N| M| ,| .| /|Shift | | ||
| 24 | * |-----------------------------------------------------------| | ||
| 25 | * |Ctrl|Gui |Alt | Space |Alt |Gui |Midi|Ctrl | | ||
| 26 | * `-----------------------------------------------------------' | ||
| 27 | */ | ||
| 28 | [_BL] = KEYMAP_ANSI( | ||
| 29 | KC_ESC, 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, \ | ||
| 30 | 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, \ | ||
| 31 | 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, \ | ||
| 32 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH, KC_RSFT, \ | ||
| 33 | KC_LCTL, KC_LGUI,KC_LALT, KC_SPC, KC_RALT,KC_RGUI, TG(_ML), KC_RCTL), | ||
| 34 | |||
| 35 | #if defined(MIDI_ENABLE) && defined(MIDI_ADVANCED) | ||
| 36 | /* Keymap _ML: MIDI Layer (Advanced) | ||
| 37 | * ,------------------------------------------------------------------------. | ||
| 38 | * | Exit | | | | | | | | | | | | | | | ||
| 39 | * |------------------------------------------------------------------------| | ||
| 40 | * | Ch+ | | C# | D# | | F# | G# | A# | | C# | D# | | | | | ||
| 41 | * |------------------------------------------------------------------------| | ||
| 42 | * | Mod | C | D | E | F | G | A | B | C | D | E | F | | | ||
| 43 | * |------------------------------------------------------------------------| | ||
| 44 | * | Sustain |Oct-|Oct+|Mod-|Mod+| | | |Tns-|Tns+|Tns0| Sustain | | ||
| 45 | * |------------------------------------------------------------------------| | ||
| 46 | * | | | | All notes off | | | | | | ||
| 47 | * `------------------------------------------------------------------------' | ||
| 48 | */ | ||
| 49 | [_ML] = KEYMAP_ANSI( | ||
| 50 | TG(_ML), MI_VEL_1, MI_VEL_2, MI_VEL_3, MI_VEL_4, MI_VEL_5, MI_VEL_6, MI_VEL_7, MI_VEL_8, MI_VEL_9, MI_VEL_10, XXXXXXX, XXXXXXX, XXXXXXX, \ | ||
| 51 | MI_CHU, XXXXXXX, MI_Cs, MI_Ds, XXXXXXX, MI_Fs, MI_Gs, MI_As, XXXXXXX, MI_Cs_1, MI_Ds_1, XXXXXXX, XXXXXXX, XXXXXXX, \ | ||
| 52 | MI_MOD, MI_C, MI_D, MI_E, MI_F, MI_G, MI_A, MI_B, MI_C_1, MI_D_1, MI_E_1, MI_F_1, _______, \ | ||
| 53 | MI_SUS, MI_OCTD, MI_OCTU, MI_MODSD, MI_MODSU, XXXXXXX, XXXXXXX, XXXXXXX, MI_TRNSD, MI_TRNSU, MI_TRNS_0, MI_SUS, \ | ||
| 54 | _______, _______, _______, MI_ALLOFF, _______, _______, _______, _______), | ||
| 55 | #elif defined(MIDI_ENABLE) && defined(MIDI_BASIC) | ||
| 56 | /* Keymap _ML: MIDI Layer (Advanced) | ||
| 57 | * ,------------------------------------------------------------------------. | ||
| 58 | * | Exit | | | | | | | | | | | | | | | ||
| 59 | * |------------------------------------------------------------------------| | ||
| 60 | * | | | | | | | | | | | | | | | | ||
| 61 | * |------------------------------------------------------------------------| | ||
| 62 | * | | | | | | | | | | | | | | | ||
| 63 | * |------------------------------------------------------------------------| | ||
| 64 | * | |MuOn|MuOf|MiOn|MiOf| | | | | | | | | ||
| 65 | * |------------------------------------------------------------------------| | ||
| 66 | * | | | | | | | | | | ||
| 67 | * `------------------------------------------------------------------------' | ||
| 68 | */ | ||
| 69 | |||
| 70 | [_ML] = KEYMAP_ANSI( | ||
| 71 | TG(_ML), _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ | ||
| 72 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ | ||
| 73 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ | ||
| 74 | _______, MU_ON, MU_OFF, MI_ON, MI_OFF, _______, _______, _______, _______, _______, _______, _______, \ | ||
| 75 | _______, _______, _______, _______, _______, _______, _______, _______), | ||
| 76 | #endif | ||
| 77 | }; \ No newline at end of file | ||
diff --git a/keyboards/satan/keymaps/midi/readme.md b/keyboards/satan/keymaps/midi/readme.md new file mode 100644 index 000000000..87844a854 --- /dev/null +++ b/keyboards/satan/keymaps/midi/readme.md | |||
| @@ -0,0 +1 @@ | |||
| # Satan GH60 layout demonstrating MIDI key mapping | |||
diff --git a/keyboards/subatomic/keymaps/default/config.h b/keyboards/subatomic/keymaps/default/config.h new file mode 100644 index 000000000..4c6158199 --- /dev/null +++ b/keyboards/subatomic/keymaps/default/config.h | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | #ifndef CONFIG_USER_H | ||
| 2 | #define CONFIG_USER_H | ||
| 3 | |||
| 4 | #include "../../config.h" | ||
| 5 | |||
| 6 | /* | ||
| 7 | * MIDI options | ||
| 8 | */ | ||
| 9 | |||
| 10 | /* Prevent use of disabled MIDI features in the keymap */ | ||
| 11 | //#define MIDI_ENABLE_STRICT 1 | ||
| 12 | |||
| 13 | /* enable basic MIDI features: | ||
| 14 | - MIDI notes can be sent when in Music mode is on | ||
| 15 | */ | ||
| 16 | #define MIDI_BASIC | ||
| 17 | |||
| 18 | /* enable advanced MIDI features: | ||
| 19 | - MIDI notes can be added to the keymap | ||
| 20 | - Octave shift and transpose | ||
| 21 | - Virtual sustain, portamento, and modulation wheel | ||
| 22 | - etc. | ||
| 23 | */ | ||
| 24 | //#define MIDI_ADVANCED | ||
| 25 | |||
| 26 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ | ||
| 27 | //#define MIDI_TONE_KEYCODE_OCTAVES 2 | ||
| 28 | |||
| 29 | #endif \ No newline at end of file | ||
