diff options
| -rw-r--r-- | keyboards/boardsource/the_mark/config.h | 152 | ||||
| -rw-r--r-- | keyboards/boardsource/the_mark/info.json | 232 | ||||
| -rw-r--r-- | keyboards/boardsource/the_mark/keymaps/default/keymap.c | 44 | ||||
| -rw-r--r-- | keyboards/boardsource/the_mark/keymaps/default_ansi/keymap.c | 44 | ||||
| -rw-r--r-- | keyboards/boardsource/the_mark/keymaps/default_iso/keymap.c | 44 | ||||
| -rw-r--r-- | keyboards/boardsource/the_mark/keymaps/via/keymap.c | 54 | ||||
| -rw-r--r-- | keyboards/boardsource/the_mark/keymaps/via/readme.md | 3 | ||||
| -rw-r--r-- | keyboards/boardsource/the_mark/keymaps/via/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/boardsource/the_mark/readme.md | 19 | ||||
| -rw-r--r-- | keyboards/boardsource/the_mark/rules.mk | 22 | ||||
| -rw-r--r-- | keyboards/boardsource/the_mark/the_mark.c | 17 | ||||
| -rw-r--r-- | keyboards/boardsource/the_mark/the_mark.h | 71 |
12 files changed, 703 insertions, 0 deletions
diff --git a/keyboards/boardsource/the_mark/config.h b/keyboards/boardsource/the_mark/config.h new file mode 100644 index 000000000..507bac966 --- /dev/null +++ b/keyboards/boardsource/the_mark/config.h | |||
| @@ -0,0 +1,152 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 Boardsource | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | #include "config_common.h" | ||
| 21 | |||
| 22 | /* USB Device descriptor parameter */ | ||
| 23 | #define VENDOR_ID 0x4273 // "Bs" - Boardsource | ||
| 24 | #define PRODUCT_ID 0x0001 | ||
| 25 | #define DEVICE_VER 0x0001 | ||
| 26 | #define MANUFACTURER Boardsource | ||
| 27 | #define PRODUCT The Mark65 | ||
| 28 | |||
| 29 | /* key matrix size */ | ||
| 30 | #define MATRIX_ROWS 5 | ||
| 31 | #define MATRIX_COLS 16 | ||
| 32 | |||
| 33 | /* | ||
| 34 | * Keyboard Matrix Assignments | ||
| 35 | * | ||
| 36 | * Change this to how you wired your keyboard | ||
| 37 | * COLS: AVR pins used for columns, left to right | ||
| 38 | * ROWS: AVR pins used for rows, top to bottom | ||
| 39 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
| 40 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
| 41 | * | ||
| 42 | */ | ||
| 43 | |||
| 44 | #define MATRIX_ROW_PINS {B0, B1, B2, B3, B4,} | ||
| 45 | #define MATRIX_COL_PINS { B5, B6, B7, F5, C7, D0, D1, D2, D3, D4, D5, D6, D7,F0, F1, F4} | ||
| 46 | #define UNUSED_PINS | ||
| 47 | |||
| 48 | /* COL2ROW, ROW2COL */ | ||
| 49 | #define DIODE_DIRECTION COL2ROW | ||
| 50 | #define RGBLIGHT_ANIMATIONS | ||
| 51 | #define RGB_DI_PIN C6 | ||
| 52 | #ifdef RGBLIGHT_ENABLE | ||
| 53 | #define RGBLED_NUM 24 // Number of LEDs | ||
| 54 | #endif | ||
| 55 | |||
| 56 | /* | ||
| 57 | * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN. | ||
| 58 | */ | ||
| 59 | //#define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6 | ||
| 60 | |||
| 61 | //#define BACKLIGHT_PIN B7 | ||
| 62 | //#define BACKLIGHT_LEVELS 3 | ||
| 63 | //#define BACKLIGHT_BREATHING | ||
| 64 | |||
| 65 | //#define RGB_DI_PIN E2 | ||
| 66 | //#ifdef RGB_DI_PIN | ||
| 67 | //# define RGBLED_NUM 16 | ||
| 68 | //# define RGBLIGHT_HUE_STEP 8 | ||
| 69 | //# define RGBLIGHT_SAT_STEP 8 | ||
| 70 | //# define RGBLIGHT_VAL_STEP 8 | ||
| 71 | //# define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ | ||
| 72 | //# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | ||
| 73 | /*== all animations enable ==*/ | ||
| 74 | //# define RGBLIGHT_ANIMATIONS | ||
| 75 | /*== or choose animations ==*/ | ||
| 76 | //# define RGBLIGHT_EFFECT_BREATHING | ||
| 77 | //# define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 78 | //# define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 79 | //# define RGBLIGHT_EFFECT_SNAKE | ||
| 80 | //# define RGBLIGHT_EFFECT_KNIGHT | ||
| 81 | //# define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 82 | //# define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 83 | //# define RGBLIGHT_EFFECT_RGB_TEST | ||
| 84 | //# define RGBLIGHT_EFFECT_ALTERNATING | ||
| 85 | /*== customize breathing effect ==*/ | ||
| 86 | /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/ | ||
| 87 | //# define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64 | ||
| 88 | /*==== use exp() and sin() ====*/ | ||
| 89 | //# define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7 | ||
| 90 | //# define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 | ||
| 91 | //#endif | ||
| 92 | |||
| 93 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 94 | #define DEBOUNCE 5 | ||
| 95 | |||
| 96 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
| 97 | //#define MATRIX_HAS_GHOST | ||
| 98 | |||
| 99 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 100 | #define LOCKING_SUPPORT_ENABLE | ||
| 101 | /* Locking resynchronize hack */ | ||
| 102 | #define LOCKING_RESYNC_ENABLE | ||
| 103 | |||
| 104 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | ||
| 105 | * This is useful for the Windows task manager shortcut (ctrl+shift+esc). | ||
| 106 | */ | ||
| 107 | //#define GRAVE_ESC_CTRL_OVERRIDE | ||
| 108 | |||
| 109 | /* | ||
| 110 | * Force NKRO | ||
| 111 | * | ||
| 112 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
| 113 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
| 114 | * makefile for this to work.) | ||
| 115 | * | ||
| 116 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
| 117 | * until the next keyboard reset. | ||
| 118 | * | ||
| 119 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
| 120 | * fully operational during normal computer usage. | ||
| 121 | * | ||
| 122 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
| 123 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
| 124 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
| 125 | * power-up. | ||
| 126 | * | ||
| 127 | */ | ||
| 128 | //#define FORCE_NKRO | ||
| 129 | |||
| 130 | /* | ||
| 131 | * Feature disable options | ||
| 132 | * These options are also useful to firmware size reduction. | ||
| 133 | */ | ||
| 134 | |||
| 135 | /* disable debug print */ | ||
| 136 | //#define NO_DEBUG | ||
| 137 | |||
| 138 | /* disable print */ | ||
| 139 | //#define NO_PRINT | ||
| 140 | |||
| 141 | /* disable action features */ | ||
| 142 | //#define NO_ACTION_LAYER | ||
| 143 | //#define NO_ACTION_TAPPING | ||
| 144 | //#define NO_ACTION_ONESHOT | ||
| 145 | |||
| 146 | /* disable these deprecated features by default */ | ||
| 147 | #define NO_ACTION_MACRO | ||
| 148 | #define NO_ACTION_FUNCTION | ||
| 149 | |||
| 150 | /* Bootmagic Lite key configuration */ | ||
| 151 | //#define BOOTMAGIC_LITE_ROW 0 | ||
| 152 | //#define BOOTMAGIC_LITE_COLUMN 0 | ||
diff --git a/keyboards/boardsource/the_mark/info.json b/keyboards/boardsource/the_mark/info.json new file mode 100644 index 000000000..5a9cdb6be --- /dev/null +++ b/keyboards/boardsource/the_mark/info.json | |||
| @@ -0,0 +1,232 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "The Mark: 65", | ||
| 3 | "url": "", | ||
| 4 | "maintainer": "Boardsource", | ||
| 5 | "width": 16, | ||
| 6 | "height": 5, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT_all": { | ||
| 9 | "layout": [ | ||
| 10 | { "x": 0, "y": 0, "w": 1 }, | ||
| 11 | { "x": 1, "y": 0, "w": 1 }, | ||
| 12 | { "x": 2, "y": 0, "w": 1 }, | ||
| 13 | { "x": 3, "y": 0, "w": 1 }, | ||
| 14 | { "x": 4, "y": 0, "w": 1 }, | ||
| 15 | { "x": 5, "y": 0, "w": 1 }, | ||
| 16 | { "x": 6, "y": 0, "w": 1 }, | ||
| 17 | { "x": 7, "y": 0, "w": 1 }, | ||
| 18 | { "x": 8, "y": 0, "w": 1 }, | ||
| 19 | { "x": 9, "y": 0, "w": 1 }, | ||
| 20 | { "x": 10, "y": 0, "w": 1 }, | ||
| 21 | { "x": 11, "y": 0, "w": 1 }, | ||
| 22 | { "x": 12, "y": 0, "w": 1 }, | ||
| 23 | { "x": 13, "y": 0, "w": 1 }, | ||
| 24 | { "x": 14, "y": 0, "w": 1 }, | ||
| 25 | { "x": 15.25, "y": 0, "w": 1 }, | ||
| 26 | { "x": 0, "y": 1, "w": 1.5 }, | ||
| 27 | { "x": 1.5, "y": 1, "w": 1 }, | ||
| 28 | { "x": 2.5, "y": 1, "w": 1 }, | ||
| 29 | { "x": 3.5, "y": 1, "w": 1 }, | ||
| 30 | { "x": 4.5, "y": 1, "w": 1 }, | ||
| 31 | { "x": 5.5, "y": 1, "w": 1 }, | ||
| 32 | { "x": 6.5, "y": 1, "w": 1 }, | ||
| 33 | { "x": 7.5, "y": 1, "w": 1 }, | ||
| 34 | { "x": 8.5, "y": 1, "w": 1 }, | ||
| 35 | { "x": 9.5, "y": 1, "w": 1 }, | ||
| 36 | { "x": 10.5, "y": 1, "w": 1 }, | ||
| 37 | { "x": 11.5, "y": 1, "w": 1 }, | ||
| 38 | { "x": 12.5, "y": 1, "w": 1 }, | ||
| 39 | { "x": 13.5, "y": 1, "w": 1.5 }, | ||
| 40 | { "x": 15.25, "y": 1, "w": 1 }, | ||
| 41 | { "x": 0, "y": 2, "w": 1.75 }, | ||
| 42 | { "x": 1.75, "y": 2, "w": 1 }, | ||
| 43 | { "x": 2.75, "y": 2, "w": 1 }, | ||
| 44 | { "x": 3.75, "y": 2, "w": 1 }, | ||
| 45 | { "x": 4.75, "y": 2, "w": 1 }, | ||
| 46 | { "x": 5.75, "y": 2, "w": 1 }, | ||
| 47 | { "x": 6.75, "y": 2, "w": 1 }, | ||
| 48 | { "x": 7.75, "y": 2, "w": 1 }, | ||
| 49 | { "x": 8.75, "y": 2, "w": 1 }, | ||
| 50 | { "x": 9.75, "y": 2, "w": 1 }, | ||
| 51 | { "x": 10.75, "y": 2, "w": 1 }, | ||
| 52 | { "x": 11.75, "y": 2, "w": 1 }, | ||
| 53 | { "x": 12.75, "y": 2, "w": 2.25 }, | ||
| 54 | { "x": 15.25, "y": 2, "w": 1 }, | ||
| 55 | { "x": 0, "y": 3, "w": 1.25 }, | ||
| 56 | { "x": 1.25, "y": 3, "w": 1 }, | ||
| 57 | { "x": 2.25, "y": 3, "w": 1 }, | ||
| 58 | { "x": 3.25, "y": 3, "w": 1 }, | ||
| 59 | { "x": 4.25, "y": 3, "w": 1 }, | ||
| 60 | { "x": 5.25, "y": 3, "w": 1 }, | ||
| 61 | { "x": 6.25, "y": 3, "w": 1 }, | ||
| 62 | { "x": 7.25, "y": 3, "w": 1 }, | ||
| 63 | { "x": 8.25, "y": 3, "w": 1 }, | ||
| 64 | { "x": 9.25, "y": 3, "w": 1 }, | ||
| 65 | { "x": 10.25, "y": 3, "w": 1 }, | ||
| 66 | { "x": 11.25, "y": 3, "w": 1 }, | ||
| 67 | { "x": 12.25, "y": 3, "w": 1.75 }, | ||
| 68 | { "x": 14.25, "y": 3.25, "w": 1 }, | ||
| 69 | { "x": 0, "y": 4, "w": 1.25 }, | ||
| 70 | { "x": 1.25, "y": 4, "w": 1.25 }, | ||
| 71 | { "x": 2.5, "y": 4, "w": 1.25 }, | ||
| 72 | { "x": 3.75, "y": 4, "w": 2.25 }, | ||
| 73 | { "x": 6, "y": 4, "w": 1.25 }, | ||
| 74 | { "x": 7.25, "y": 4, "w": 2.75 }, | ||
| 75 | { "x": 10, "y": 4, "w": 1 }, | ||
| 76 | { "x": 11, "y": 4, "w": 1 }, | ||
| 77 | { "x": 12, "y": 4, "w": 1 }, | ||
| 78 | { "x": 13.25, "y": 4.25, "w": 1 }, | ||
| 79 | { "x": 14.25, "y": 4.25, "w": 1 }, | ||
| 80 | { "x": 15.25, "y": 4.25, "w": 1 } | ||
| 81 | ] | ||
| 82 | }, | ||
| 83 | "LAYOUT_ansi": { | ||
| 84 | "layout": [ | ||
| 85 | { "x": 0, "y": 0, "w": 1 }, | ||
| 86 | { "x": 1, "y": 0, "w": 1 }, | ||
| 87 | { "x": 2, "y": 0, "w": 1 }, | ||
| 88 | { "x": 3, "y": 0, "w": 1 }, | ||
| 89 | { "x": 4, "y": 0, "w": 1 }, | ||
| 90 | { "x": 5, "y": 0, "w": 1 }, | ||
| 91 | { "x": 6, "y": 0, "w": 1 }, | ||
| 92 | { "x": 7, "y": 0, "w": 1 }, | ||
| 93 | { "x": 8, "y": 0, "w": 1 }, | ||
| 94 | { "x": 9, "y": 0, "w": 1 }, | ||
| 95 | { "x": 10, "y": 0, "w": 1 }, | ||
| 96 | { "x": 11, "y": 0, "w": 1 }, | ||
| 97 | { "x": 12, "y": 0, "w": 1 }, | ||
| 98 | { "x": 13, "y": 0, "w": 2 }, | ||
| 99 | { "x": 15.25, "y": 0, "w": 1 }, | ||
| 100 | { "x": 0, "y": 1, "w": 1.5 }, | ||
| 101 | { "x": 1.5, "y": 1, "w": 1 }, | ||
| 102 | { "x": 2.5, "y": 1, "w": 1 }, | ||
| 103 | { "x": 3.5, "y": 1, "w": 1 }, | ||
| 104 | { "x": 4.5, "y": 1, "w": 1 }, | ||
| 105 | { "x": 5.5, "y": 1, "w": 1 }, | ||
| 106 | { "x": 6.5, "y": 1, "w": 1 }, | ||
| 107 | { "x": 7.5, "y": 1, "w": 1 }, | ||
| 108 | { "x": 8.5, "y": 1, "w": 1 }, | ||
| 109 | { "x": 9.5, "y": 1, "w": 1 }, | ||
| 110 | { "x": 10.5, "y": 1, "w": 1 }, | ||
| 111 | { "x": 11.5, "y": 1, "w": 1 }, | ||
| 112 | { "x": 12.5, "y": 1, "w": 1 }, | ||
| 113 | { "x": 13.5, "y": 1, "w": 1.5 }, | ||
| 114 | { "x": 15.25, "y": 1, "w": 1 }, | ||
| 115 | { "x": 0, "y": 2, "w": 1.75 }, | ||
| 116 | { "x": 1.75, "y": 2, "w": 1 }, | ||
| 117 | { "x": 2.75, "y": 2, "w": 1 }, | ||
| 118 | { "x": 3.75, "y": 2, "w": 1 }, | ||
| 119 | { "x": 4.75, "y": 2, "w": 1 }, | ||
| 120 | { "x": 5.75, "y": 2, "w": 1 }, | ||
| 121 | { "x": 6.75, "y": 2, "w": 1 }, | ||
| 122 | { "x": 7.75, "y": 2, "w": 1 }, | ||
| 123 | { "x": 8.75, "y": 2, "w": 1 }, | ||
| 124 | { "x": 9.75, "y": 2, "w": 1 }, | ||
| 125 | { "x": 10.75, "y": 2, "w": 1 }, | ||
| 126 | { "x": 11.75, "y": 2, "w": 1 }, | ||
| 127 | { "x": 12.75, "y": 2, "w": 2.25 }, | ||
| 128 | { "x": 15.25, "y": 2, "w": 1 }, | ||
| 129 | { "x": 0, "y": 3, "w": 2.25 }, | ||
| 130 | { "x": 2.25, "y": 3, "w": 1 }, | ||
| 131 | { "x": 3.25, "y": 3, "w": 1 }, | ||
| 132 | { "x": 4.25, "y": 3, "w": 1 }, | ||
| 133 | { "x": 5.25, "y": 3, "w": 1 }, | ||
| 134 | { "x": 6.25, "y": 3, "w": 1 }, | ||
| 135 | { "x": 7.25, "y": 3, "w": 1 }, | ||
| 136 | { "x": 8.25, "y": 3, "w": 1 }, | ||
| 137 | { "x": 9.25, "y": 3, "w": 1 }, | ||
| 138 | { "x": 10.25, "y": 3, "w": 1 }, | ||
| 139 | { "x": 11.25, "y": 3, "w": 1 }, | ||
| 140 | { "x": 12.25, "y": 3, "w": 1.75 }, | ||
| 141 | { "x": 14.25, "y": 3.25, "w": 1 }, | ||
| 142 | { "x": 0, "y": 4, "w": 1.25 }, | ||
| 143 | { "x": 1.25, "y": 4, "w": 1.25 }, | ||
| 144 | { "x": 2.5, "y": 4, "w": 1.25 }, | ||
| 145 | { "x": 3.75, "y": 4, "w": 6.25 }, | ||
| 146 | { "x": 10, "y": 4, "w": 1 }, | ||
| 147 | { "x": 11, "y": 4, "w": 1 }, | ||
| 148 | { "x": 12, "y": 4, "w": 1 }, | ||
| 149 | { "x": 13.25, "y": 4.25, "w": 1 }, | ||
| 150 | { "x": 14.25, "y": 4.25, "w": 1 }, | ||
| 151 | { "x": 15.25, "y": 4.25, "w": 1 } | ||
| 152 | ] | ||
| 153 | }, | ||
| 154 | "LAYOUT_iso": { | ||
| 155 | "layout": [ | ||
| 156 | { "x": 0, "y": 0, "w": 1 }, | ||
| 157 | { "x": 1, "y": 0, "w": 1 }, | ||
| 158 | { "x": 2, "y": 0, "w": 1 }, | ||
| 159 | { "x": 3, "y": 0, "w": 1 }, | ||
| 160 | { "x": 4, "y": 0, "w": 1 }, | ||
| 161 | { "x": 5, "y": 0, "w": 1 }, | ||
| 162 | { "x": 6, "y": 0, "w": 1 }, | ||
| 163 | { "x": 7, "y": 0, "w": 1 }, | ||
| 164 | { "x": 8, "y": 0, "w": 1 }, | ||
| 165 | { "x": 9, "y": 0, "w": 1 }, | ||
| 166 | { "x": 10, "y": 0, "w": 1 }, | ||
| 167 | { "x": 11, "y": 0, "w": 1 }, | ||
| 168 | { "x": 12, "y": 0, "w": 1 }, | ||
| 169 | { "x": 13, "y": 0, "w": 2 }, | ||
| 170 | { "x": 15.25, "y": 0, "w": 1 }, | ||
| 171 | { "x": 0, "y": 1, "w": 1.5 }, | ||
| 172 | { "x": 1.5, "y": 1, "w": 1 }, | ||
| 173 | { "x": 2.5, "y": 1, "w": 1 }, | ||
| 174 | { "x": 3.5, "y": 1, "w": 1 }, | ||
| 175 | { "x": 4.5, "y": 1, "w": 1 }, | ||
| 176 | { "x": 5.5, "y": 1, "w": 1 }, | ||
| 177 | { "x": 6.5, "y": 1, "w": 1 }, | ||
| 178 | { "x": 7.5, "y": 1, "w": 1 }, | ||
| 179 | { "x": 8.5, "y": 1, "w": 1 }, | ||
| 180 | { "x": 9.5, "y": 1, "w": 1 }, | ||
| 181 | { "x": 10.5, "y": 1, "w": 1 }, | ||
| 182 | { "x": 11.5, "y": 1, "w": 1 }, | ||
| 183 | { "x": 12.5, "y": 1, "w": 1 }, | ||
| 184 | { "x": 15.25, "y": 1, "w": 1 }, | ||
| 185 | { "x": 0, "y": 2, "w": 1.75 }, | ||
| 186 | { "x": 1.75, "y": 2, "w": 1 }, | ||
| 187 | { "x": 2.75, "y": 2, "w": 1 }, | ||
| 188 | { "x": 3.75, "y": 2, "w": 1 }, | ||
| 189 | { "x": 4.75, "y": 2, "w": 1 }, | ||
| 190 | { "x": 5.75, "y": 2, "w": 1 }, | ||
| 191 | { "x": 6.75, "y": 2, "w": 1 }, | ||
| 192 | { "x": 7.75, "y": 2, "w": 1 }, | ||
| 193 | { "x": 8.75, "y": 2, "w": 1 }, | ||
| 194 | { "x": 9.75, "y": 2, "w": 1 }, | ||
| 195 | { "x": 10.75, "y": 2, "w": 1 }, | ||
| 196 | { "x": 11.75, "y": 2, "w": 1 }, | ||
| 197 | { "x": 12.75, "y": 2, "w": 1 }, | ||
| 198 | { | ||
| 199 | "x": 13.75, | ||
| 200 | "y": 1, | ||
| 201 | "w": 1.25, | ||
| 202 | "h": 2 | ||
| 203 | }, | ||
| 204 | { "x": 15.25, "y": 2, "w": 1 }, | ||
| 205 | { "x": 0, "y": 3, "w": 1.25 }, | ||
| 206 | { "x": 1.25, "y": 3, "w": 1 }, | ||
| 207 | { "x": 2.25, "y": 3, "w": 1 }, | ||
| 208 | { "x": 3.25, "y": 3, "w": 1 }, | ||
| 209 | { "x": 4.25, "y": 3, "w": 1 }, | ||
| 210 | { "x": 5.25, "y": 3, "w": 1 }, | ||
| 211 | { "x": 6.25, "y": 3, "w": 1 }, | ||
| 212 | { "x": 7.25, "y": 3, "w": 1 }, | ||
| 213 | { "x": 8.25, "y": 3, "w": 1 }, | ||
| 214 | { "x": 9.25, "y": 3, "w": 1 }, | ||
| 215 | { "x": 10.25, "y": 3, "w": 1 }, | ||
| 216 | { "x": 11.25, "y": 3, "w": 1 }, | ||
| 217 | { "x": 12.25, "y": 3, "w": 1.75 }, | ||
| 218 | { "x": 14.25, "y": 3.25, "w": 1 }, | ||
| 219 | { "x": 0, "y": 4, "w": 1.25 }, | ||
| 220 | { "x": 1.25, "y": 4, "w": 1.25 }, | ||
| 221 | { "x": 2.5, "y": 4, "w": 1.25 }, | ||
| 222 | { "x": 3.75, "y": 4, "w": 6.25 }, | ||
| 223 | { "x": 10, "y": 4, "w": 1 }, | ||
| 224 | { "x": 11, "y": 4, "w": 1 }, | ||
| 225 | { "x": 12, "y": 4, "w": 1 }, | ||
| 226 | { "x": 13.25, "y": 4.25, "w": 1 }, | ||
| 227 | { "x": 14.25, "y": 4.25, "w": 1 }, | ||
| 228 | { "x": 15.25, "y": 4.25, "w": 1 } | ||
| 229 | ] | ||
| 230 | } | ||
| 231 | } | ||
| 232 | } | ||
diff --git a/keyboards/boardsource/the_mark/keymaps/default/keymap.c b/keyboards/boardsource/the_mark/keymaps/default/keymap.c new file mode 100644 index 000000000..ead93baf5 --- /dev/null +++ b/keyboards/boardsource/the_mark/keymaps/default/keymap.c | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | /* Copyright 2020 Boardsource | ||
| 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 | #include QMK_KEYBOARD_H | ||
| 17 | |||
| 18 | // Defines names for use in layer keycodes and the keymap | ||
| 19 | enum layer_names { | ||
| 20 | _BASE, | ||
| 21 | _FN | ||
| 22 | }; | ||
| 23 | |||
| 24 | |||
| 25 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 26 | /* Base */ | ||
| 27 | [_BASE] = LAYOUT_all( | ||
| 28 | 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, KC_BSPC, RGB_TOG, | ||
| 29 | 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, RGB_MOD, | ||
| 30 | KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, MO(_FN), | ||
| 31 | KC_LSFT, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LSFT, KC_UP, | ||
| 32 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_LALT, KC_LCTL, KC_GRV, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 33 | ), | ||
| 34 | [_FN] = LAYOUT_all( | ||
| 35 | KC_GRV, 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_HOME, | ||
| 36 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPLY, KC_VOLD, KC_VOLU, KC_MUTE, KC_END, | ||
| 37 | RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 38 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 39 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 40 | ) | ||
| 41 | |||
| 42 | |||
| 43 | }; | ||
| 44 | |||
diff --git a/keyboards/boardsource/the_mark/keymaps/default_ansi/keymap.c b/keyboards/boardsource/the_mark/keymaps/default_ansi/keymap.c new file mode 100644 index 000000000..250ecf766 --- /dev/null +++ b/keyboards/boardsource/the_mark/keymaps/default_ansi/keymap.c | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | /* Copyright 2020 Boardsource | ||
| 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 | #include QMK_KEYBOARD_H | ||
| 17 | |||
| 18 | // Defines names for use in layer keycodes and the keymap | ||
| 19 | enum layer_names { | ||
| 20 | _BASE, | ||
| 21 | _FN | ||
| 22 | }; | ||
| 23 | |||
| 24 | |||
| 25 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 26 | /* Base */ | ||
| 27 | [_BASE] = LAYOUT_ansi( | ||
| 28 | 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, RGB_TOG, | ||
| 29 | 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, RGB_MOD, | ||
| 30 | KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, MO(_FN), | ||
| 31 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LSFT, KC_UP, | ||
| 32 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_LALT, KC_LCTL, KC_GRV, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 33 | ), | ||
| 34 | [_FN] = LAYOUT_ansi( | ||
| 35 | KC_GRV, 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_HOME, | ||
| 36 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPLY, KC_VOLD, KC_VOLU, _______, KC_END, | ||
| 37 | RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MUTE, _______, | ||
| 38 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 39 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 40 | ) | ||
| 41 | |||
| 42 | |||
| 43 | }; | ||
| 44 | |||
diff --git a/keyboards/boardsource/the_mark/keymaps/default_iso/keymap.c b/keyboards/boardsource/the_mark/keymaps/default_iso/keymap.c new file mode 100644 index 000000000..6aeace190 --- /dev/null +++ b/keyboards/boardsource/the_mark/keymaps/default_iso/keymap.c | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | /* Copyright 2020 Boardsource | ||
| 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 | #include QMK_KEYBOARD_H | ||
| 17 | |||
| 18 | // Defines names for use in layer keycodes and the keymap | ||
| 19 | enum layer_names { | ||
| 20 | _BASE, | ||
| 21 | _FN | ||
| 22 | }; | ||
| 23 | |||
| 24 | |||
| 25 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 26 | /* Base */ | ||
| 27 | [_BASE] = LAYOUT_iso( | ||
| 28 | 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, RGB_TOG, | ||
| 29 | 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, RGB_MOD, | ||
| 30 | KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, MO(_FN), | ||
| 31 | KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LSFT, KC_UP, | ||
| 32 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_LALT, KC_LCTL, KC_GRV, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 33 | ), | ||
| 34 | [_FN] = LAYOUT_iso( | ||
| 35 | KC_GRV, 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_HOME, | ||
| 36 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPLY, KC_VOLD, KC_VOLU, KC_END, | ||
| 37 | RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,KC_MUTE, _______, _______, | ||
| 38 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 39 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 40 | ) | ||
| 41 | |||
| 42 | |||
| 43 | }; | ||
| 44 | |||
diff --git a/keyboards/boardsource/the_mark/keymaps/via/keymap.c b/keyboards/boardsource/the_mark/keymaps/via/keymap.c new file mode 100644 index 000000000..2b0477f39 --- /dev/null +++ b/keyboards/boardsource/the_mark/keymaps/via/keymap.c | |||
| @@ -0,0 +1,54 @@ | |||
| 1 | /* Copyright 2020 Boardsource | ||
| 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 | #include QMK_KEYBOARD_H | ||
| 17 | |||
| 18 | |||
| 19 | |||
| 20 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 21 | /* Base */ | ||
| 22 | LAYOUT_all( | ||
| 23 | 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, KC_BSPC, RGB_TOG, | ||
| 24 | 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, | ||
| 25 | KC_LCTL, 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_PGUP, | ||
| 26 | KC_LSFT, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LSFT, KC_UP, | ||
| 27 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_LALT, KC_LCTL, KC_GRV, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 28 | ), | ||
| 29 | LAYOUT_all( | ||
| 30 | KC_GRV, 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_HOME, | ||
| 31 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPLY, KC_VOLD, KC_VOLU, KC_MUTE, KC_END, | ||
| 32 | RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 33 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 34 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 35 | ), | ||
| 36 | LAYOUT_all( | ||
| 37 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 38 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 39 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 40 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 41 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 42 | ), | ||
| 43 | LAYOUT_all( | ||
| 44 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 45 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 46 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 47 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 48 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 49 | ) | ||
| 50 | |||
| 51 | |||
| 52 | |||
| 53 | }; | ||
| 54 | |||
diff --git a/keyboards/boardsource/the_mark/keymaps/via/readme.md b/keyboards/boardsource/the_mark/keymaps/via/readme.md new file mode 100644 index 000000000..5fda80e18 --- /dev/null +++ b/keyboards/boardsource/the_mark/keymaps/via/readme.md | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | # The via keymap for The Mark: 65 | ||
| 2 | |||
| 3 | This folder contains the VIA configuration for the boardsource's The Mark: 65 | ||
diff --git a/keyboards/boardsource/the_mark/keymaps/via/rules.mk b/keyboards/boardsource/the_mark/keymaps/via/rules.mk new file mode 100644 index 000000000..1e5b99807 --- /dev/null +++ b/keyboards/boardsource/the_mark/keymaps/via/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| VIA_ENABLE = yes | |||
diff --git a/keyboards/boardsource/the_mark/readme.md b/keyboards/boardsource/the_mark/readme.md new file mode 100644 index 000000000..100466b03 --- /dev/null +++ b/keyboards/boardsource/the_mark/readme.md | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | # the_mark | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | The Mark: 65 is a no compromise 65% keyboard designed and produced by Boardsource. | ||
| 6 | |||
| 7 | * Keyboard Maintainer: [Boardsource](https://github.com/boardsource) | ||
| 8 | * Hardware Supported: The Mark:65 v1 | ||
| 9 | * Hardware Availability: [Boardsource](https://boardsource.xyz/store/5fc2eb0b86b9341522d8f7a3) | ||
| 10 | |||
| 11 | Make example for this keyboard (after setting up your build environment): | ||
| 12 | |||
| 13 | make boardsource/the_mark:default | ||
| 14 | |||
| 15 | Flashing example for this keyboard: | ||
| 16 | |||
| 17 | make boardsource/the_mark:default:flash | ||
| 18 | |||
| 19 | See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). | ||
diff --git a/keyboards/boardsource/the_mark/rules.mk b/keyboards/boardsource/the_mark/rules.mk new file mode 100644 index 000000000..38ce53e30 --- /dev/null +++ b/keyboards/boardsource/the_mark/rules.mk | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | BOOTLOADER = atmel-dfu | ||
| 6 | |||
| 7 | # Build Options | ||
| 8 | # change yes to no to disable | ||
| 9 | # | ||
| 10 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | ||
| 11 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
| 12 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 13 | CONSOLE_ENABLE = no # Console for debug | ||
| 14 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 15 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 16 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 17 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 18 | NKRO_ENABLE = no # USB Nkey Rollover | ||
| 19 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 20 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | ||
| 21 | BLUETOOTH_ENABLE = no # Enable Bluetooth | ||
| 22 | AUDIO_ENABLE = no # Audio output | ||
diff --git a/keyboards/boardsource/the_mark/the_mark.c b/keyboards/boardsource/the_mark/the_mark.c new file mode 100644 index 000000000..9d3dedc08 --- /dev/null +++ b/keyboards/boardsource/the_mark/the_mark.c | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | /* Copyright 2020 Boardsource | ||
| 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 | #include "the_mark.h" | ||
diff --git a/keyboards/boardsource/the_mark/the_mark.h b/keyboards/boardsource/the_mark/the_mark.h new file mode 100644 index 000000000..9d527f946 --- /dev/null +++ b/keyboards/boardsource/the_mark/the_mark.h | |||
| @@ -0,0 +1,71 @@ | |||
| 1 | /* Copyright 2020 Boardsource | ||
| 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 | #include "quantum.h" | ||
| 20 | |||
| 21 | /* This is a shortcut to help you visually see your layout. | ||
| 22 | * | ||
| 23 | * The first section contains all of the arguments representing the physical | ||
| 24 | * layout of the board and position of the keys. | ||
| 25 | * | ||
| 26 | * The second converts the arguments into a two-dimensional array which | ||
| 27 | * represents the switch matrix. | ||
| 28 | */ | ||
| 29 | #define LAYOUT_all( \ | ||
| 30 | K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015, \ | ||
| 31 | K100, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115, \ | ||
| 32 | K200, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K215, \ | ||
| 33 | K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K313, K314, \ | ||
| 34 | K400, K401, K403, K404, K406, K408, K410, K411, K412, K413, K414, K415 \ | ||
| 35 | ) { \ | ||
| 36 | { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015 }, \ | ||
| 37 | { K100, KC_NO, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115 }, \ | ||
| 38 | { K200, KC_NO, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, KC_NO, K215 }, \ | ||
| 39 | { K301, K300, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, KC_NO, K313, K314, KC_NO}, \ | ||
| 40 | { K400, K401, KC_NO, K403, K404, KC_NO, K406, KC_NO, K408, KC_NO, K410, K411, K412, K413, K414, K415 } \ | ||
| 41 | } | ||
| 42 | |||
| 43 | #define LAYOUT_ansi( \ | ||
| 44 | K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K015, \ | ||
| 45 | K100, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115, \ | ||
| 46 | K200, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K215, \ | ||
| 47 | K300, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K313, K314, \ | ||
| 48 | K400, K401, K403, K406, K410, K411, K412, K413, K414, K415 \ | ||
| 49 | ) { \ | ||
| 50 | { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, KC_NO, K015 }, \ | ||
| 51 | { K100, KC_NO, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115 }, \ | ||
| 52 | { K200, KC_NO, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, KC_NO, K215 }, \ | ||
| 53 | { KC_NO, K300, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, KC_NO, K313, K314, KC_NO}, \ | ||
| 54 | { K400, K401, KC_NO, K403, KC_NO, KC_NO, K406, KC_NO, KC_NO, KC_NO, K410, K411, K412, K413, K414, K415 } \ | ||
| 55 | } | ||
| 56 | |||
| 57 | |||
| 58 | #define LAYOUT_iso( \ | ||
| 59 | K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K015, \ | ||
| 60 | K100, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K115, \ | ||
| 61 | K200, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K114, K213, K215, \ | ||
| 62 | K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K313, K314, \ | ||
| 63 | K400, K401, K403, K406, K410, K411, K412, K413, K414, K415 \ | ||
| 64 | ) { \ | ||
| 65 | { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, KC_NO, K015 }, \ | ||
| 66 | { K100, KC_NO, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115 }, \ | ||
| 67 | { K200, KC_NO, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, KC_NO, K215 }, \ | ||
| 68 | { K301, K300, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, KC_NO, K313, K314, KC_NO}, \ | ||
| 69 | { K400, K401, KC_NO, K403, KC_NO, KC_NO, K406, KC_NO, KC_NO, KC_NO, K410, K411, K412, K413, K414, K415 } \ | ||
| 70 | } | ||
| 71 | |||
