diff options
author | J.Flanagan <jrfhoutx@comcast.net> | 2021-04-13 22:08:42 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-13 20:08:42 -0700 |
commit | 9dea6f772077dc5c09daf40378e45884d29ab2e2 (patch) | |
tree | 3d4ed36eca5e0823ceebe4272de883a3d0adebdc /keyboards/caffeinated | |
parent | b64dabdffda0ea6900beec550d2f42bc3b69ac7b (diff) | |
download | qmk_firmware-9dea6f772077dc5c09daf40378e45884d29ab2e2.tar.gz qmk_firmware-9dea6f772077dc5c09daf40378e45884d29ab2e2.zip |
[Keyboard] Add Caffeinated Studios Serpent65 (#12578)
Diffstat (limited to 'keyboards/caffeinated')
-rw-r--r-- | keyboards/caffeinated/serpent65/chconf.h | 25 | ||||
-rw-r--r-- | keyboards/caffeinated/serpent65/config.h | 109 | ||||
-rw-r--r-- | keyboards/caffeinated/serpent65/info.json | 13 | ||||
-rw-r--r-- | keyboards/caffeinated/serpent65/keymaps/default/keymap.c | 48 | ||||
-rw-r--r-- | keyboards/caffeinated/serpent65/keymaps/default/readme.md | 1 | ||||
-rw-r--r-- | keyboards/caffeinated/serpent65/keymaps/via/keymap.c | 64 | ||||
-rw-r--r-- | keyboards/caffeinated/serpent65/keymaps/via/readme.md | 1 | ||||
-rw-r--r-- | keyboards/caffeinated/serpent65/keymaps/via/rules.mk | 1 | ||||
-rw-r--r-- | keyboards/caffeinated/serpent65/readme.md | 23 | ||||
-rw-r--r-- | keyboards/caffeinated/serpent65/rules.mk | 19 | ||||
-rw-r--r-- | keyboards/caffeinated/serpent65/serpent65.c | 16 | ||||
-rw-r--r-- | keyboards/caffeinated/serpent65/serpent65.h | 52 |
12 files changed, 372 insertions, 0 deletions
diff --git a/keyboards/caffeinated/serpent65/chconf.h b/keyboards/caffeinated/serpent65/chconf.h new file mode 100644 index 000000000..cbbae3107 --- /dev/null +++ b/keyboards/caffeinated/serpent65/chconf.h | |||
@@ -0,0 +1,25 @@ | |||
1 | /* Copyright 2020 QMK | ||
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 | #define CH_CFG_ST_FREQUENCY 10000 | ||
20 | |||
21 | #define CH_CFG_OPTIMIZE_SPEED FALSE | ||
22 | |||
23 | #define CH_CFG_USE_CONDVARS_TIMEOUT FALSE | ||
24 | |||
25 | #include_next <chconf.h> | ||
diff --git a/keyboards/caffeinated/serpent65/config.h b/keyboards/caffeinated/serpent65/config.h new file mode 100644 index 000000000..f09a1c2b0 --- /dev/null +++ b/keyboards/caffeinated/serpent65/config.h | |||
@@ -0,0 +1,109 @@ | |||
1 | /* | ||
2 | Copyright 2021 jrfhoutx | ||
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 0x4353 // "CS" = Caffeinated Studios | ||
24 | #define PRODUCT_ID 0x6501 | ||
25 | #define DEVICE_VER 0x0001 | ||
26 | #define MANUFACTURER Caffeinated Studios | ||
27 | #define PRODUCT Serpent65 | ||
28 | |||
29 | /* key matrix size */ | ||
30 | #define MATRIX_ROWS 10 | ||
31 | #define MATRIX_COLS 8 | ||
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 | #define MATRIX_ROW_PINS {B11, B10, B2, B1, B0, A7, A6, A5, B13, B12} | ||
44 | #define MATRIX_COL_PINS {A1, A2, A3, A4, B14, B15, A8, A9} | ||
45 | //{C13, C14, C15, A0,A2,A3,A4,A5,A6, A1,B12,B1} | ||
46 | /* Unused pins, in the default layout, are: | ||
47 | EncA (B6) because it is not used in the default PCB | ||
48 | All Extra pins (A8, B15, B14, B13, B3, B5, B8, B9) , for the same reason; | ||
49 | B0, which is unconnected on the PCB | ||
50 | */ | ||
51 | //#define UNUSED_PINS { B0, B6, B13, B14, B15, B8, B9, B5, B3 } | ||
52 | |||
53 | /* COL2ROW, ROW2COL*/ | ||
54 | #define DIODE_DIRECTION COL2ROW | ||
55 | |||
56 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
57 | #define DEBOUNCE 5 | ||
58 | |||
59 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
60 | //#define MATRIX_HAS_GHOST | ||
61 | |||
62 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
63 | #define LOCKING_SUPPORT_ENABLE | ||
64 | /* Locking resynchronize hack */ | ||
65 | #define LOCKING_RESYNC_ENABLE | ||
66 | |||
67 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | ||
68 | * This is userful for the Windows task manager shortcut (ctrl+shift+esc). | ||
69 | */ | ||
70 | // #define GRAVE_ESC_CTRL_OVERRIDE | ||
71 | |||
72 | /* | ||
73 | * Force NKRO | ||
74 | * | ||
75 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
76 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
77 | * makefile for this to work.) | ||
78 | * | ||
79 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
80 | * until the next keyboard reset. | ||
81 | * | ||
82 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
83 | * fully operational during normal computer usage. | ||
84 | * | ||
85 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
86 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
87 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
88 | * power-up. | ||
89 | * | ||
90 | */ | ||
91 | //#define FORCE_NKRO | ||
92 | |||
93 | /* | ||
94 | * Feature disable options | ||
95 | * These options are also useful to firmware size reduction. | ||
96 | */ | ||
97 | |||
98 | /* disable debug print */ | ||
99 | //#define NO_DEBUG | ||
100 | |||
101 | /* disable print */ | ||
102 | //#define NO_PRINT | ||
103 | |||
104 | /* disable action features */ | ||
105 | //#define NO_ACTION_LAYER | ||
106 | //#define NO_ACTION_TAPPING | ||
107 | //#define NO_ACTION_ONESHOT | ||
108 | //#define NO_ACTION_MACRO | ||
109 | //#define NO_ACTION_FUNCTION | ||
diff --git a/keyboards/caffeinated/serpent65/info.json b/keyboards/caffeinated/serpent65/info.json new file mode 100644 index 000000000..83acc6b68 --- /dev/null +++ b/keyboards/caffeinated/serpent65/info.json | |||
@@ -0,0 +1,13 @@ | |||
1 | { | ||
2 | "keyboard_name": "Serpent65", | ||
3 | "keyboard_folder": "caffeinated/serpent65", | ||
4 | "url": "https", | ||
5 | "maintainer": "jrfhoutx", | ||
6 | "width": 18.25, | ||
7 | "height": 5, | ||
8 | "layouts": { | ||
9 | "LAYOUT_all": { | ||
10 | "layout": [{"label":"F1", "x":0, "y":0}, {"label":"MO(1)", "x":1, "y":0}, {"label":"~", "x":2.25, "y":0}, {"label":"!", "x":3.25, "y":0}, {"label":"@", "x":4.25, "y":0}, {"label":"#", "x":5.25, "y":0}, {"label":"$", "x":6.25, "y":0}, {"label":"%", "x":7.25, "y":0}, {"label":"^", "x":8.25, "y":0}, {"label":"&", "x":9.25, "y":0}, {"label":"*", "x":10.25, "y":0}, {"label":"(", "x":11.25, "y":0}, {"label":")", "x":12.25, "y":0}, {"label":"_", "x":13.25, "y":0}, {"label":"+", "x":14.25, "y":0}, {"x":15.25, "y":0}, {"label":"Back", "x":16.25, "y":0}, {"label":"Insert", "x":17.25, "y":0}, {"label":"F3", "x":0, "y":1}, {"label":"F4", "x":1, "y":1}, {"label":"Tab", "x":2.25, "y":1, "w":1.5}, {"label":"Q", "x":3.75, "y":1}, {"label":"W", "x":4.75, "y":1}, {"label":"E", "x":5.75, "y":1}, {"label":"R", "x":6.75, "y":1}, {"label":"T", "x":7.75, "y":1}, {"label":"Y", "x":8.75, "y":1}, {"label":"U", "x":9.75, "y":1}, {"label":"I", "x":10.75, "y":1}, {"label":"O", "x":11.75, "y":1}, {"label":"P", "x":12.75, "y":1}, {"label":"{", "x":13.75, "y":1}, {"label":"}", "x":14.75, "y":1}, {"label":"|", "x":15.75, "y":1, "w":1.5}, {"label":"Delete", "x":17.25, "y":1}, {"label":"F5", "x":0, "y":2}, {"label":"F6", "x":1, "y":2}, {"label":"Caps Lock", "x":2.25, "y":2, "w":1.75}, {"label":"A", "x":4, "y":2}, {"label":"S", "x":5, "y":2}, {"label":"D", "x":6, "y":2}, {"label":"F", "x":7, "y":2}, {"label":"G", "x":8, "y":2}, {"label":"H", "x":9, "y":2}, {"label":"J", "x":10, "y":2}, {"label":"K", "x":11, "y":2}, {"label":"L", "x":12, "y":2}, {"label":":", "x":13, "y":2}, {"label":"\"", "x":14, "y":2}, {"x":15, "y":2}, {"label":"Enter", "x":16, "y":2, "w":1.25}, {"label":"PgUp", "x":17.25, "y":2}, {"label":"F7", "x":0, "y":3}, {"label":"F8", "x":1, "y":3}, {"label":"Shift", "x":2.25, "y":3, "w":1.25}, {"x":3.5, "y":3}, {"label":"Z", "x":4.5, "y":3}, {"label":"X", "x":5.5, "y":3}, {"label":"C", "x":6.5, "y":3}, {"label":"V", "x":7.5, "y":3}, {"label":"B", "x":8.5, "y":3}, {"label":"N", "x":9.5, "y":3}, {"label":"M", "x":10.5, "y":3}, {"label":"<", "x":11.5, "y":3}, {"label":">", "x":12.5, "y":3}, {"label":"?", "x":13.5, "y":3}, {"label":"Shift", "x":14.5, "y":3, "w":1.75}, {"label":"\u2191", "x":16.25, "y":3}, {"label":"PgDn", "x":17.25, "y":3}, {"label":"F9", "x":0, "y":4}, {"label":"F10", "x":1, "y":4}, {"label":"Ctrl", "x":2.25, "y":4, "w":1.25}, {"label":"Win", "x":3.5, "y":4, "w":1.25}, {"label":"Alt", "x":4.75, "y":4, "w":1.25}, {"x":6, "y":4, "w":6.25}, {"label":"Alt", "x":12.25, "y":4, "w":1.25}, {"label":"Ctrl", "x":13.5, "y":4, "w":1.25}, {"label":"\u2190", "x":15.25, "y":4}, {"label":"\u2193", "x":16.25, "y":4}, {"label":"\u2192", "x":17.25, "y":4}] | ||
11 | } | ||
12 | } | ||
13 | } | ||
diff --git a/keyboards/caffeinated/serpent65/keymaps/default/keymap.c b/keyboards/caffeinated/serpent65/keymaps/default/keymap.c new file mode 100644 index 000000000..cf0097f91 --- /dev/null +++ b/keyboards/caffeinated/serpent65/keymaps/default/keymap.c | |||
@@ -0,0 +1,48 @@ | |||
1 | /* Copyright 2021 jrfhoutx | ||
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 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
20 | /* Keymap BASE: (Base Layer) Default Layer | ||
21 | * .---------------------------------------------------------------------. | ||
22 | * |Esc | 1 | 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =| ~ | \ | Ins | | ||
23 | * |---------------------------------------------------------------------| | ||
24 | * |Tab | Q| W| E| R| T| Y| U| I| O| P| [ | ] | BkSpc | Del | | ||
25 | * |---------------------------------------------------------------------| | ||
26 | * |CAPS | A| S| D| F| G| H| J| K| L| ;| '| Return | PgUp| | ||
27 | * |---------------------------------------------------------------------| | ||
28 | * |Shift | Z| X| C| V| B| N| M| ,| .| /| Shift | Up | | | ||
29 | * |---------------------------------------------------------------------| | ||
30 | * | LCtrl | GUI | Alt | Space | Alt | MO(1) | L | Dn | R | | ||
31 | * `---------------------------------------------------------------------' | ||
32 | */ | ||
33 | [0] = LAYOUT_all( /* Serpent65 Base */ | ||
34 | 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_GRV, KC_BSLS, KC_INS, | ||
35 | 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_BSPC, KC_DEL, | ||
36 | KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_TRNS, KC_ENT, KC_PGUP, | ||
37 | KC_LSFT, KC_TRNS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, | ||
38 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT | ||
39 | ), | ||
40 | |||
41 | [1] = LAYOUT_all( /* Serpent65 Base */ | ||
42 | RESET, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
43 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
44 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
45 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
46 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
47 | ), | ||
48 | }; | ||
diff --git a/keyboards/caffeinated/serpent65/keymaps/default/readme.md b/keyboards/caffeinated/serpent65/keymaps/default/readme.md new file mode 100644 index 000000000..fd995e9e2 --- /dev/null +++ b/keyboards/caffeinated/serpent65/keymaps/default/readme.md | |||
@@ -0,0 +1 @@ | |||
# The default keymap for the Cafeinated Studios Serpent65 | |||
diff --git a/keyboards/caffeinated/serpent65/keymaps/via/keymap.c b/keyboards/caffeinated/serpent65/keymaps/via/keymap.c new file mode 100644 index 000000000..d4f6d9e20 --- /dev/null +++ b/keyboards/caffeinated/serpent65/keymaps/via/keymap.c | |||
@@ -0,0 +1,64 @@ | |||
1 | /* Copyright 2021 jrfhoutx | ||
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 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
20 | /* Keymap BASE: (Base Layer) Default Layer | ||
21 | * .---------------------------------------------------------------------. | ||
22 | * |Esc | 1 | 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =| ~ | \ | Ins | | ||
23 | * |---------------------------------------------------------------------| | ||
24 | * |Tab | Q| W| E| R| T| Y| U| I| O| P| [ | ] | BkSpc | Del | | ||
25 | * |---------------------------------------------------------------------| | ||
26 | * |CAPS | A| S| D| F| G| H| J| K| L| ;| '| Return | PgUp| | ||
27 | * |---------------------------------------------------------------------| | ||
28 | * |Shift | Z| X| C| V| B| N| M| ,| .| /| Shift | Up | | | ||
29 | * |---------------------------------------------------------------------| | ||
30 | * | LCtrl | GUI | Alt | Space | Alt | MO(1) | L | Dn | R | | ||
31 | * `---------------------------------------------------------------------' | ||
32 | */ | ||
33 | [0] = LAYOUT_all( /* Serpent65 Base */ | ||
34 | 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_GRV, KC_BSLS, KC_INS, | ||
35 | 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_BSPC, KC_DEL, | ||
36 | KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_TRNS, KC_ENT, KC_PGUP, | ||
37 | KC_LSFT, KC_TRNS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, | ||
38 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT | ||
39 | ), | ||
40 | |||
41 | [1] = LAYOUT_all( /* Serpent65 Base */ | ||
42 | RESET, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
43 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
44 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
45 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
46 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
47 | ), | ||
48 | |||
49 | [2] = LAYOUT_all( /* Serpent65 Base */ | ||
50 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
51 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
52 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
53 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
54 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
55 | ), | ||
56 | |||
57 | [3] = LAYOUT_all( /* Serpent65 Base */ | ||
58 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
59 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
60 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
61 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
62 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
63 | ), | ||
64 | }; | ||
diff --git a/keyboards/caffeinated/serpent65/keymaps/via/readme.md b/keyboards/caffeinated/serpent65/keymaps/via/readme.md new file mode 100644 index 000000000..156593344 --- /dev/null +++ b/keyboards/caffeinated/serpent65/keymaps/via/readme.md | |||
@@ -0,0 +1 @@ | |||
# The VIA keymap for the Cafeinated Studios Serpent65 | |||
diff --git a/keyboards/caffeinated/serpent65/keymaps/via/rules.mk b/keyboards/caffeinated/serpent65/keymaps/via/rules.mk new file mode 100644 index 000000000..1e5b99807 --- /dev/null +++ b/keyboards/caffeinated/serpent65/keymaps/via/rules.mk | |||
@@ -0,0 +1 @@ | |||
VIA_ENABLE = yes | |||
diff --git a/keyboards/caffeinated/serpent65/readme.md b/keyboards/caffeinated/serpent65/readme.md new file mode 100644 index 000000000..58a90ec02 --- /dev/null +++ b/keyboards/caffeinated/serpent65/readme.md | |||
@@ -0,0 +1,23 @@ | |||
1 | # Caffeinated Studios' Serpent65 | ||
2 | |||
3 |  | ||
4 | |||
5 | The Serpent65 is a 65% created by Caffeinated Studios. The board supports ANSI and ISO modifiers as well as split backspace and stepped/non-stepped caps lock. | ||
6 | |||
7 | The PCB is an ARM powered board utilizing the STM32F072CBT6 mcu, designed by BlindAssassin111. The PCB is designed to work with the universal daughterboard and a 4in (~100mm) 4 pin JST SR cable with reversed pinout (pin 1 of both connectors is the same wire etc.). | ||
8 | |||
9 | On the PCB is a single button for a reset for flashing. As well, there is a [Segger J-Link 6-pin Needle Adapter](https://www.segger.com/products/debug-probes/j-link/accessories/adapters/6-pin-needle-adapter/) footprint for reflashing the mcu as a backup in case of a bootloader issue. | ||
10 | |||
11 | * Keyboard Maintainer: [jrfhoutx](https://github.com/jrfhoutx) | ||
12 | * Hardware Supported: Serpent65 | ||
13 | * Hardware Availability: Coming Soon | ||
14 | |||
15 | Make example for this keyboard (after setting up your build environment): | ||
16 | |||
17 | make caffeinated/serpent65:default | ||
18 | |||
19 | Flashing example for this keyboard: | ||
20 | |||
21 | make caffeinated/serpent65:default:flash | ||
22 | |||
23 | 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/caffeinated/serpent65/rules.mk b/keyboards/caffeinated/serpent65/rules.mk new file mode 100644 index 000000000..ce2a3f75e --- /dev/null +++ b/keyboards/caffeinated/serpent65/rules.mk | |||
@@ -0,0 +1,19 @@ | |||
1 | # MCU name | ||
2 | MCU = STM32F072 | ||
3 | |||
4 | # Build Options | ||
5 | # change yes to no to disable | ||
6 | # | ||
7 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | ||
8 | MOUSEKEY_ENABLE = no # Mouse keys | ||
9 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
10 | CONSOLE_ENABLE = no # Console for debug | ||
11 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
12 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
13 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
14 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
15 | NKRO_ENABLE = yes # USB Nkey Rollover | ||
16 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
17 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
18 | BLUETOOTH_ENABLE = no # Enable Bluetooth | ||
19 | AUDIO_ENABLE = no # Audio output | ||
diff --git a/keyboards/caffeinated/serpent65/serpent65.c b/keyboards/caffeinated/serpent65/serpent65.c new file mode 100644 index 000000000..ad812ee44 --- /dev/null +++ b/keyboards/caffeinated/serpent65/serpent65.c | |||
@@ -0,0 +1,16 @@ | |||
1 | /* Copyright 2021 jrfhoutx | ||
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 "serpent65.h" | ||
diff --git a/keyboards/caffeinated/serpent65/serpent65.h b/keyboards/caffeinated/serpent65/serpent65.h new file mode 100644 index 000000000..a218e3279 --- /dev/null +++ b/keyboards/caffeinated/serpent65/serpent65.h | |||
@@ -0,0 +1,52 @@ | |||
1 | /* Copyright 2021 jrfhoutx | ||
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 | #pragma once | ||
17 | |||
18 | #include "quantum.h" | ||
19 | #define ___ KC_NO | ||
20 | |||
21 | /* This 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 | * | ||
30 | * Use LAYOUT_all for ISO and Tsangan builds | ||
31 | * | ||
32 | */ | ||
33 | |||
34 | #define LAYOUT_all( \ | ||
35 | K00, K10, K01, K11, K02, K12, K03, K13, K04, K14, K05, K15, K06, K16, K07, K17, \ | ||
36 | K20, K30, K21, K31, K22, K32, K23, K33, K24, K34, K25, K35, K26, K27, K37, \ | ||
37 | K40, K50, K41, K51, K42, K52, K43, K53, K44, K54, K45, K55, K46, K47, K57, \ | ||
38 | K60, K70, K61, K71, K62, K72, K63, K73, K64, K74, K65, K75, K66, K67, \ | ||
39 | K80, K90, K81, K83, K85, K95, K96, K87, K97 \ | ||
40 | ) \ | ||
41 | { \ | ||
42 | { K00, K01, K02, K03, K04, K05, K06, K07, }, \ | ||
43 | { K10, K11, K12, K13, K14, K15, K16, K17, }, \ | ||
44 | { K20, K21, K22, K23, K24, K25, K26, K27, }, \ | ||
45 | { K30, K31, K32, K33, K34, K35, ___, K37, }, \ | ||
46 | { K40, K41, K42, K43, K44, K45, K46, K47, }, \ | ||
47 | { K50, K51, K52, K53, K54, K55, ___, K57, }, \ | ||
48 | { K60, K61, K62, K63, K64, K65, K66, K67, }, \ | ||
49 | { K70, K71, K72, K73, K74, K75, ___, ___, }, \ | ||
50 | { K80, K81, ___, K83, ___, K85, ___, K87, }, \ | ||
51 | { K90, ___, ___, ___, ___, K95, K96, K97 } \ | ||
52 | } | ||