aboutsummaryrefslogtreecommitdiff
path: root/keyboards/c39
diff options
context:
space:
mode:
authorAkshay <[email protected]>2022-04-10 12:13:40 +0100
committerAkshay <[email protected]>2022-04-10 12:13:40 +0100
commitdc90387ce7d8ba7b607d9c48540bf6d8b560f14d (patch)
tree4ccb8fa5886b66fa9d480edef74236c27f035e16 /keyboards/c39
Diffstat (limited to 'keyboards/c39')
-rwxr-xr-xkeyboards/c39/c39.c1
-rwxr-xr-xkeyboards/c39/c39.h17
-rwxr-xr-xkeyboards/c39/config.h76
-rwxr-xr-xkeyboards/c39/info.json10
-rwxr-xr-xkeyboards/c39/keymaps/default/keymap.c45
-rwxr-xr-xkeyboards/c39/keymaps/default/readme.md1
-rw-r--r--keyboards/c39/keymaps/drashna/config.h34
-rwxr-xr-xkeyboards/c39/keymaps/drashna/keymap.c83
-rwxr-xr-xkeyboards/c39/keymaps/drashna/readme.md3
-rw-r--r--keyboards/c39/keymaps/drashna/rules.mk19
-rw-r--r--keyboards/c39/keymaps/kuchosauronad0/config.h34
-rw-r--r--keyboards/c39/keymaps/kuchosauronad0/keymap.c131
-rw-r--r--keyboards/c39/keymaps/kuchosauronad0/readme.md10
-rw-r--r--keyboards/c39/keymaps/kuchosauronad0/rules.mk20
-rwxr-xr-xkeyboards/c39/readme.md16
-rwxr-xr-xkeyboards/c39/rules.mk18
16 files changed, 518 insertions, 0 deletions
diff --git a/keyboards/c39/c39.c b/keyboards/c39/c39.c
new file mode 100755
index 000000000..78ecae5a3
--- /dev/null
+++ b/keyboards/c39/c39.c
@@ -0,0 +1 @@
#include "c39.h"
diff --git a/keyboards/c39/c39.h b/keyboards/c39/c39.h
new file mode 100755
index 000000000..797dd1ef7
--- /dev/null
+++ b/keyboards/c39/c39.h
@@ -0,0 +1,17 @@
1#pragma once
2
3#include "quantum.h"
4
5#define ___ KC_NO
6
7#define LAYOUT( \
8 K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, \
9 K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, \
10 K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C \
11 ) { \
12 { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C }, \
13 { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C }, \
14 { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C } \
15}
16
17#define LAYOUT_ortho_3x13 LAYOUT
diff --git a/keyboards/c39/config.h b/keyboards/c39/config.h
new file mode 100755
index 000000000..409023f1f
--- /dev/null
+++ b/keyboards/c39/config.h
@@ -0,0 +1,76 @@
1/*
2Copyright 2012 Jun Wako <[email protected]>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along 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 0xCA17
24#define PRODUCT_ID 0xCA39
25#define DEVICE_VER 0x0001
26#define MANUFACTURER Maple Computing
27#define PRODUCT C39
28
29/* key matrix size */
30#define MATRIX_ROWS 3
31#define MATRIX_COLS 13
32
33#define MATRIX_ROW_PINS { D1, B4, B5 }
34#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2, B6, D7, E6, C6, D2, D3 }
35
36/* COL2ROW or ROW2COL */
37#define DIODE_DIRECTION COL2ROW
38
39/*
40 * Force NKRO
41 *
42 * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
43 * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
44 * makefile for this to work.)
45 *
46 * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
47 * until the next keyboard reset.
48 *
49 * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
50 * fully operational during normal computer usage.
51 *
52 * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
53 * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
54 * bootmagic, NKRO mode will always be enabled until it is toggled again during a
55 * power-up.
56 *
57 */
58//#define FORCE_NKRO
59
60/*
61 * Feature disable options
62 * These options are also useful to firmware size reduction.
63 */
64
65/* disable debug print */
66//#define NO_DEBUG
67
68/* disable print */
69//#define NO_PRINT
70
71/* disable action features */
72//#define NO_ACTION_LAYER
73//#define NO_ACTION_TAPPING
74//#define NO_ACTION_ONESHOT
75//#define NO_ACTION_MACRO
76//#define NO_ACTION_FUNCTION
diff --git a/keyboards/c39/info.json b/keyboards/c39/info.json
new file mode 100755
index 000000000..3600570dd
--- /dev/null
+++ b/keyboards/c39/info.json
@@ -0,0 +1,10 @@
1{
2 "keyboard_name": "C39",
3 "url": "",
4 "maintainer": "Space Cat",
5 "layouts": {
6 "LAYOUT": {
7 "layout": [{"label":"Q", "x":0, "y":0}, {"label":"W", "x":1, "y":0}, {"label":"E", "x":2, "y":0}, {"label":"R", "x":3, "y":0}, {"label":"T", "x":4, "y":0}, {"label":"Back", "x":5, "y":0}, {"label":"Y", "x":6, "y":0}, {"label":"U", "x":7, "y":0}, {"label":"I", "x":8, "y":0}, {"label":"O", "x":9, "y":0}, {"label":"P", "x":10, "y":0}, {"label":"M1", "x":11.25, "y":0}, {"label":"M2", "x":12.25, "y":0}, {"label":"A", "x":0, "y":1}, {"label":"S", "x":1, "y":1}, {"label":"D", "x":2, "y":1}, {"label":"F", "x":3, "y":1}, {"label":"G", "x":4, "y":1}, {"label":"Enter", "x":5, "y":1}, {"label":"H", "x":6, "y":1}, {"label":"J", "x":7, "y":1}, {"label":"K", "x":8, "y":1}, {"label":"L", "x":9, "y":1}, {"label":";", "x":10, "y":1}, {"label":"M3", "x":11.25, "y":1}, {"label":"M4", "x":12.25, "y":1}, {"label":"Z", "x":0, "y":2}, {"label":"X", "x":1, "y":2}, {"label":"C", "x":2, "y":2}, {"label":"V", "x":3, "y":2}, {"label":"B", "x":4, "y":2}, {"label":"Fn", "x":5, "y":2}, {"label":"N", "x":6, "y":2}, {"label":"M", "x":7, "y":2}, {"label":"<", "x":8, "y":2}, {"label":">", "x":9, "y":2}, {"label":"?", "x":10, "y":2}, {"label":"M5", "x":11.25, "y":2}, {"label":"M6", "x":12.25, "y":2}]
8 }
9 }
10}
diff --git a/keyboards/c39/keymaps/default/keymap.c b/keyboards/c39/keymaps/default/keymap.c
new file mode 100755
index 000000000..9de75190d
--- /dev/null
+++ b/keyboards/c39/keymaps/default/keymap.c
@@ -0,0 +1,45 @@
1#include QMK_KEYBOARD_H
2
3// Each layer gets a name for readability, which is then used in the keymap matrix below.
4// The underscores don't mean anything - you can have a layer called STUFF or any other name.
5// Layer names don't all need to be of the same length, obviously, and you can also skip them
6// entirely and just use numbers.
7#define _QWERTY 0
8#define _FN1 1
9
10// Defines for task manager and such
11#define CALTDEL LCTL(LALT(KC_DEL))
12#define TSKMGR LCTL(LSFT(KC_ESC))
13
14const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
15
16/* Qwerty
17 * ,----------------------------------------------------------------------------. ,-------------.
18 * | Q | W | E | R | T | Bksp | Y | U | I | O | P | | M1 | M2 |
19 * |------+------+------+------+------+------+------+------+------+------+------+ |------+------|
20 * | A | S | D | F | G | Enter| H | J | K | L | ; | | M3 | M4 |
21 * |------+------+------+------+------+------+------+------+------+------+------+ |------+------|
22 * | Z | X | C | V | B | FN1 | N | M | , | . | / | | M5 | M6 |
23 * `----------------------------------------------------------------------------' `-------------'
24 */
25[_QWERTY] = LAYOUT(
26 KC_Q, KC_W, KC_E, KC_R, KC_T, KC_BSPC, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_1, KC_2,
27 KC_A, KC_S, KC_D, KC_F, KC_G, MT(MOD_LSFT, KC_ENT), KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_3, KC_4,
28 KC_Z, KC_X, KC_C, KC_V, KC_B, LT(_FN1, KC_SPC), KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_5, KC_6
29),
30
31/* FN1
32 * ,----------------------------------------------------------------------------. ,-------------.
33 * | 1 | 2 | 3 | 4 | 5 | Bksp | 6 | 7 | 8 | 9 | 0 | | M1 | M2 |
34 * |------+------+------+------+------+------+------+------+------+------+------+ |------+------|
35 * | 4 | 5 | 6 | + | | Enter| | | | | | | M3 | M4 |
36 * |------+------+------+------+------+------+------+------+------+------+------+ |------+------|
37 * | 7 | 8 | 9 | 0 | | FN1 | | | | | | | M5 | M6 |
38 * `----------------------------------------------------------------------------' `-------------'
39 */
40[_FN1] = LAYOUT(
41 KC_1, KC_2, KC_3, KC_4, KC_5, KC_BSPC, KC_6, KC_7, KC_8, KC_9, KC_0, KC_1, KC_2,
42 KC_4, KC_5, KC_6, KC_PLUS, _______, KC_ENT, _______, _______, _______, _______, _______, KC_3, KC_4,
43 KC_7, KC_8, KC_9, KC_0, _______, _______, _______, _______, _______, _______, _______, KC_5, KC_6
44),
45};
diff --git a/keyboards/c39/keymaps/default/readme.md b/keyboards/c39/keymaps/default/readme.md
new file mode 100755
index 000000000..f5b1b6ac1
--- /dev/null
+++ b/keyboards/c39/keymaps/default/readme.md
@@ -0,0 +1 @@
# The default keymap for the C39
diff --git a/keyboards/c39/keymaps/drashna/config.h b/keyboards/c39/keymaps/drashna/config.h
new file mode 100644
index 000000000..e48bc46ca
--- /dev/null
+++ b/keyboards/c39/keymaps/drashna/config.h
@@ -0,0 +1,34 @@
1/* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <[email protected]>
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// place overrides here
20#undef MATRIX_COL_PINS
21#define MATRIX_COL_PINS \
22 { A3, A2, A1, A0, B13, B14, B15, B9, B3, B2, B4, A10, A9 }
23#undef MATRIX_ROW_PINS
24#define MATRIX_ROW_PINS \
25 { B7, B1, B0 }
26
27#define RGB_DI_PIN B10
28#define RGBLED_NUM 15
29
30#define SOLENOID_PIN B11
31
32#define AUDIO_PIN A5
33#define AUDIO_PIN_ALT A4
34#define AUDIO_PIN_ALT_AS_NEGATIVE
diff --git a/keyboards/c39/keymaps/drashna/keymap.c b/keyboards/c39/keymaps/drashna/keymap.c
new file mode 100755
index 000000000..6fd1f1298
--- /dev/null
+++ b/keyboards/c39/keymaps/drashna/keymap.c
@@ -0,0 +1,83 @@
1/* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <[email protected]>
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 "drashna.h"
18
19/*
20 * The `LAYOUT_base` macro is a template to allow the use of identical
21 * modifiers for the default layouts (eg QWERTY, Colemak, Dvorak, etc), so
22 * that there is no need to set them up for each layout, and modify all of
23 * them if I want to change them. This helps to keep consistency and ease
24 * of use. K## is a placeholder to pass through the individual keycodes
25 */
26// clang-format off
27#define LAYOUT_wrapper(...) LAYOUT(__VA_ARGS__)
28#define LAYOUT_base( \
29 K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, \
30 K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
31 K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A \
32 ) \
33 LAYOUT_wrapper( \
34 KC_ESC, K01, K02, K03, K04, K05, KC_NO, K06, K07, K08, K09, K0A, KC_DEL, \
35 ALT_T(KC_TAB), K11, K12, K13, K14, K15, KC_BSPC, K16, K17, K18, K19, K1A, RALT_T(K1B), \
36 KC_MLSF, CTL_T(K21), K22, K23, K24, LT(_LOWER,K25), KC_SPC, LT(_RAISE,K26), K27, K28, K29, RCTL_T(K2A), KC_ENT \
37 )
38#define LAYOUT_base_wrapper(...) LAYOUT_base(__VA_ARGS__)
39
40const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
41
42 [_DEFAULT_LAYER_1] = LAYOUT_base_wrapper(
43 _________________QWERTY_L1_________________, _________________QWERTY_R1_________________,
44 _________________QWERTY_L2_________________, _________________QWERTY_R2_________________,
45 _________________QWERTY_L3_________________, _________________QWERTY_R3_________________
46 ),
47
48 [_DEFAULT_LAYER_2] = LAYOUT_base_wrapper(
49 ______________COLEMAK_MOD_DH_L1____________, ______________COLEMAK_MOD_DH_R1____________,
50 ______________COLEMAK_MOD_DH_L2____________, ______________COLEMAK_MOD_DH_R2____________,
51 ______________COLEMAK_MOD_DH_L3____________, ______________COLEMAK_MOD_DH_R3____________
52 ),
53 [_DEFAULT_LAYER_3] = LAYOUT_base_wrapper(
54 _________________COLEMAK_L1________________, _________________COLEMAK_R1________________,
55 _________________COLEMAK_L2________________, _________________COLEMAK_R2________________,
56 _________________COLEMAK_L3________________, _________________COLEMAK_R3________________
57 ),
58
59 [_DEFAULT_LAYER_4] = LAYOUT_base_wrapper(
60 _________________DVORAK_L1_________________, _________________DVORAK_R1_________________,
61 _________________DVORAK_L2_________________, _________________DVORAK_R2_________________,
62 _________________DVORAK_L3_________________, _________________DVORAK_R3_________________
63 ),
64
65 [_LOWER] = LAYOUT_wrapper(
66 KC_TILD, _________________LOWER_L1__________________, _______, _________________LOWER_R1__________________, KC_BSPC,
67 KC_DEL, _________________LOWER_L2__________________, _______, _________________LOWER_R2__________________, KC_PIPE,
68 _______, _________________LOWER_L3__________________, _______, _________________LOWER_R3__________________, _______
69 ),
70
71 [_RAISE] = LAYOUT_wrapper(
72 KC_GRV, _________________RAISE_L1__________________, _______, _________________RAISE_R1__________________, KC_BSPC,
73 KC_DEL, _________________RAISE_L2__________________, _______, _________________RAISE_R2__________________, KC_BSLS,
74 _______, _________________RAISE_L3__________________, _______, _________________RAISE_R3__________________, _______
75 ),
76
77 [_ADJUST] = LAYOUT_wrapper(
78 KC_MAKE, _________________ADJUST_L1_________________, KC_NUKE, _________________ADJUST_R1_________________, KC_RST,
79 VRSN, _________________ADJUST_L2_________________, MG_NKRO, _________________ADJUST_R2_________________, EEP_RST,
80 TG_MODS, _________________ADJUST_L3_________________, KC_RGB_T,_________________ADJUST_R3_________________, RGB_IDL
81 )
82};
83// clang-format on
diff --git a/keyboards/c39/keymaps/drashna/readme.md b/keyboards/c39/keymaps/drashna/readme.md
new file mode 100755
index 000000000..a8efbaa5f
--- /dev/null
+++ b/keyboards/c39/keymaps/drashna/readme.md
@@ -0,0 +1,3 @@
1# @drashna's keymap for the C39
2
3HERE BE DRAGONS
diff --git a/keyboards/c39/keymaps/drashna/rules.mk b/keyboards/c39/keymaps/drashna/rules.mk
new file mode 100644
index 000000000..a6575bbd9
--- /dev/null
+++ b/keyboards/c39/keymaps/drashna/rules.mk
@@ -0,0 +1,19 @@
1# MCU name
2MCU = STM32F303
3BOARD = QMK_PROTON_C
4
5# Bootloader selection
6BOOTLOADER = stm32-dfu
7
8BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
9MOUSEKEY_ENABLE = yes
10EXTRAKEY_ENABLE = yes
11CONSOLE_ENABLE = yes
12COMMAND_ENABLE = yes
13NKRO_ENABLE = yes
14AUDIO_ENABLE = yes
15UNICODE_ENABLE = yes
16HAPTIC_ENABLE = yes
17HAPTIC_DRIVER = SOLENOID
18
19RGBLIGHT_STARTUP_ANIMATION = yes
diff --git a/keyboards/c39/keymaps/kuchosauronad0/config.h b/keyboards/c39/keymaps/kuchosauronad0/config.h
new file mode 100644
index 000000000..d67935a9f
--- /dev/null
+++ b/keyboards/c39/keymaps/kuchosauronad0/config.h
@@ -0,0 +1,34 @@
1
2/*
3This is the c configuration file for the keymap
4
5Copyright 2012 Jun Wako <[email protected]>
6Copyright 2015 Jack Humbert
7Copyright 2017 Art Ortenburger
8
9This program is free software: you can redistribute it and/or modify
10it under the terms of the GNU General Public License as published by
11the Free Software Foundation, either version 2 of the License, or
12(at your option) any later version.
13
14This program is distributed in the hope that it will be useful,
15but WITHOUT ANY WARRANTY; without even the implied warranty of
16MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17GNU General Public License for more details.
18
19You should have received a copy of the GNU General Public License
20along with this program. If not, see <http://www.gnu.org/licenses/>.
21*/
22
23#pragma once
24
25/* key combination for magic key command */
26#undef IS_COMMAND
27#define IS_COMMAND() ( \
28 get_mods() == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_LALT)) \
29)
30
31#ifdef RGBLIGHT_ENABLE
32# define RGB_DI_PIN D0
33# define RGBLED_NUM 4
34#endif // !RGBLIGHT_ENABLE
diff --git a/keyboards/c39/keymaps/kuchosauronad0/keymap.c b/keyboards/c39/keymaps/kuchosauronad0/keymap.c
new file mode 100644
index 000000000..231e3cf44
--- /dev/null
+++ b/keyboards/c39/keymaps/kuchosauronad0/keymap.c
@@ -0,0 +1,131 @@
1/*
2This is the keymap for the keyboard
3
4Copyright 2012 Jun Wako <[email protected]>
5Copyright 2015 Jack Humbert
6Copyright 2017 Art Ortenburger
7
8This program is free software: you can redistribute it and/or modify
9it under the terms of the GNU General Public License as published by
10the Free Software Foundation, either version 2 of the License, or
11(at your option) any later version.
12
13This program is distributed in the hope that it will be useful,
14but WITHOUT ANY WARRANTY; without even the implied warranty of
15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16GNU General Public License for more details.
17
18You should have received a copy of the GNU General Public License
19along with this program. If not, see <http://www.gnu.org/licenses/>.
20*/
21
22#include QMK_KEYBOARD_H
23#include "kuchosauronad0.h"
24
25#ifdef RGBLIGHT_ENABLE
26 extern rgblight_config_t rgblight_config;
27#endif
28
29#ifdef INDICATOR_LIGHTS
30 extern userspace_config_t userspace_config;
31 uint8_t last_mod;
32 uint8_t last_led;
33 uint8_t last_osm;
34#endif
35
36
37#define LAYOUT_collide39_base( \
38 K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, \
39 K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, \
40 K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A \
41 ) \
42 LAYOUT_wrapper( \
43 MT(MOD_LALT,KC_TAB), K01, K02, K03, K04, K05, LT(RAISE,KC_PGUP), K06, K07, K08, K09, K0A, KC_BSPC, \
44 SFT_T(KC_ESC), K11, K12, K13, K14, K15, LT(LOWER,KC_PGDN), K16, K17, K18, K19, K1A, SFT_T(KC_ENT), \
45 MT(MOD_LCTL,KC_DEL), K21, K22, K23, K24, K25, KC_SPACE, K26, K27, K28, K29, K2A, KC_LEAD \
46 )
47
48/*
49 * ,------. ,----------------------------------------------------------------------------. ,------.
50 * |ALTTAB| | Q | W | E | R | T |RSE/PU| Y | U | I | O | P | | BSPC |
51 * |------| |------+------+------+------+------+------+------+------+------+------+------+ |------|
52 * |SF/ESC| | A | S | D | F | G |LWR/PD| H | J | K | L | ; | | ENTER|
53 * |------| |------+------+------+------+------+------+------+------+------+------+------+ |------|
54 * |CTLDEL| | Z | X | C | V | B |SPACE | N | M | , | . | / | |LEADER|
55 * `------' `----------------------------------------------------------------------------' `------'
56 */
57
58const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
59
60 [_QWERTY] = LAYOUT_collide39_base_wrapper(
61 _________________QWERTY_L1_________________, _________________QWERTY_R1_________________,
62 _________________QWERTY_L2_________________, _________________QWERTY_R2_________________,
63 _________________QWERTY_L3_________________, _________________QWERTY_R3_________________
64 ),
65
66 [_COLEMAK] = LAYOUT_collide39_base_wrapper(
67 _________________COLEMAK_L1________________, _________________COLEMAK_R1________________,
68 _________________COLEMAK_L2________________, _________________COLEMAK_R2________________,
69 _________________COLEMAK_L3________________, _________________COLEMAK_R3________________
70 ),
71
72 [_DVORAK] = LAYOUT_collide39_base_wrapper(
73 _________________DVORAK_L1_________________, _________________DVORAK_R1_________________,
74 _________________DVORAK_L2_________________, _________________DVORAK_R2_________________,
75 _________________DVORAK_L3_________________, _________________DVORAK_R3_________________
76 ),
77
78#ifdef UNICODEMAP_ENABLE
79 [_UNICODE] = LAYOUT_collide39_base_wrapper(
80 _______________UNICODE_L1__________________, _______________UNICODE_R1__________________,
81 _______________UNICODE_L2__________________, _______________UNICODE_R2__________________,
82 _______________UNICODE_L3__________________, _______________UNICODE_R3__________________
83 ),
84#endif
85 [_WORKMAN] = LAYOUT_collide39_base_wrapper(
86 _________________RGB_UP____________________, _________________RGB_UP____________________,
87 _________________RGB_CENTER________________, _________________RGB_CENTER________________,
88 _________________RGB_DOWN__________________, _________________RGB_DOWN__________________
89 ),
90
91 [_PLOVER] = LAYOUT_wrapper(\
92 KC_1, _________________PLOVER_L1_________________, _______, _________________PLOVER_R1_________________, KC_1,
93 KC_NO, _________________PLOVER_L2_________________, _______, _________________PLOVER_R2_________________, KC_NO,
94 KC_NO, _________________PLOVER_L3_________________, _______, _________________PLOVER_R3_________________, _______
95 ),
96
97 [_MODS] = LAYOUT_wrapper(\
98 KC_LALT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_RALT,
99 KC_LCTL, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_RCTL,
100 KC_LSFT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
101 ),
102
103 [_LOWER] = LAYOUT_wrapper(\
104 KC_TILD, _________________LOWER_L1__________________, _______, _________________LOWER_R1__________________, KC_BSPC,
105 KC_F11, _________________LOWER_L2__________________, _______, _________________LOWER_R2__________________, KC_PIPE,
106 KC_F12, _________________LOWER_L3__________________, _______, _________________LOWER_R3__________________, _______
107 ),
108
109 [_RAISE] = LAYOUT_wrapper(\
110 KC_GRV, _________________RAISE_L1__________________, _______, _________________RAISE_R1__________________, KC_BSPC,
111 _______, _________________RAISE_L2__________________, _______, _________________RAISE_R2__________________, KC_BSLS,
112 _______, _________________RAISE_L3__________________, _______, _________________RAISE_R3__________________, _______
113 ),
114
115 [_ADJUST] = LAYOUT_wrapper(\
116 KC_MAKE, _________________ADJUST_L1_________________, _______, _________________ADJUST_R1_________________, KC_RESET,
117 VRSN, _________________ADJUST_L2_________________, _______, _________________ADJUST_R2_________________, EEP_RST,
118 DEBUG, _________________ADJUST_L3_________________, _______, _________________ADJUST_R3_________________, _______
119 )
120
121};
122
123void matrix_init_keymap(void) {
124 #ifndef CONVERT_TO_PROTON_C
125 setPinOutput(D5);
126 writePinHigh(D5);
127 setPinOutput(B0);
128 writePinHigh(B0);
129 #endif
130}
131
diff --git a/keyboards/c39/keymaps/kuchosauronad0/readme.md b/keyboards/c39/keymaps/kuchosauronad0/readme.md
new file mode 100644
index 000000000..ff01fb5ff
--- /dev/null
+++ b/keyboards/c39/keymaps/kuchosauronad0/readme.md
@@ -0,0 +1,10 @@
1# Personal keymap for the collide39
2
3## Features:
4
5- leader key
6- combos
7- tap dance
8- rgb backlight for the space key using a chameleon 4x WS28xx leds
9
10#
diff --git a/keyboards/c39/keymaps/kuchosauronad0/rules.mk b/keyboards/c39/keymaps/kuchosauronad0/rules.mk
new file mode 100644
index 000000000..a6304cdf4
--- /dev/null
+++ b/keyboards/c39/keymaps/kuchosauronad0/rules.mk
@@ -0,0 +1,20 @@
1BOOTLOADER = caterina
2BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
3MOUSEKEY_ENABLE = no # Mouse keys(+4700)
4EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
5CONSOLE_ENABLE = no # Console for debug(+400)
6COMMAND_ENABLE = no # Commands for debug and configuration
7LEADER_ENABLE = yes # default is yes
8TAP_DANCE_ENABLE = no #(+1254)
9COMBO_ENABLE = yes
10UNICODE_ENABLE = no #(+1134)
11UNICODEMAP_ENABLE = yes
12RGBLIGHT_ENABLE = yes
13AUDIO_ENABLE = no
14NKRO_ENABLE = yes
15
16INDICATOR_LIGHTS = yes
17MACROS_ENABLED = no
18RGBLIGHT_STARTUP_ANIMATION = yes
19
20NO_SECRETS = no
diff --git a/keyboards/c39/readme.md b/keyboards/c39/readme.md
new file mode 100755
index 000000000..0454f1c12
--- /dev/null
+++ b/keyboards/c39/readme.md
@@ -0,0 +1,16 @@
1# C39
2=======
3
4![C39](https://i.imgur.com/KuWIIuW.png)
5
6A compact 39 key keyboard.
7
8Keyboard Maintainer: [Maple Computing]()
9Hardware Supported: C39 PCB
10Hardware Availability: [SpaceCat.design](https://spacecat.design)
11
12Make example for this keyboard (after setting up your build environment):
13
14 make c39:default
15
16See 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/c39/rules.mk b/keyboards/c39/rules.mk
new file mode 100755
index 000000000..4b65b7b9d
--- /dev/null
+++ b/keyboards/c39/rules.mk
@@ -0,0 +1,18 @@
1# MCU name
2MCU = atmega32u4
3
4# Bootloader selection
5BOOTLOADER = caterina
6
7# Build Options
8# change yes to no to disable
9#
10BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
11MOUSEKEY_ENABLE = yes # Mouse keys
12EXTRAKEY_ENABLE = yes # Audio control and System control
13CONSOLE_ENABLE = yes # Console for debug
14COMMAND_ENABLE = yes # Commands for debug and configuration
15NKRO_ENABLE = no # Enable N-Key Rollover
16BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
17AUDIO_ENABLE = no # Audio output
18RGBLIGHT_ENABLE = no # RGB Enable / Disable