diff options
Diffstat (limited to 'keyboards/boardsource/the_mark')
-rw-r--r-- | keyboards/boardsource/the_mark/config.h | 160 | ||||
-rw-r--r-- | keyboards/boardsource/the_mark/info.json | 230 | ||||
-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/stanrc85/keymap.c | 97 | ||||
-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 | 20 | ||||
-rw-r--r-- | keyboards/boardsource/the_mark/the_mark.c | 49 | ||||
-rw-r--r-- | keyboards/boardsource/the_mark/the_mark.h | 71 |
13 files changed, 836 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..cbfe4cd51 --- /dev/null +++ b/keyboards/boardsource/the_mark/config.h | |||
@@ -0,0 +1,160 @@ | |||
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 | #define RGBLIGHT_LIMIT_VAL 200 | ||
55 | #endif | ||
56 | |||
57 | /* RGB matrix support */ | ||
58 | #ifdef RGB_MATRIX_ENABLE | ||
59 | # define DRIVER_LED_TOTAL 24 // Number of LEDs | ||
60 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 | ||
61 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended | ||
62 | #endif | ||
63 | |||
64 | /* | ||
65 | * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN. | ||
66 | */ | ||
67 | //#define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6 | ||
68 | |||
69 | //#define BACKLIGHT_PIN B7 | ||
70 | //#define BACKLIGHT_LEVELS 3 | ||
71 | //#define BACKLIGHT_BREATHING | ||
72 | |||
73 | //#define RGB_DI_PIN E2 | ||
74 | //#ifdef RGB_DI_PIN | ||
75 | //# define RGBLED_NUM 16 | ||
76 | //# define RGBLIGHT_HUE_STEP 8 | ||
77 | //# define RGBLIGHT_SAT_STEP 8 | ||
78 | //# define RGBLIGHT_VAL_STEP 8 | ||
79 | //# define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ | ||
80 | //# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | ||
81 | /*== all animations enable ==*/ | ||
82 | //# define RGBLIGHT_ANIMATIONS | ||
83 | /*== or choose animations ==*/ | ||
84 | //# define RGBLIGHT_EFFECT_BREATHING | ||
85 | //# define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
86 | //# define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
87 | //# define RGBLIGHT_EFFECT_SNAKE | ||
88 | //# define RGBLIGHT_EFFECT_KNIGHT | ||
89 | //# define RGBLIGHT_EFFECT_CHRISTMAS | ||
90 | //# define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
91 | //# define RGBLIGHT_EFFECT_RGB_TEST | ||
92 | //# define RGBLIGHT_EFFECT_ALTERNATING | ||
93 | /*== customize breathing effect ==*/ | ||
94 | /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/ | ||
95 | //# define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64 | ||
96 | /*==== use exp() and sin() ====*/ | ||
97 | //# define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7 | ||
98 | //# define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 | ||
99 | //#endif | ||
100 | |||
101 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
102 | #define DEBOUNCE 5 | ||
103 | |||
104 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
105 | //#define MATRIX_HAS_GHOST | ||
106 | |||
107 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
108 | #define LOCKING_SUPPORT_ENABLE | ||
109 | /* Locking resynchronize hack */ | ||
110 | #define LOCKING_RESYNC_ENABLE | ||
111 | |||
112 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | ||
113 | * This is useful for the Windows task manager shortcut (ctrl+shift+esc). | ||
114 | */ | ||
115 | //#define GRAVE_ESC_CTRL_OVERRIDE | ||
116 | |||
117 | /* | ||
118 | * Force NKRO | ||
119 | * | ||
120 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
121 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
122 | * makefile for this to work.) | ||
123 | * | ||
124 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
125 | * until the next keyboard reset. | ||
126 | * | ||
127 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
128 | * fully operational during normal computer usage. | ||
129 | * | ||
130 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
131 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
132 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
133 | * power-up. | ||
134 | * | ||
135 | */ | ||
136 | //#define FORCE_NKRO | ||
137 | |||
138 | /* | ||
139 | * Feature disable options | ||
140 | * These options are also useful to firmware size reduction. | ||
141 | */ | ||
142 | |||
143 | /* disable debug print */ | ||
144 | //#define NO_DEBUG | ||
145 | |||
146 | /* disable print */ | ||
147 | //#define NO_PRINT | ||
148 | |||
149 | /* disable action features */ | ||
150 | //#define NO_ACTION_LAYER | ||
151 | //#define NO_ACTION_TAPPING | ||
152 | //#define NO_ACTION_ONESHOT | ||
153 | |||
154 | /* disable these deprecated features by default */ | ||
155 | #define NO_ACTION_MACRO | ||
156 | #define NO_ACTION_FUNCTION | ||
157 | |||
158 | /* Bootmagic Lite key configuration */ | ||
159 | //#define BOOTMAGIC_LITE_ROW 0 | ||
160 | //#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..07e3a34e5 --- /dev/null +++ b/keyboards/boardsource/the_mark/info.json | |||
@@ -0,0 +1,230 @@ | |||
1 | { | ||
2 | "keyboard_name": "The Mark: 65", | ||
3 | "url": "", | ||
4 | "maintainer": "Boardsource", | ||
5 | "layouts": { | ||
6 | "LAYOUT_all": { | ||
7 | "layout": [ | ||
8 | { "x": 0, "y": 0, "w": 1 }, | ||
9 | { "x": 1, "y": 0, "w": 1 }, | ||
10 | { "x": 2, "y": 0, "w": 1 }, | ||
11 | { "x": 3, "y": 0, "w": 1 }, | ||
12 | { "x": 4, "y": 0, "w": 1 }, | ||
13 | { "x": 5, "y": 0, "w": 1 }, | ||
14 | { "x": 6, "y": 0, "w": 1 }, | ||
15 | { "x": 7, "y": 0, "w": 1 }, | ||
16 | { "x": 8, "y": 0, "w": 1 }, | ||
17 | { "x": 9, "y": 0, "w": 1 }, | ||
18 | { "x": 10, "y": 0, "w": 1 }, | ||
19 | { "x": 11, "y": 0, "w": 1 }, | ||
20 | { "x": 12, "y": 0, "w": 1 }, | ||
21 | { "x": 13, "y": 0, "w": 1 }, | ||
22 | { "x": 14, "y": 0, "w": 1 }, | ||
23 | { "x": 15.25, "y": 0, "w": 1 }, | ||
24 | { "x": 0, "y": 1, "w": 1.5 }, | ||
25 | { "x": 1.5, "y": 1, "w": 1 }, | ||
26 | { "x": 2.5, "y": 1, "w": 1 }, | ||
27 | { "x": 3.5, "y": 1, "w": 1 }, | ||
28 | { "x": 4.5, "y": 1, "w": 1 }, | ||
29 | { "x": 5.5, "y": 1, "w": 1 }, | ||
30 | { "x": 6.5, "y": 1, "w": 1 }, | ||
31 | { "x": 7.5, "y": 1, "w": 1 }, | ||
32 | { "x": 8.5, "y": 1, "w": 1 }, | ||
33 | { "x": 9.5, "y": 1, "w": 1 }, | ||
34 | { "x": 10.5, "y": 1, "w": 1 }, | ||
35 | { "x": 11.5, "y": 1, "w": 1 }, | ||
36 | { "x": 12.5, "y": 1, "w": 1 }, | ||
37 | { "x": 13.5, "y": 1, "w": 1.5 }, | ||
38 | { "x": 15.25, "y": 1, "w": 1 }, | ||
39 | { "x": 0, "y": 2, "w": 1.75 }, | ||
40 | { "x": 1.75, "y": 2, "w": 1 }, | ||
41 | { "x": 2.75, "y": 2, "w": 1 }, | ||
42 | { "x": 3.75, "y": 2, "w": 1 }, | ||
43 | { "x": 4.75, "y": 2, "w": 1 }, | ||
44 | { "x": 5.75, "y": 2, "w": 1 }, | ||
45 | { "x": 6.75, "y": 2, "w": 1 }, | ||
46 | { "x": 7.75, "y": 2, "w": 1 }, | ||
47 | { "x": 8.75, "y": 2, "w": 1 }, | ||
48 | { "x": 9.75, "y": 2, "w": 1 }, | ||
49 | { "x": 10.75, "y": 2, "w": 1 }, | ||
50 | { "x": 11.75, "y": 2, "w": 1 }, | ||
51 | { "x": 12.75, "y": 2, "w": 2.25 }, | ||
52 | { "x": 15.25, "y": 2, "w": 1 }, | ||
53 | { "x": 0, "y": 3, "w": 1.25 }, | ||
54 | { "x": 1.25, "y": 3, "w": 1 }, | ||
55 | { "x": 2.25, "y": 3, "w": 1 }, | ||
56 | { "x": 3.25, "y": 3, "w": 1 }, | ||
57 | { "x": 4.25, "y": 3, "w": 1 }, | ||
58 | { "x": 5.25, "y": 3, "w": 1 }, | ||
59 | { "x": 6.25, "y": 3, "w": 1 }, | ||
60 | { "x": 7.25, "y": 3, "w": 1 }, | ||
61 | { "x": 8.25, "y": 3, "w": 1 }, | ||
62 | { "x": 9.25, "y": 3, "w": 1 }, | ||
63 | { "x": 10.25, "y": 3, "w": 1 }, | ||
64 | { "x": 11.25, "y": 3, "w": 1 }, | ||
65 | { "x": 12.25, "y": 3, "w": 1.75 }, | ||
66 | { "x": 14.25, "y": 3.25, "w": 1 }, | ||
67 | { "x": 0, "y": 4, "w": 1.25 }, | ||
68 | { "x": 1.25, "y": 4, "w": 1.25 }, | ||
69 | { "x": 2.5, "y": 4, "w": 1.25 }, | ||
70 | { "x": 3.75, "y": 4, "w": 2.25 }, | ||
71 | { "x": 6, "y": 4, "w": 1.25 }, | ||
72 | { "x": 7.25, "y": 4, "w": 2.75 }, | ||
73 | { "x": 10, "y": 4, "w": 1 }, | ||
74 | { "x": 11, "y": 4, "w": 1 }, | ||
75 | { "x": 12, "y": 4, "w": 1 }, | ||
76 | { "x": 13.25, "y": 4.25, "w": 1 }, | ||
77 | { "x": 14.25, "y": 4.25, "w": 1 }, | ||
78 | { "x": 15.25, "y": 4.25, "w": 1 } | ||
79 | ] | ||
80 | }, | ||
81 | "LAYOUT_ansi": { | ||
82 | "layout": [ | ||
83 | { "x": 0, "y": 0, "w": 1 }, | ||
84 | { "x": 1, "y": 0, "w": 1 }, | ||
85 | { "x": 2, "y": 0, "w": 1 }, | ||
86 | { "x": 3, "y": 0, "w": 1 }, | ||
87 | { "x": 4, "y": 0, "w": 1 }, | ||
88 | { "x": 5, "y": 0, "w": 1 }, | ||
89 | { "x": 6, "y": 0, "w": 1 }, | ||
90 | { "x": 7, "y": 0, "w": 1 }, | ||
91 | { "x": 8, "y": 0, "w": 1 }, | ||
92 | { "x": 9, "y": 0, "w": 1 }, | ||
93 | { "x": 10, "y": 0, "w": 1 }, | ||
94 | { "x": 11, "y": 0, "w": 1 }, | ||
95 | { "x": 12, "y": 0, "w": 1 }, | ||
96 | { "x": 13, "y": 0, "w": 2 }, | ||
97 | { "x": 15.25, "y": 0, "w": 1 }, | ||
98 | { "x": 0, "y": 1, "w": 1.5 }, | ||
99 | { "x": 1.5, "y": 1, "w": 1 }, | ||
100 | { "x": 2.5, "y": 1, "w": 1 }, | ||
101 | { "x": 3.5, "y": 1, "w": 1 }, | ||
102 | { "x": 4.5, "y": 1, "w": 1 }, | ||
103 | { "x": 5.5, "y": 1, "w": 1 }, | ||
104 | { "x": 6.5, "y": 1, "w": 1 }, | ||
105 | { "x": 7.5, "y": 1, "w": 1 }, | ||
106 | { "x": 8.5, "y": 1, "w": 1 }, | ||
107 | { "x": 9.5, "y": 1, "w": 1 }, | ||
108 | { "x": 10.5, "y": 1, "w": 1 }, | ||
109 | { "x": 11.5, "y": 1, "w": 1 }, | ||
110 | { "x": 12.5, "y": 1, "w": 1 }, | ||
111 | { "x": 13.5, "y": 1, "w": 1.5 }, | ||
112 | { "x": 15.25, "y": 1, "w": 1 }, | ||
113 | { "x": 0, "y": 2, "w": 1.75 }, | ||
114 | { "x": 1.75, "y": 2, "w": 1 }, | ||
115 | { "x": 2.75, "y": 2, "w": 1 }, | ||
116 | { "x": 3.75, "y": 2, "w": 1 }, | ||
117 | { "x": 4.75, "y": 2, "w": 1 }, | ||
118 | { "x": 5.75, "y": 2, "w": 1 }, | ||
119 | { "x": 6.75, "y": 2, "w": 1 }, | ||
120 | { "x": 7.75, "y": 2, "w": 1 }, | ||
121 | { "x": 8.75, "y": 2, "w": 1 }, | ||
122 | { "x": 9.75, "y": 2, "w": 1 }, | ||
123 | { "x": 10.75, "y": 2, "w": 1 }, | ||
124 | { "x": 11.75, "y": 2, "w": 1 }, | ||
125 | { "x": 12.75, "y": 2, "w": 2.25 }, | ||
126 | { "x": 15.25, "y": 2, "w": 1 }, | ||
127 | { "x": 0, "y": 3, "w": 2.25 }, | ||
128 | { "x": 2.25, "y": 3, "w": 1 }, | ||
129 | { "x": 3.25, "y": 3, "w": 1 }, | ||
130 | { "x": 4.25, "y": 3, "w": 1 }, | ||
131 | { "x": 5.25, "y": 3, "w": 1 }, | ||
132 | { "x": 6.25, "y": 3, "w": 1 }, | ||
133 | { "x": 7.25, "y": 3, "w": 1 }, | ||
134 | { "x": 8.25, "y": 3, "w": 1 }, | ||
135 | { "x": 9.25, "y": 3, "w": 1 }, | ||
136 | { "x": 10.25, "y": 3, "w": 1 }, | ||
137 | { "x": 11.25, "y": 3, "w": 1 }, | ||
138 | { "x": 12.25, "y": 3, "w": 1.75 }, | ||
139 | { "x": 14.25, "y": 3.25, "w": 1 }, | ||
140 | { "x": 0, "y": 4, "w": 1.25 }, | ||
141 | { "x": 1.25, "y": 4, "w": 1.25 }, | ||
142 | { "x": 2.5, "y": 4, "w": 1.25 }, | ||
143 | { "x": 3.75, "y": 4, "w": 6.25 }, | ||
144 | { "x": 10, "y": 4, "w": 1 }, | ||
145 | { "x": 11, "y": 4, "w": 1 }, | ||
146 | { "x": 12, "y": 4, "w": 1 }, | ||
147 | { "x": 13.25, "y": 4.25, "w": 1 }, | ||
148 | { "x": 14.25, "y": 4.25, "w": 1 }, | ||
149 | { "x": 15.25, "y": 4.25, "w": 1 } | ||
150 | ] | ||
151 | }, | ||
152 | "LAYOUT_iso": { | ||
153 | "layout": [ | ||
154 | { "x": 0, "y": 0, "w": 1 }, | ||
155 | { "x": 1, "y": 0, "w": 1 }, | ||
156 | { "x": 2, "y": 0, "w": 1 }, | ||
157 | { "x": 3, "y": 0, "w": 1 }, | ||
158 | { "x": 4, "y": 0, "w": 1 }, | ||
159 | { "x": 5, "y": 0, "w": 1 }, | ||
160 | { "x": 6, "y": 0, "w": 1 }, | ||
161 | { "x": 7, "y": 0, "w": 1 }, | ||
162 | { "x": 8, "y": 0, "w": 1 }, | ||
163 | { "x": 9, "y": 0, "w": 1 }, | ||
164 | { "x": 10, "y": 0, "w": 1 }, | ||
165 | { "x": 11, "y": 0, "w": 1 }, | ||
166 | { "x": 12, "y": 0, "w": 1 }, | ||
167 | { "x": 13, "y": 0, "w": 2 }, | ||
168 | { "x": 15.25, "y": 0, "w": 1 }, | ||
169 | { "x": 0, "y": 1, "w": 1.5 }, | ||
170 | { "x": 1.5, "y": 1, "w": 1 }, | ||
171 | { "x": 2.5, "y": 1, "w": 1 }, | ||
172 | { "x": 3.5, "y": 1, "w": 1 }, | ||
173 | { "x": 4.5, "y": 1, "w": 1 }, | ||
174 | { "x": 5.5, "y": 1, "w": 1 }, | ||
175 | { "x": 6.5, "y": 1, "w": 1 }, | ||
176 | { "x": 7.5, "y": 1, "w": 1 }, | ||
177 | { "x": 8.5, "y": 1, "w": 1 }, | ||
178 | { "x": 9.5, "y": 1, "w": 1 }, | ||
179 | { "x": 10.5, "y": 1, "w": 1 }, | ||
180 | { "x": 11.5, "y": 1, "w": 1 }, | ||
181 | { "x": 12.5, "y": 1, "w": 1 }, | ||
182 | { "x": 15.25, "y": 1, "w": 1 }, | ||
183 | { "x": 0, "y": 2, "w": 1.75 }, | ||
184 | { "x": 1.75, "y": 2, "w": 1 }, | ||
185 | { "x": 2.75, "y": 2, "w": 1 }, | ||
186 | { "x": 3.75, "y": 2, "w": 1 }, | ||
187 | { "x": 4.75, "y": 2, "w": 1 }, | ||
188 | { "x": 5.75, "y": 2, "w": 1 }, | ||
189 | { "x": 6.75, "y": 2, "w": 1 }, | ||
190 | { "x": 7.75, "y": 2, "w": 1 }, | ||
191 | { "x": 8.75, "y": 2, "w": 1 }, | ||
192 | { "x": 9.75, "y": 2, "w": 1 }, | ||
193 | { "x": 10.75, "y": 2, "w": 1 }, | ||
194 | { "x": 11.75, "y": 2, "w": 1 }, | ||
195 | { "x": 12.75, "y": 2, "w": 1 }, | ||
196 | { | ||
197 | "x": 13.75, | ||
198 | "y": 1, | ||
199 | "w": 1.25, | ||
200 | "h": 2 | ||
201 | }, | ||
202 | { "x": 15.25, "y": 2, "w": 1 }, | ||
203 | { "x": 0, "y": 3, "w": 1.25 }, | ||
204 | { "x": 1.25, "y": 3, "w": 1 }, | ||
205 | { "x": 2.25, "y": 3, "w": 1 }, | ||
206 | { "x": 3.25, "y": 3, "w": 1 }, | ||
207 | { "x": 4.25, "y": 3, "w": 1 }, | ||
208 | { "x": 5.25, "y": 3, "w": 1 }, | ||
209 | { "x": 6.25, "y": 3, "w": 1 }, | ||
210 | { "x": 7.25, "y": 3, "w": 1 }, | ||
211 | { "x": 8.25, "y": 3, "w": 1 }, | ||
212 | { "x": 9.25, "y": 3, "w": 1 }, | ||
213 | { "x": 10.25, "y": 3, "w": 1 }, | ||
214 | { "x": 11.25, "y": 3, "w": 1 }, | ||
215 | { "x": 12.25, "y": 3, "w": 1.75 }, | ||
216 | { "x": 14.25, "y": 3.25, "w": 1 }, | ||
217 | { "x": 0, "y": 4, "w": 1.25 }, | ||
218 | { "x": 1.25, "y": 4, "w": 1.25 }, | ||
219 | { "x": 2.5, "y": 4, "w": 1.25 }, | ||
220 | { "x": 3.75, "y": 4, "w": 6.25 }, | ||
221 | { "x": 10, "y": 4, "w": 1 }, | ||
222 | { "x": 11, "y": 4, "w": 1 }, | ||
223 | { "x": 12, "y": 4, "w": 1 }, | ||
224 | { "x": 13.25, "y": 4.25, "w": 1 }, | ||
225 | { "x": 14.25, "y": 4.25, "w": 1 }, | ||
226 | { "x": 15.25, "y": 4.25, "w": 1 } | ||
227 | ] | ||
228 | } | ||
229 | } | ||
230 | } | ||
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/stanrc85/keymap.c b/keyboards/boardsource/the_mark/keymaps/stanrc85/keymap.c new file mode 100644 index 000000000..eab59eb7e --- /dev/null +++ b/keyboards/boardsource/the_mark/keymaps/stanrc85/keymap.c | |||
@@ -0,0 +1,97 @@ | |||
1 | /* Copyright 2020 Stanrc85 | ||
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 | #include "stanrc85.h" | ||
18 | |||
19 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
20 | /* Base */ | ||
21 | [_QWERTY] = LAYOUT_all( | ||
22 | 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, KC_MPLY, | ||
23 | 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, CA_SCLN, | ||
24 | KC_CTLE, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, CA_QUOT, | ||
25 | 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_RSFT, KC_UP, | ||
26 | KC_LCTL, KC_LGUI, KC_LALT, LT_SPCF, LT_SPCF, LT_SPCF, TD_TWIN, MO(_FN2_60), KC_GRV, KC_LEFT, KC_DOWN, KC_RGHT | ||
27 | ), | ||
28 | [_DEFAULT] = LAYOUT_all( | ||
29 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_BSPC, KC_MPLY, | ||
30 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, CA_SCLN, | ||
31 | KC_CTLE, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, CA_QUOT, | ||
32 | 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_RSFT, KC_UP, | ||
33 | KC_LCTL, KC_LGUI, KC_LALT, LT_SPCF, LT_SPCF, LT_SPCF, TD_TWIN, MO(_FN2_60), KC_GRV, KC_LEFT, KC_DOWN, KC_RGHT | ||
34 | ), | ||
35 | [_FN1_60] = LAYOUT_all( | ||
36 | KC_TILD, 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_DEL, _______, | ||
37 | _______, _______, CA_QUOT, KC_VOLU, CA_SCLN, _______, _______, KC_HOME, KC_UP, KC_END, KC_PSCR, _______, _______, KC_INS, _______, | ||
38 | KC_CAPS, _______, KC_MUTE, KC_VOLD, KC_MPLY, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, | ||
39 | _______, _______, KC_RDP, _______, _______, _______, _______, _______, KC_WBAK, KC_WFWD, _______, _______, _______, _______, | ||
40 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
41 | ), | ||
42 | [_FN2_60] = LAYOUT_all( | ||
43 | RGB_TOG, RGB_MOD, RGB_VAD, RGB_VAI, RGB_SAI, RGB_HUD, RGB_HUI, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
44 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RESET, _______, | ||
45 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MAKE, _______, | ||
46 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
47 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, TG(_DEFAULT) | ||
48 | ) | ||
49 | |||
50 | }; | ||
51 | |||
52 | |||
53 | void rgb_matrix_indicators_user(void) { | ||
54 | uint8_t layer = get_highest_layer(layer_state); | ||
55 | switch (layer) { | ||
56 | case _FN1_60: | ||
57 | rgb_matrix_set_color(10, 0, 0, 255); | ||
58 | break; | ||
59 | case _FN2_60: | ||
60 | rgb_matrix_set_color(10, 255, 255, 255); | ||
61 | break; | ||
62 | case _DEFAULT: | ||
63 | rgb_matrix_set_color(10, 0, 255, 0); | ||
64 | break; | ||
65 | default: | ||
66 | break; | ||
67 | } | ||
68 | if (host_keyboard_led_state().caps_lock) { | ||
69 | rgb_matrix_set_color(10, 255, 0, 0); | ||
70 | } | ||
71 | } | ||
72 | |||
73 | void matrix_init_kb(void){ | ||
74 | |||
75 | #ifdef RGB_MATRIX_ENABLE | ||
76 | |||
77 | g_led_config = (led_config_t){ { | ||
78 | // Key Matrix to LED Index | ||
79 | { 10 , 10 , 9 , 9 , 8 , 7 , 7 , 6 , 5 , 5 , 4 , 3 , 3 , 2 , 1 , 1 }, | ||
80 | { 11 , 11 , 9 , 9 , 8 , 7 , 7 , 6 , 5 , 5 , 4 , 3 , 3 , 2 , 0 , 1 }, | ||
81 | { 12 , 12 , 9 , 9 , 8 , 7 , 7 , 6 , 5 , 5 , 4 , 3 , 3 , 2 , 23 , 1 }, | ||
82 | { 13 , 13 , 14 , 14 , 15 , 16 , 16 , 17 , 18 , 18 , 19 , 20 , 20 , 21 , 22 , 22 }, | ||
83 | { 13 , 13 , 14 , 14 , 15 , 16 , 16 , 17 , 18 , 18 , 19 , 20 , 20 , 21 , 22 , 22 }, | ||
84 | }, { | ||
85 | // LED Index to Physical Position | ||
86 | {224, 42}, {224, 21}, {209, 21}, {179, 21}, {164, 21}, {134, 21}, {119, 21}, {89, 21}, {74, 21}, {45, 21}, {30, 21}, {30, 42}, | ||
87 | {30, 64}, {30, 85}, {45, 85}, {74, 85}, {89, 85}, {119, 85}, {134, 85}, {164, 85}, {179, 85}, {209, 85}, {224, 85}, {224, 64} | ||
88 | }, { | ||
89 | // LED Index to Flag | ||
90 | LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, | ||
91 | LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, | ||
92 | LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL | ||
93 | } }; | ||
94 | |||
95 | #endif | ||
96 | matrix_init_user(); | ||
97 | } | ||
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..e9cb6a289 --- /dev/null +++ b/keyboards/boardsource/the_mark/rules.mk | |||
@@ -0,0 +1,20 @@ | |||
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 = yes # Enable Bootmagic Lite | ||
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 | NKRO_ENABLE = no # Enable N-Key Rollover | ||
16 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
17 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | ||
18 | AUDIO_ENABLE = no # Audio output | ||
19 | RGB_MATRIX_ENABLE = no # Enable keyboard RGB matrix (do not use together with RGBLIGHT_ENABLE) | ||
20 | RGB_MATRIX_DRIVER = WS2812 # RGB matrix driver support | ||
diff --git a/keyboards/boardsource/the_mark/the_mark.c b/keyboards/boardsource/the_mark/the_mark.c new file mode 100644 index 000000000..59aff7f9a --- /dev/null +++ b/keyboards/boardsource/the_mark/the_mark.c | |||
@@ -0,0 +1,49 @@ | |||
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" | ||
18 | |||
19 | /* Map physical under glow LEDs for RGB matrix support */ | ||
20 | #ifdef RGB_MATRIX_ENABLE | ||
21 | led_config_t g_led_config = { { | ||
22 | // Key Matrix to LED Index | ||
23 | { 10 , NO_LED, 9 , NO_LED, 8 , 7 , NO_LED, 6 , 5 , NO_LED, 4 , 3 , NO_LED, 2 , NO_LED, 1 }, | ||
24 | { 11 , NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, 0 }, | ||
25 | { 12 , NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, 23 }, | ||
26 | { 13 , NO_LED, 14 , NO_LED, 15 , 16 , NO_LED, 17 , 18 , NO_LED, 19 , 20 , NO_LED, 21 , NO_LED, NO_LED }, | ||
27 | { NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, 22 }, | ||
28 | }, { | ||
29 | // LED Index to Physical Position | ||
30 | {224, 42}, {224, 21}, {209, 21}, {179, 21}, {164, 21}, {134, 21}, {119, 21}, {89, 21}, {74, 21}, {45, 21}, {30, 21}, {30, 42}, | ||
31 | {30, 64}, {30, 85}, {45, 85}, {74, 85}, {89, 85}, {119, 85}, {134, 85}, {164, 85}, {179, 85}, {209, 85}, {224, 85}, {224, 64} | ||
32 | }, { | ||
33 | // LED Index to Flag | ||
34 | LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, | ||
35 | LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, | ||
36 | LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL | ||
37 | } }; | ||
38 | |||
39 | |||
40 | void suspend_power_down_kb(void) { | ||
41 | rgb_matrix_set_suspend_state(true); | ||
42 | suspend_power_down_user(); | ||
43 | } | ||
44 | |||
45 | void suspend_wakeup_init_kb(void) { | ||
46 | rgb_matrix_set_suspend_state(false); | ||
47 | suspend_wakeup_init_user(); | ||
48 | } | ||
49 | #endif | ||
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 | |||