diff options
| author | Luis Garcia <luis@bitjester.com> | 2023-04-05 12:35:34 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-05 12:35:34 -0600 |
| commit | d058091d0b2f98791d37c4a77779a8202592284f (patch) | |
| tree | fb8487c257020233cff14543829f2b349916c46b /keyboards | |
| parent | 596319c92fb8d61918a89133804ba232158e2323 (diff) | |
Add peterfalken userspace & keymaps (#19897)
Co-authored-by: Peter.Falken <luis.garcia@bitjester.com>
Diffstat (limited to 'keyboards')
20 files changed, 804 insertions, 0 deletions
diff --git a/keyboards/adafruit/macropad/keymaps/peterfalken/keymap.c b/keyboards/adafruit/macropad/keymaps/peterfalken/keymap.c new file mode 100644 index 0000000000..f931263347 --- /dev/null +++ b/keyboards/adafruit/macropad/keymaps/peterfalken/keymap.c | |||
| @@ -0,0 +1,98 @@ | |||
| 1 | // Copyright 2023 Peter.Falken (@PeterFalken) | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #include "peterfalken.h" | ||
| 5 | |||
| 6 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 7 | [0] = LAYOUT( | ||
| 8 | KC_MUTE, | ||
| 9 | KC_7, KC_8, KC_9, | ||
| 10 | KC_4, KC_5, KC_6, | ||
| 11 | KC_1, KC_2, KC_3, | ||
| 12 | KC_ENT, KC_0, KC_BSPC | ||
| 13 | ) | ||
| 14 | }; | ||
| 15 | |||
| 16 | #ifdef ENCODER_MAP_ENABLE | ||
| 17 | const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = { | ||
| 18 | [0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) }, | ||
| 19 | }; | ||
| 20 | #endif | ||
| 21 | |||
| 22 | #ifdef OLED_ENABLE | ||
| 23 | static void render_qmk_logo(void) { | ||
| 24 | static const char PROGMEM qmk_logo[] = { | ||
| 25 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 26 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 27 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 28 | 0x3f, 0x3f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3e, 0x3f, 0x3e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3f, | ||
| 29 | 0x3f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f, | ||
| 30 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 31 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 32 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 33 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 34 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 35 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 36 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 37 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 38 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 39 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 40 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 41 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 42 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 43 | 0x03, 0x83, 0x83, 0x83, 0x83, 0x83, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 44 | 0x00, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfe, 0xfe, | ||
| 45 | 0xfe, 0xfe, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfc, 0xfe, 0xfe, 0xfe, 0xfe, 0x00, | ||
| 46 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x83, 0x83, 0x83, 0x83, 0x83, 0x03, | ||
| 47 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 48 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 49 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 50 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 51 | 0x81, 0x83, 0x83, 0x83, 0x83, 0x83, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 52 | 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, | ||
| 53 | 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, | ||
| 54 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x83, 0x83, 0x83, 0x83, 0x83, 0x81, | ||
| 55 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 56 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 57 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 58 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 59 | 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 60 | 0x00, 0x01, 0x07, 0x1f, 0x3f, 0x7f, 0x7e, 0xf8, 0xf0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xff, 0xff, | ||
| 61 | 0xff, 0xff, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xf0, 0xf8, 0x7e, 0x7f, 0x3f, 0x1f, 0x07, 0x00, 0x00, | ||
| 62 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, | ||
| 63 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 64 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 65 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 66 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 67 | 0xc0, 0xc1, 0xc1, 0xc1, 0xc1, 0xc1, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 68 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0xff, 0xff, | ||
| 69 | 0xff, 0xff, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 70 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc1, 0xc1, 0xc1, 0xc1, 0xc1, 0xc0, | ||
| 71 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 72 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 73 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 74 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 75 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 76 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 77 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 78 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 79 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 80 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 81 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 82 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 83 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 84 | 0xfc, 0xfc, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7c, 0xfc, 0x7c, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfc, | ||
| 85 | 0xfc, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfc, 0x7c, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfc, 0xfc, | ||
| 86 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 87 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 88 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 | ||
| 89 | }; | ||
| 90 | |||
| 91 | oled_write_raw_P(qmk_logo, sizeof(qmk_logo)); | ||
| 92 | } | ||
| 93 | |||
| 94 | bool oled_task_user(void) { | ||
| 95 | render_qmk_logo(); | ||
| 96 | return true; | ||
| 97 | } | ||
| 98 | #endif // OLED_ENABLE | ||
diff --git a/keyboards/adafruit/macropad/keymaps/peterfalken/rules.mk b/keyboards/adafruit/macropad/keymaps/peterfalken/rules.mk new file mode 100644 index 0000000000..59ffb099c2 --- /dev/null +++ b/keyboards/adafruit/macropad/keymaps/peterfalken/rules.mk | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | # Setup QMK features | ||
| 2 | ENCODER_MAP_ENABLE = yes | ||
| 3 | RGB_MATRIX_ENABLE = no # Disable RGB key matrix | ||
diff --git a/keyboards/planck/keymaps/peterfalken/config.h b/keyboards/planck/keymaps/peterfalken/config.h new file mode 100644 index 0000000000..4b14b7756b --- /dev/null +++ b/keyboards/planck/keymaps/peterfalken/config.h | |||
| @@ -0,0 +1,49 @@ | |||
| 1 | /* Copyright 2015-2021 Jack Humbert | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #ifdef AUDIO_ENABLE | ||
| 20 | # define STARTUP_SONG SONG(PLANCK_SOUND) | ||
| 21 | // #define STARTUP_SONG SONG(NO_SOUND) | ||
| 22 | |||
| 23 | # define DEFAULT_LAYER_SONGS \ | ||
| 24 | { SONG(QWERTY_SOUND), SONG(COLEMAK_SOUND), SONG(DVORAK_SOUND) } | ||
| 25 | #endif | ||
| 26 | |||
| 27 | /* | ||
| 28 | * MIDI options | ||
| 29 | */ | ||
| 30 | |||
| 31 | /* enable basic MIDI features: | ||
| 32 | - MIDI notes can be sent when in Music mode is on | ||
| 33 | */ | ||
| 34 | |||
| 35 | #define MIDI_BASIC | ||
| 36 | |||
| 37 | /* enable advanced MIDI features: | ||
| 38 | - MIDI notes can be added to the keymap | ||
| 39 | - Octave shift and transpose | ||
| 40 | - Virtual sustain, portamento, and modulation wheel | ||
| 41 | - etc. | ||
| 42 | */ | ||
| 43 | //#define MIDI_ADVANCED | ||
| 44 | |||
| 45 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ | ||
| 46 | //#define MIDI_TONE_KEYCODE_OCTAVES 2 | ||
| 47 | |||
| 48 | // Most tactile encoders have detents every 4 stages | ||
| 49 | #define ENCODER_RESOLUTION 4 | ||
diff --git a/keyboards/planck/keymaps/peterfalken/keymap.c b/keyboards/planck/keymaps/peterfalken/keymap.c new file mode 100644 index 0000000000..140149c472 --- /dev/null +++ b/keyboards/planck/keymaps/peterfalken/keymap.c | |||
| @@ -0,0 +1,80 @@ | |||
| 1 | // Copyright 2023 Peter.Falken (@PeterFalken) | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #include "muse.h" | ||
| 5 | #include "peterfalken.h" | ||
| 6 | |||
| 7 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 8 | /* Qwerty | ||
| 9 | * ,-----------------------------------------------------------------------------------. | ||
| 10 | * | Esc | Q | W | E | R | T | Y | U | I | O | P | Bksp | | ||
| 11 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 12 | * | Tab | A | S | D | F | G | H | J | K | L | ; | ' | | ||
| 13 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 14 | * | Shift| Z | X | C | V | B | N | M | , | . | / |Enter | | ||
| 15 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 16 | * | ▽ | Ctrl | Opt | Cmd | LWR | Space | RSE | Left | Down | Up |Right | | ||
| 17 | * `-----------------------------------------------------------------------------------' | ||
| 18 | */ | ||
| 19 | [_QWERTY] = LAYOUT_planck_grid( | ||
| 20 | KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, | ||
| 21 | KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, | ||
| 22 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , | ||
| 23 | _______, KC_LCTL, KC_LOPT, KC_LCMD, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT | ||
| 24 | ), | ||
| 25 | |||
| 26 | /* Lower | ||
| 27 | * ,-----------------------------------------------------------------------------------. | ||
| 28 | * | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | Del | | ||
| 29 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 30 | * | Del | F1 | F2 | F3 | F4 | F5 | F6 | _ | + | { | } | | | | ||
| 31 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 32 | * | ▽ | F7 | F8 | F9 | F10 | F11 | F12 |ISO ~ |ISO | | Home | End | ▽ | | ||
| 33 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 34 | * | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ ▽ | ▽ | Next | Vol- | Vol+ | Play | | ||
| 35 | * `-----------------------------------------------------------------------------------' | ||
| 36 | */ | ||
| 37 | [_LOWER] = LAYOUT_planck_grid( | ||
| 38 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL, | ||
| 39 | KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, | ||
| 40 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, S(KC_NUHS), S(KC_NUBS), KC_HOME, KC_END, _______, | ||
| 41 | _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY | ||
| 42 | ), | ||
| 43 | |||
| 44 | /* Raise | ||
| 45 | * ,-----------------------------------------------------------------------------------. | ||
| 46 | * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Bksp | | ||
| 47 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 48 | * | Del | F1 | F2 | F3 | F4 | F5 | F6 | - | = | [ | ] | \ | | ||
| 49 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 50 | * | ▽ | F7 | F8 | F9 | F10 | F11 | F12 |ISO # |ISO / |Pg Up |Pg Dn | ▽ | | ||
| 51 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 52 | * | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ ▽ | ▽ | Next | Vol- | Vol+ | Play | | ||
| 53 | * `-----------------------------------------------------------------------------------' | ||
| 54 | */ | ||
| 55 | [_RAISE] = LAYOUT_planck_grid( | ||
| 56 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, | ||
| 57 | KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, | ||
| 58 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NUHS, KC_NUBS, KC_PGUP, KC_PGDN, _______, | ||
| 59 | _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY | ||
| 60 | ), | ||
| 61 | |||
| 62 | /* Adjust (Lower + Raise) | ||
| 63 | * ,-----------------------------------------------------------------------------------. | ||
| 64 | * | RSET | ▽ | M.AP | M.AL | LPAD | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ | Del | | ||
| 65 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 66 | * | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ | SLEP | | ||
| 67 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 68 | * | CPWD | UN | CU | CO | PA | MV | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ | | ||
| 69 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 70 | * | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ ▽ | ▽ | ▽ | ▽ | ▽ | ▽ | | ||
| 71 | * `-----------------------------------------------------------------------------------' | ||
| 72 | */ | ||
| 73 | [_ADJUST] = LAYOUT_planck_grid( | ||
| 74 | QK_BOOT, _______, CK_M1, KC_MCTL, KC_LPAD, _______, _______, _______, _______, _______, _______, KC_DEL, | ||
| 75 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, CK_SLP, | ||
| 76 | CK_CW, _______, CK_CU, CK_CO, CK_PA, CK_MV, _______, _______, _______, _______, _______, _______, | ||
| 77 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 78 | ) | ||
| 79 | |||
| 80 | }; | ||
diff --git a/keyboards/planck/keymaps/peterfalken/readme.md b/keyboards/planck/keymaps/peterfalken/readme.md new file mode 100644 index 0000000000..f64d682a51 --- /dev/null +++ b/keyboards/planck/keymaps/peterfalken/readme.md | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | Copyright 2023 LEG <ucaboys@gmail.com> @PeterFalken | ||
| 2 | |||
| 3 | This program is free software: you can redistribute it and/or modify | ||
| 4 | it under the terms of the GNU General Public License as published by | ||
| 5 | the Free Software Foundation, either version 2 of the License, or | ||
| 6 | (at your option) any later version. | ||
| 7 | |||
| 8 | This program is distributed in the hope that it will be useful, | ||
| 9 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | GNU General Public License for more details. | ||
| 12 | |||
| 13 | You should have received a copy of the GNU General Public License | ||
| 14 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
diff --git a/keyboards/planck/keymaps/peterfalken/rules.mk b/keyboards/planck/keymaps/peterfalken/rules.mk new file mode 100644 index 0000000000..a33c6c1ddb --- /dev/null +++ b/keyboards/planck/keymaps/peterfalken/rules.mk | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | # Setup keymap QMK features | ||
| 2 | # TODO: Check for space optimizations | ||
| 3 | AUDIO_ENABLE = yes # Enable Audio Output | ||
| 4 | ENCODER_ENABLE = no # Disable encoder | ||
| 5 | |||
| 6 | ifeq ($(strip $(AUDIO_ENABLE)), yes) | ||
| 7 | SRC += muse.c | ||
| 8 | endif | ||
diff --git a/keyboards/preonic/keymaps/peterfalken/config.h b/keyboards/preonic/keymaps/peterfalken/config.h new file mode 100644 index 0000000000..797bd2c78d --- /dev/null +++ b/keyboards/preonic/keymaps/peterfalken/config.h | |||
| @@ -0,0 +1,49 @@ | |||
| 1 | /* Copyright 2015-2021 Jack Humbert | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #ifdef AUDIO_ENABLE | ||
| 20 | # define STARTUP_SONG SONG(PREONIC_SOUND) | ||
| 21 | // #define STARTUP_SONG SONG(NO_SOUND) | ||
| 22 | |||
| 23 | # define DEFAULT_LAYER_SONGS \ | ||
| 24 | { SONG(QWERTY_SOUND), SONG(COLEMAK_SOUND), SONG(DVORAK_SOUND) } | ||
| 25 | #endif | ||
| 26 | |||
| 27 | /* | ||
| 28 | * MIDI options | ||
| 29 | */ | ||
| 30 | |||
| 31 | /* enable basic MIDI features: | ||
| 32 | - MIDI notes can be sent when in Music mode is on | ||
| 33 | */ | ||
| 34 | |||
| 35 | #define MIDI_BASIC | ||
| 36 | |||
| 37 | /* enable advanced MIDI features: | ||
| 38 | - MIDI notes can be added to the keymap | ||
| 39 | - Octave shift and transpose | ||
| 40 | - Virtual sustain, portamento, and modulation wheel | ||
| 41 | - etc. | ||
| 42 | */ | ||
| 43 | //#define MIDI_ADVANCED | ||
| 44 | |||
| 45 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ | ||
| 46 | //#define MIDI_TONE_KEYCODE_OCTAVES 2 | ||
| 47 | |||
| 48 | // Most tactile encoders have detents every 4 stages | ||
| 49 | #define ENCODER_RESOLUTION 4 | ||
diff --git a/keyboards/preonic/keymaps/peterfalken/keymap.c b/keyboards/preonic/keymaps/peterfalken/keymap.c new file mode 100644 index 0000000000..7123ba7669 --- /dev/null +++ b/keyboards/preonic/keymaps/peterfalken/keymap.c | |||
| @@ -0,0 +1,92 @@ | |||
| 1 | // Copyright 2023 Peter.Falken (@PeterFalken) | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #include "muse.h" | ||
| 5 | #include "peterfalken.h" | ||
| 6 | |||
| 7 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 8 | /* Qwerty | ||
| 9 | * ,-----------------------------------------------------------------------------------. | ||
| 10 | * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Del | | ||
| 11 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 12 | * | Esc | Q | W | E | R | T | Y | U | I | O | P | Bksp | | ||
| 13 | * |------+------+------+------+------+-------------+------+------+------+------+------| | ||
| 14 | * | Tab | A | S | D | F | G | H | J | K | L | ; | " | | ||
| 15 | * |------+------+------+------+------+------|------+------+------+------+------+------| | ||
| 16 | * | Shift| Z | X | C | V | B | N | M | , | . | / |Enter | | ||
| 17 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 18 | * | ▽ | Ctrl | Alt | GUI |Lower | Space |Raise | Left | Down | Up |Right | | ||
| 19 | * `-----------------------------------------------------------------------------------' | ||
| 20 | */ | ||
| 21 | [_QWERTY] = LAYOUT_preonic_grid( | ||
| 22 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, | ||
| 23 | KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, | ||
| 24 | KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, | ||
| 25 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, | ||
| 26 | _______, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT | ||
| 27 | ), | ||
| 28 | |||
| 29 | /* Lower | ||
| 30 | * ,-----------------------------------------------------------------------------------. | ||
| 31 | * | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | Del | | ||
| 32 | * |------+------+------+------+------+-------------+------+------+------+------+------| | ||
| 33 | * | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | Bksp | | ||
| 34 | * |------+------+------+------+------+-------------+------+------+------+------+------| | ||
| 35 | * | Del | F1 | F2 | F3 | F4 | F5 | F6 | _ | + | { | } | | | | ||
| 36 | * |------+------+------+------+------+------|------+------+------+------+------+------| | ||
| 37 | * | ▽ | F7 | F8 | F9 | F10 | F11 | F12 |ISO ~ |ISO | | Home | End | ▽ | | ||
| 38 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 39 | * | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ ▽ | ▽ | Next | Vol- | Vol+ | Play | | ||
| 40 | * `-----------------------------------------------------------------------------------' | ||
| 41 | */ | ||
| 42 | [_LOWER] = LAYOUT_preonic_grid( | ||
| 43 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL, | ||
| 44 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, | ||
| 45 | KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, | ||
| 46 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,S(KC_NUHS),S(KC_NUBS),KC_HOME, KC_END, _______, | ||
| 47 | _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY | ||
| 48 | ), | ||
| 49 | |||
| 50 | /* Raise | ||
| 51 | * ,-----------------------------------------------------------------------------------. | ||
| 52 | * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Del | | ||
| 53 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 54 | * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Bksp | | ||
| 55 | * |------+------+------+------+------+-------------+------+------+------+------+------| | ||
| 56 | * | Del | F1 | F2 | F3 | F4 | F5 | F6 | - | = | [ | ] | \ | | ||
| 57 | * |------+------+------+------+------+------|------+------+------+------+------+------| | ||
| 58 | * | ▽ | F7 | F8 | F9 | F10 | F11 | F12 |ISO # |ISO / | Pg Up| Pg Dn| ▽ | | ||
| 59 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 60 | * | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ ▽ | ▽ | Next | Vol- | Vol+ | Play | | ||
| 61 | * `-----------------------------------------------------------------------------------' | ||
| 62 | */ | ||
| 63 | [_RAISE] = LAYOUT_preonic_grid( | ||
| 64 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, | ||
| 65 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, | ||
| 66 | KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, | ||
| 67 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NUHS, KC_NUBS, KC_PGUP, KC_PGDN, _______, | ||
| 68 | _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY | ||
| 69 | ), | ||
| 70 | |||
| 71 | /* Adjust (Lower + Raise) | ||
| 72 | * ,-----------------------------------------------------------------------------------. | ||
| 73 | * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | | ||
| 74 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 75 | * | RSET | ▽ | M.AP | M.AL | LPAD | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ | Bksp | | ||
| 76 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 77 | * | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ | SLEP | | ||
| 78 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 79 | * | CPWD | UN | CU | CO | PA | MV | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ | | ||
| 80 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 81 | * | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ ▽ | ▽ | ▽ | ▽ | ▽ | ▽ | | ||
| 82 | * `-----------------------------------------------------------------------------------' | ||
| 83 | */ | ||
| 84 | [_ADJUST] = LAYOUT_preonic_grid( | ||
| 85 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, | ||
| 86 | QK_BOOT, _______, CK_M1, KC_MCTL, KC_LPAD, _______, _______, _______, _______, _______, _______, KC_BSPC, | ||
| 87 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, CK_SLP, | ||
| 88 | CK_CW, _______, CK_CU, CK_CO, CK_PA, CK_MV, _______, _______, _______, _______, _______, _______, | ||
| 89 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 90 | ) | ||
| 91 | |||
| 92 | }; | ||
diff --git a/keyboards/preonic/keymaps/peterfalken/readme.md b/keyboards/preonic/keymaps/peterfalken/readme.md new file mode 100644 index 0000000000..f64d682a51 --- /dev/null +++ b/keyboards/preonic/keymaps/peterfalken/readme.md | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | Copyright 2023 LEG <ucaboys@gmail.com> @PeterFalken | ||
| 2 | |||
| 3 | This program is free software: you can redistribute it and/or modify | ||
| 4 | it under the terms of the GNU General Public License as published by | ||
| 5 | the Free Software Foundation, either version 2 of the License, or | ||
| 6 | (at your option) any later version. | ||
| 7 | |||
| 8 | This program is distributed in the hope that it will be useful, | ||
| 9 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | GNU General Public License for more details. | ||
| 12 | |||
| 13 | You should have received a copy of the GNU General Public License | ||
| 14 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
diff --git a/keyboards/preonic/keymaps/peterfalken/rules.mk b/keyboards/preonic/keymaps/peterfalken/rules.mk new file mode 100644 index 0000000000..a33c6c1ddb --- /dev/null +++ b/keyboards/preonic/keymaps/peterfalken/rules.mk | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | # Setup keymap QMK features | ||
| 2 | # TODO: Check for space optimizations | ||
| 3 | AUDIO_ENABLE = yes # Enable Audio Output | ||
| 4 | ENCODER_ENABLE = no # Disable encoder | ||
| 5 | |||
| 6 | ifeq ($(strip $(AUDIO_ENABLE)), yes) | ||
| 7 | SRC += muse.c | ||
| 8 | endif | ||
diff --git a/keyboards/system76/launch_1/keymaps/peterfalken/config.h b/keyboards/system76/launch_1/keymaps/peterfalken/config.h new file mode 100644 index 0000000000..565698b7b5 --- /dev/null +++ b/keyboards/system76/launch_1/keymaps/peterfalken/config.h | |||
| @@ -0,0 +1,43 @@ | |||
| 1 | // Copyright 2023 Peter.Falken (@PeterFalken) | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #pragma once | ||
| 5 | |||
| 6 | // Custom RGB_MATRIX settings | ||
| 7 | #ifdef RGB_MATRIX_ENABLE | ||
| 8 | // Remove predefined values | ||
| 9 | #undef RGB_DISABLE_TIMEOUT | ||
| 10 | #undef RGB_MATRIX_MAXIMUM_BRIGHTNESS | ||
| 11 | #undef RGB_MATRIX_DEFAULT_MODE | ||
| 12 | #undef RGB_MATRIX_DEFAULT_HUE | ||
| 13 | #undef RGB_MATRIX_DEFAULT_SAT | ||
| 14 | #undef RGB_MATRIX_DEFAULT_VAL | ||
| 15 | |||
| 16 | // Redefine values | ||
| 17 | // Number of milliseconds to wait until RGB automatically turns off | ||
| 18 | #define RGB_MATRIX_TIMEOUT 5000 | ||
| 19 | // Limits maximum brightness of LEDs to 120 out of 255 | ||
| 20 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 120 | ||
| 21 | // Sets the default startup mode | ||
| 22 | #define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_CUSTOM_active_keys | ||
| 23 | // Sets the default hue, saturation & brightness values | ||
| 24 | #define RGB_MATRIX_DEFAULT_HUE 0 | ||
| 25 | #define RGB_MATRIX_DEFAULT_SAT 0 | ||
| 26 | #define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS/3 | ||
| 27 | #endif // RGB_MATRIX_ENABLE | ||
| 28 | |||
| 29 | // Custom definition | ||
| 30 | // Disable RGB_MATRIX_ANIMATIONS to free up space | ||
| 31 | #ifdef DISABLE_RGB_MATRIX_ANIMATIONS | ||
| 32 | #undef ENABLE_RGB_MATRIX_CYCLE_ALL | ||
| 33 | #undef ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT | ||
| 34 | #undef ENABLE_RGB_MATRIX_CYCLE_UP_DOWN | ||
| 35 | #undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN | ||
| 36 | #undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL | ||
| 37 | #undef ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON | ||
| 38 | #undef ENABLE_RGB_MATRIX_CYCLE_PINWHEEL | ||
| 39 | #undef ENABLE_RGB_MATRIX_CYCLE_SPIRAL | ||
| 40 | #undef ENABLE_RGB_MATRIX_RAINDROPS | ||
| 41 | #undef ENABLE_RGB_MATRIX_SPLASH | ||
| 42 | #undef ENABLE_RGB_MATRIX_MULTISPLASH | ||
| 43 | #endif // DISABLE_RGB_MATRIX_ANIMATIONS | ||
diff --git a/keyboards/system76/launch_1/keymaps/peterfalken/keymap.c b/keyboards/system76/launch_1/keymaps/peterfalken/keymap.c new file mode 100644 index 0000000000..2c5c8bf862 --- /dev/null +++ b/keyboards/system76/launch_1/keymaps/peterfalken/keymap.c | |||
| @@ -0,0 +1,90 @@ | |||
| 1 | // Copyright 2023 Peter.Falken (@PeterFalken) | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #include "peterfalken.h" | ||
| 5 | |||
| 6 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 7 | /* Layer 0, default layer | ||
| 8 | _________________________________________________________________________________________________________________________________ ________ | ||
| 9 | | | | | | | | | | | | | | | || | | ||
| 10 | | ESC | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | DELETE || HOME | | ||
| 11 | |________|________|________|________|________|________|________|________|________|________|________|________|________|____________||________| | ||
| 12 | | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | _ | + | || | | ||
| 13 | | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | BACKSPACE || PGUP | | ||
| 14 | |________|________|________|________|________|________|________|________|________|________|________|________|________|____________||________| | ||
| 15 | | | | | | | | | | | | | [ | ] | | || | | ||
| 16 | | TAB | Q | W | E | R | T | Y | U | I | O | P | { | } | \ || PGDN | | ||
| 17 | |____________|________|________|________|________|________|________|________|________|________|________|________|________|________||________| | ||
| 18 | | | | | | | | | | | | : | " | | | | | ||
| 19 | | CAPS | A | S | D | F | G | H | J | K | L | ; | ' | ENTER | | END | | ||
| 20 | |____________|________|________|________|________|________|________|________|________|________|________|________|____________|___|________| | ||
| 21 | | | | | | | | | | < | > | ? | | | | ||
| 22 | | SHIFT | Z | X | C | V | B | N | M | , | . | / | SHIFT | UP | | ||
| 23 | |________________|________|________|________|________|________|________|________|________|________|________|____________|________|________ | ||
| 24 | | | | | | | | | | | | | | | | ||
| 25 | | MO.1 | RCTL | LALT | LGUI | SPACE | SPACE | RGUI | RALT | RCTRL | | LEFT | DOWN | RIGHT | | ||
| 26 | |____________|________|_______|________|_________________|_________________|________|________|_____________| |________|________|________| | ||
| 27 | */ | ||
| 28 | |||
| 29 | [_QWERTY] = LAYOUT( | ||
| 30 | KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_HOME, | ||
| 31 | KC_GRV, 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_PGUP, | ||
| 32 | 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_PGDN, | ||
| 33 | CK_CW, 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_END, | ||
| 34 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, | ||
| 35 | MO(1), KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_SPC, KC_RGUI, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 36 | ), | ||
| 37 | |||
| 38 | /* Layer 1, function layer | ||
| 39 | _________________________________________________________________________________________________________________________________ ________ | ||
| 40 | | | | | | | | | | | | | | | || PLAY/ | | ||
| 41 | | ▽ | ▽ | M.AP | M.AL | LPAD | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ || PAUSE | | ||
| 42 | |________|________|________|________|________|________|________|________|________|________|________|________|________|____________||________| | ||
| 43 | | | | | | | | | | | | LED | LED | LED | || VOLUME | | ||
| 44 | | TO.0 | TO.1 | TO.2 | TO.3 | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ | TOGGLE | DOWN | UP | ▽ || UP | | ||
| 45 | |________|________|________|________|________|________|________|________|________|________|________|________|________|____________||________| | ||
| 46 | | | | | | | | | | | | | | | || VOLUME | | ||
| 47 | |PRINT SCREEN| ▽ | ▽ | ▽ | ▽ | ▽ | HOME | PGDN | PGUP | END | ▽ | ▽ | ▽ | SLEP || DOWN | | ||
| 48 | |____________|________|________|________|________|________|________|________|________|________|________|________|________|________||________| | ||
| 49 | | | | | | | | | | | | | | | | | | ||
| 50 | | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ | LEFT | DOWN | UP | RIGHT | ▽ | ▽ | ▽ | | MUTE | | ||
| 51 | |____________|________|________|________|________|________|________|________|________|________|________|________|____________|___|________| | ||
| 52 | | | | | | | | | | | | | | | | ||
| 53 | | ▽ | UN | CU | CO | PA | MV | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ | PGUP | | ||
| 54 | |________________|________|________|________|________|________|________|________|________|________|________|____________|________|________ | ||
| 55 | | | | | | | | | | | | | | | | ||
| 56 | | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ | TO.0 | | HOME | PGDN | END | | ||
| 57 | |____________|________|_______|________|_________________|_________________|________|________|_____________| |________|________|________| | ||
| 58 | |||
| 59 | * `QK_BOOT' resets the controller and puts the board into firmware flashing mode. | ||
| 60 | * If this key is hit accidentally, just unplug the board and plug it back in. | ||
| 61 | */ | ||
| 62 | |||
| 63 | [_LOWER] = LAYOUT( | ||
| 64 | KC_TRNS, KC_TRNS, CK_M1, KC_MCTL, KC_LPAD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPLY, | ||
| 65 | TO(0), TO(1), TO(2), TO(3), KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RGB_TOG, RGB_VAD, RGB_VAI, KC_TRNS, KC_VOLU, | ||
| 66 | KC_PSCR, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, KC_PGDN, KC_PGUP, KC_END, KC_TRNS, KC_TRNS, KC_TRNS, CK_SLP, KC_VOLD, | ||
| 67 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_TRNS, KC_TRNS, KC_TRNS, KC_MUTE, | ||
| 68 | KC_TRNS, KC_TRNS, CK_CU, CK_CO, CK_PA, CK_MV, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGUP, | ||
| 69 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, TO(0), KC_HOME, KC_PGDN, KC_END | ||
| 70 | ), | ||
| 71 | |||
| 72 | [_RAISE] = LAYOUT( | ||
| 73 | QK_BOOT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 74 | TO(0), TO(1), TO(2), TO(3), KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 75 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 76 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 77 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 78 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, TO(0), KC_TRNS, KC_TRNS, KC_TRNS | ||
| 79 | ), | ||
| 80 | |||
| 81 | [_ADJUST] = LAYOUT( | ||
| 82 | QK_BOOT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 83 | TO(0), TO(1), TO(2), TO(3), KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 84 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 85 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 86 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 87 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, TO(0), KC_TRNS, KC_TRNS, KC_TRNS | ||
| 88 | ), | ||
| 89 | |||
| 90 | }; | ||
diff --git a/keyboards/system76/launch_1/keymaps/peterfalken/readme.md b/keyboards/system76/launch_1/keymaps/peterfalken/readme.md new file mode 100644 index 0000000000..f64d682a51 --- /dev/null +++ b/keyboards/system76/launch_1/keymaps/peterfalken/readme.md | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | Copyright 2023 LEG <ucaboys@gmail.com> @PeterFalken | ||
| 2 | |||
| 3 | This program is free software: you can redistribute it and/or modify | ||
| 4 | it under the terms of the GNU General Public License as published by | ||
| 5 | the Free Software Foundation, either version 2 of the License, or | ||
| 6 | (at your option) any later version. | ||
| 7 | |||
| 8 | This program is distributed in the hope that it will be useful, | ||
| 9 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | GNU General Public License for more details. | ||
| 12 | |||
| 13 | You should have received a copy of the GNU General Public License | ||
| 14 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
diff --git a/keyboards/work_louder/micro/keymaps/peterfalken/config.h b/keyboards/work_louder/micro/keymaps/peterfalken/config.h new file mode 100644 index 0000000000..dc1dd935a9 --- /dev/null +++ b/keyboards/work_louder/micro/keymaps/peterfalken/config.h | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | // Copyright 2023 Peter.Falken (@PeterFalken) | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #pragma once | ||
| 5 | |||
| 6 | #define CUSTOM_KEYMAP_LAYERS | ||
| 7 | #define CUSTOM_LAYER_STATE | ||
diff --git a/keyboards/work_louder/micro/keymaps/peterfalken/keymap.c b/keyboards/work_louder/micro/keymaps/peterfalken/keymap.c new file mode 100644 index 0000000000..8ef9a4eb97 --- /dev/null +++ b/keyboards/work_louder/micro/keymaps/peterfalken/keymap.c | |||
| @@ -0,0 +1,113 @@ | |||
| 1 | // Copyright 2023 Peter.Falken (@PeterFalken) | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #include "peterfalken.h" | ||
| 5 | |||
| 6 | enum keymap_layers { | ||
| 7 | _L0, | ||
| 8 | _L1, | ||
| 9 | _L2, | ||
| 10 | _L3, | ||
| 11 | _L4, | ||
| 12 | _L5, | ||
| 13 | _L6, | ||
| 14 | _ADJUST | ||
| 15 | }; | ||
| 16 | |||
| 17 | // Shorter custom keycodes | ||
| 18 | #define CK_UNDO LGUI(KC_Z) // UNDO = CMD + Z | ||
| 19 | #define CK_REDO SGUI(KC_Z) // REDO = CMD + SHIFT + Z | ||
| 20 | |||
| 21 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 22 | [_L0] = LAYOUT( | ||
| 23 | KC_MPLY, KC_9, KC_0, KC_NO, | ||
| 24 | KC_5, KC_6, KC_7, KC_8, | ||
| 25 | KC_1, KC_2, KC_3, KC_4, | ||
| 26 | TO(1), KC_DOT, KC_COMM, _______ | ||
| 27 | ), | ||
| 28 | [_L1] = LAYOUT( | ||
| 29 | KC_1, KC_2, KC_3, KC_4, | ||
| 30 | KC_5, KC_6, KC_7, KC_8, | ||
| 31 | KC_9, KC_0, KC_A, KC_B, | ||
| 32 | TO(2), KC_C, KC_D, KC_E | ||
| 33 | ), | ||
| 34 | [_L2] = LAYOUT( | ||
| 35 | _______, _______, _______, _______, | ||
| 36 | _______, _______, _______, _______, | ||
| 37 | _______, _______, _______, _______, | ||
| 38 | TO(3), _______, _______, _______ | ||
| 39 | ), | ||
| 40 | [_L3] = LAYOUT( | ||
| 41 | _______, _______, _______, _______, | ||
| 42 | _______, _______, _______, _______, | ||
| 43 | _______, _______, _______, _______, | ||
| 44 | TO(4), _______, _______, _______ | ||
| 45 | ), | ||
| 46 | [_L4] = LAYOUT( | ||
| 47 | _______, _______, _______, _______, | ||
| 48 | _______, _______, _______, _______, | ||
| 49 | _______, _______, _______, _______, | ||
| 50 | TO(5), _______, _______, _______ | ||
| 51 | ), | ||
| 52 | [_L5] = LAYOUT( | ||
| 53 | _______, _______, _______, _______, | ||
| 54 | _______, _______, _______, _______, | ||
| 55 | _______, _______, _______, _______, | ||
| 56 | TO(6), _______, _______, _______ | ||
| 57 | ), | ||
| 58 | [_L6] = LAYOUT( | ||
| 59 | _______, _______, _______, _______, | ||
| 60 | _______, _______, _______, _______, | ||
| 61 | _______, _______, _______, _______, | ||
| 62 | TO(7), _______, _______, _______ | ||
| 63 | ), | ||
| 64 | [_ADJUST] = LAYOUT( | ||
| 65 | QK_BOOT, _______, _______, _______, | ||
| 66 | _______, _______, _______, _______, | ||
| 67 | _______, _______, _______, _______, | ||
| 68 | TO(0), _______, _______, _______ | ||
| 69 | ), | ||
| 70 | }; | ||
| 71 | |||
| 72 | typedef union { | ||
| 73 | uint32_t raw; | ||
| 74 | struct { | ||
| 75 | uint8_t led_level : 3; | ||
| 76 | }; | ||
| 77 | } work_louder_config_t; | ||
| 78 | |||
| 79 | work_louder_config_t work_louder_config; | ||
| 80 | |||
| 81 | #if defined(ENCODER_MAP_ENABLE) | ||
| 82 | const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = { | ||
| 83 | { ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(CK_UNDO, CK_REDO) }, | ||
| 84 | { ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______) }, | ||
| 85 | { ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______) }, | ||
| 86 | { ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______) }, | ||
| 87 | { ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______) }, | ||
| 88 | { ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______) }, | ||
| 89 | { ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______) }, | ||
| 90 | { ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______) }, | ||
| 91 | }; | ||
| 92 | #endif // defined(ENCODER_MAP_ENABLE) | ||
| 93 | |||
| 94 | layer_state_t layer_state_set_user(layer_state_t state) { | ||
| 95 | // Get highest layer as number | ||
| 96 | int layer = get_highest_layer(state); | ||
| 97 | // Toggle leds based on binary layer number [1 2 3] | ||
| 98 | layer & 0x04 ? work_louder_micro_led_1_on(): work_louder_micro_led_1_off(); | ||
| 99 | layer & 0x02 ? work_louder_micro_led_2_on(): work_louder_micro_led_2_off(); | ||
| 100 | layer & 0x01 ? work_louder_micro_led_3_on(): work_louder_micro_led_3_off(); | ||
| 101 | return state; | ||
| 102 | } | ||
| 103 | |||
| 104 | void eeconfig_init_user(void) { | ||
| 105 | work_louder_config.raw = 0; | ||
| 106 | work_louder_config.led_level = 1; | ||
| 107 | eeconfig_update_user(work_louder_config.raw); | ||
| 108 | } | ||
| 109 | |||
| 110 | void matrix_init_user(void) { | ||
| 111 | work_louder_config.raw = eeconfig_read_user(); | ||
| 112 | work_louder_micro_led_all_set((uint8_t)(work_louder_config.led_level * 255 / 4)); | ||
| 113 | } | ||
diff --git a/keyboards/work_louder/micro/keymaps/peterfalken/readme.md b/keyboards/work_louder/micro/keymaps/peterfalken/readme.md new file mode 100644 index 0000000000..f64d682a51 --- /dev/null +++ b/keyboards/work_louder/micro/keymaps/peterfalken/readme.md | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | Copyright 2023 LEG <ucaboys@gmail.com> @PeterFalken | ||
| 2 | |||
| 3 | This program is free software: you can redistribute it and/or modify | ||
| 4 | it under the terms of the GNU General Public License as published by | ||
| 5 | the Free Software Foundation, either version 2 of the License, or | ||
| 6 | (at your option) any later version. | ||
| 7 | |||
| 8 | This program is distributed in the hope that it will be useful, | ||
| 9 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | GNU General Public License for more details. | ||
| 12 | |||
| 13 | You should have received a copy of the GNU General Public License | ||
| 14 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
diff --git a/keyboards/work_louder/micro/keymaps/peterfalken/rules.mk b/keyboards/work_louder/micro/keymaps/peterfalken/rules.mk new file mode 100644 index 0000000000..59ffb099c2 --- /dev/null +++ b/keyboards/work_louder/micro/keymaps/peterfalken/rules.mk | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | # Setup QMK features | ||
| 2 | ENCODER_MAP_ENABLE = yes | ||
| 3 | RGB_MATRIX_ENABLE = no # Disable RGB key matrix | ||
diff --git a/keyboards/work_louder/work_board/keymaps/peterfalken/keymap.c b/keyboards/work_louder/work_board/keymaps/peterfalken/keymap.c new file mode 100644 index 0000000000..5cbe25322a --- /dev/null +++ b/keyboards/work_louder/work_board/keymaps/peterfalken/keymap.c | |||
| @@ -0,0 +1,88 @@ | |||
| 1 | // Copyright 2023 Peter.Falken (@PeterFalken) | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #include "peterfalken.h" | ||
| 5 | |||
| 6 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 7 | /* Qwerty | ||
| 8 | * ,-----------------------------------------------------------------------------------. | ||
| 9 | * | Esc | Q | W | E | R | T | Y | U | I | O | P | Bksp | | ||
| 10 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 11 | * | Tab | A | S | D | F | G | H | J | K | L | ; | ' | | ||
| 12 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 13 | * | Shift| Z | X | C | V | B | N | M | , | . | / |Enter | | ||
| 14 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 15 | * | ▽ | Ctrl | Opt | Cmd | LWR | Space | RSE | Left | Down | Up |Right | | ||
| 16 | * `-----------------------------------------------------------------------------------' | ||
| 17 | */ | ||
| 18 | [_QWERTY] = LAYOUT( | ||
| 19 | KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, _______, | ||
| 20 | KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, | ||
| 21 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , | ||
| 22 | _______, KC_LCTL, KC_LOPT, KC_LCMD, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT | ||
| 23 | ), | ||
| 24 | |||
| 25 | /* Lower | ||
| 26 | * ,-----------------------------------------------------------------------------------. | ||
| 27 | * | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | Del | | ||
| 28 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 29 | * | Del | F1 | F2 | F3 | F4 | F5 | F6 | _ | + | { | } | | | | ||
| 30 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 31 | * | ▽ | F7 | F8 | F9 | F10 | F11 | F12 |ISO ~ |ISO | | Home | End | ▽ | | ||
| 32 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 33 | * | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ ▽ | ▽ | Next | Vol- | Vol+ | Play | | ||
| 34 | * `-----------------------------------------------------------------------------------' | ||
| 35 | */ | ||
| 36 | [_LOWER] = LAYOUT( | ||
| 37 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL, _______, | ||
| 38 | KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, | ||
| 39 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, S(KC_NUHS), S(KC_NUBS), KC_HOME, KC_END, _______, | ||
| 40 | _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY | ||
| 41 | ), | ||
| 42 | |||
| 43 | /* Raise | ||
| 44 | * ,-----------------------------------------------------------------------------------. | ||
| 45 | * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Bksp | | ||
| 46 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 47 | * | Del | F1 | F2 | F3 | F4 | F5 | F6 | - | = | [ | ] | \ | | ||
| 48 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 49 | * | ▽ | F7 | F8 | F9 | F10 | F11 | F12 |ISO # |ISO / |Pg Up |Pg Dn | ▽ | | ||
| 50 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 51 | * | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ ▽ | ▽ | Next | Vol- | Vol+ | Play | | ||
| 52 | * `-----------------------------------------------------------------------------------' | ||
| 53 | */ | ||
| 54 | [_RAISE] = LAYOUT( | ||
| 55 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, _______, | ||
| 56 | KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, | ||
| 57 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NUHS, KC_NUBS, KC_PGUP, KC_PGDN, _______, | ||
| 58 | _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY | ||
| 59 | ), | ||
| 60 | |||
| 61 | /* Adjust (Lower + Raise) | ||
| 62 | * ,-----------------------------------------------------------------------------------. | ||
| 63 | * | RSET | ▽ | M.AP | M.AL | LPAD | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ | Del | | ||
| 64 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 65 | * | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ | SLEP | | ||
| 66 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 67 | * | CPWD | UN | CU | CO | PA | MV | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ | | ||
| 68 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 69 | * | ▽ | ▽ | ▽ | ▽ | ▽ | ▽ ▽ | ▽ | ▽ | ▽ | ▽ | ▽ | | ||
| 70 | * `-----------------------------------------------------------------------------------' | ||
| 71 | */ | ||
| 72 | [_ADJUST] = LAYOUT( | ||
| 73 | QK_BOOT, _______, CK_M1, KC_MCTL, KC_LPAD, _______, _______, _______, _______, _______, _______, KC_DEL, _______, | ||
| 74 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, CK_SLP, | ||
| 75 | CK_CW, _______, CK_CU, CK_CO, CK_PA, CK_MV, _______, _______, _______, _______, _______, _______, | ||
| 76 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 77 | ) | ||
| 78 | |||
| 79 | }; | ||
| 80 | |||
| 81 | #ifdef ENCODER_MAP_ENABLE | ||
| 82 | const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = { | ||
| 83 | [_QWERTY] = { { KC_VOLU, KC_VOLD } }, | ||
| 84 | [_RAISE] = { { _______, _______ } }, | ||
| 85 | [_LOWER] = { { _______, _______ } }, | ||
| 86 | [_ADJUST] = { { _______, _______ } }, | ||
| 87 | }; | ||
| 88 | #endif // ENCODER_ENABLE | ||
diff --git a/keyboards/work_louder/work_board/keymaps/peterfalken/readme.md b/keyboards/work_louder/work_board/keymaps/peterfalken/readme.md new file mode 100644 index 0000000000..f64d682a51 --- /dev/null +++ b/keyboards/work_louder/work_board/keymaps/peterfalken/readme.md | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | Copyright 2023 LEG <ucaboys@gmail.com> @PeterFalken | ||
| 2 | |||
| 3 | This program is free software: you can redistribute it and/or modify | ||
| 4 | it under the terms of the GNU General Public License as published by | ||
| 5 | the Free Software Foundation, either version 2 of the License, or | ||
| 6 | (at your option) any later version. | ||
| 7 | |||
| 8 | This program is distributed in the hope that it will be useful, | ||
| 9 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | GNU General Public License for more details. | ||
| 12 | |||
| 13 | You should have received a copy of the GNU General Public License | ||
| 14 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
diff --git a/keyboards/work_louder/work_board/keymaps/peterfalken/rules.mk b/keyboards/work_louder/work_board/keymaps/peterfalken/rules.mk new file mode 100644 index 0000000000..e2a6e1084e --- /dev/null +++ b/keyboards/work_louder/work_board/keymaps/peterfalken/rules.mk | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | # Setup QMK features | ||
| 2 | ENCODER_MAP_ENABLE = yes | ||
| 3 | RGB_MATRIX_ENABLE = no # Disable RGB key matrix | ||
