aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyboards/trashman/ketch/config.h44
-rw-r--r--keyboards/trashman/ketch/info.json53
-rw-r--r--keyboards/trashman/ketch/ketch.c23
-rw-r--r--keyboards/trashman/ketch/ketch.h96
-rw-r--r--keyboards/trashman/ketch/keymaps/default/keymap.c44
-rw-r--r--keyboards/trashman/ketch/keymaps/jetpacktuxedo/config.h26
-rw-r--r--keyboards/trashman/ketch/keymaps/jetpacktuxedo/keymap.c113
-rw-r--r--keyboards/trashman/ketch/readme.md23
-rw-r--r--keyboards/trashman/ketch/rules.mk22
-rw-r--r--keyboards/trashman/readme.md4
10 files changed, 448 insertions, 0 deletions
diff --git a/keyboards/trashman/ketch/config.h b/keyboards/trashman/ketch/config.h
new file mode 100644
index 000000000..93e6479a1
--- /dev/null
+++ b/keyboards/trashman/ketch/config.h
@@ -0,0 +1,44 @@
1/*
2Copyright 2021 Evan Sailer, Jetpacktuxedo, & QMK Firmware
3
4Permission is hereby granted, free of charge, to any person obtaining a copy
5of this software and associated documentation files (the "Software"), to
6deal in the Software without restriction, including without limitation the
7rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
8sell copies of the Software, and to permit persons to whom the Software is
9furnished to do so, subject to the following conditions:
10
11The above copyright notice and this permission notice shall be included in all
12copies or substantial portions of the Software.
13
14THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20SOFTWARE.
21*/
22
23#pragma once
24#include "config_common.h"
25
26#define VENDOR_ID 0xFEAE
27#define PRODUCT_ID 0x8947
28#define DEVICE_VER 0x0001
29#define MANUFACTURER trash man
30#define PRODUCT Ketch
31
32#define MATRIX_ROWS 6
33#define MATRIX_COLS 8
34#define MATRIX_ROW_PINS { F5, F1, F0, F7, B6, F6 }
35#define MATRIX_COL_PINS { D0, D1, D2, D3, D4, D5, D6, D7 }
36#define DIODE_DIRECTION COL2ROW
37#define DEBOUNCE 5
38
39#define USB_MAX_POWER_CONSUMPTION 100
40#define RGB_DI_PIN F4
41#define RGBLED_NUM 10
42#define RGBLIGHT_ANIMATIONS
43#define RGBLIGHT_SLEEP
44#define NO_USB_STARTUP_CHECK
diff --git a/keyboards/trashman/ketch/info.json b/keyboards/trashman/ketch/info.json
new file mode 100644
index 000000000..bb69106b3
--- /dev/null
+++ b/keyboards/trashman/ketch/info.json
@@ -0,0 +1,53 @@
1{
2 "keyboard_name": "ketch",
3 "url": "https://trashman.wiki/pcbs/ketch",
4 "maintainer": "jetpacktuxedo",
5 "width": 12.75,
6 "height": 4,
7 "layouts": {
8 "LAYOUT": {
9 "layout": [
10 {"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":6, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":10, "y":0}, {"x":11, "y":0, "w":1.75},
11 {"x":0, "y":1, "w":1.25}, {"x":1.25, "y":1}, {"x":2.25, "y":1}, {"x":3.25, "y":1}, {"x":4.25, "y":1}, {"x":5.25, "y":1}, {"x":6.25, "y":1}, {"x":7.25, "y":1}, {"x":8.25, "y":1}, {"x":9.25, "y":1}, {"x":10.25, "y":1}, {"x":11.25, "y":1, "w":1.5},
12 {"x":0, "y":2, "w":1.75}, {"x":1.75, "y":2}, {"x":2.75, "y":2}, {"x":3.75, "y":2}, {"x":4.75, "y":2}, {"x":5.75, "y":2}, {"x":6.75, "y":2}, {"x":7.75, "y":2}, {"x":8.75, "y":2}, {"x":9.75, "y":2}, {"x":10.75, "y":2}, {"x":11.75, "y":2},
13 {"x":0, "y":3, "w":1.25}, {"x":1.25, "y":3, "w":1.5}, {"x":2.75, "y":3, "w":1.25}, {"x":4, "y":3, "w":2.25}, {"x":6.25, "y":3, "w":2}, {"x":8.25, "y":3, "w":1.25}, {"x":9.5, "y":3, "w":1.5}, {"x":11, "y":3, "w":1.75}
14 ]
15 },
16
17 "LAYOUT_arrow": {
18 "layout": [
19 {"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":6, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":10, "y":0}, {"x":11, "y":0, "w":1.75},
20 {"x":0, "y":1, "w":1.25}, {"x":1.25, "y":1}, {"x":2.25, "y":1}, {"x":3.25, "y":1}, {"x":4.25, "y":1}, {"x":5.25, "y":1}, {"x":6.25, "y":1}, {"x":7.25, "y":1}, {"x":8.25, "y":1}, {"x":9.25, "y":1}, {"x":10.25, "y":1}, {"x":11.25, "y":1, "w":1.5},
21 {"x":0, "y":2, "w":1.75}, {"x":1.75, "y":2}, {"x":2.75, "y":2}, {"x":3.75, "y":2}, {"x":4.75, "y":2}, {"x":5.75, "y":2}, {"x":6.75, "y":2}, {"x":7.75, "y":2}, {"x":8.75, "y":2}, {"x":9.75, "y":2}, {"x":10.75, "y":2}, {"x":11.75, "y":2},
22 {"x":0, "y":3, "w":1.25}, {"x":1.25, "y":3, "w":1.5}, {"x":2.75, "y":3, "w":1.25}, {"x":4, "y":3, "w":2.25}, {"x":6.25, "y":3, "w":2}, {"x":8.25, "y":3, "w":1.5}, {"x":9.75, "y":3}, {"x":10.75, "y":3}, {"x":11.75, "y":3}
23 ]
24 },
25
26 "LAYOUT_command": {
27 "layout": [
28 {"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":6, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":10, "y":0}, {"x":11, "y":0, "w":1.75},
29 {"x":0, "y":1, "w":1.25}, {"x":1.25, "y":1}, {"x":2.25, "y":1}, {"x":3.25, "y":1}, {"x":4.25, "y":1}, {"x":5.25, "y":1}, {"x":6.25, "y":1}, {"x":7.25, "y":1}, {"x":8.25, "y":1}, {"x":9.25, "y":1}, {"x":10.25, "y":1}, {"x":11.25, "y":1, "w":1.5},
30 {"x":0, "y":2, "w":1.75}, {"x":1.75, "y":2}, {"x":2.75, "y":2}, {"x":3.75, "y":2}, {"x":4.75, "y":2}, {"x":5.75, "y":2}, {"x":6.75, "y":2}, {"x":7.75, "y":2}, {"x":8.75, "y":2}, {"x":9.75, "y":2}, {"x":10.75, "y":2}, {"x":11.75, "y":2},
31 {"x":0, "y":3}, {"x":1, "y":3}, {"x":2, "y":3}, {"x":3, "y":3}, {"x":4, "y":3, "w":2.25}, {"x":6.25, "y":3, "w":2}, {"x":8.25, "y":3, "w":1.25}, {"x":9.5, "y":3, "w":1.5}, {"x":11, "y":3, "w":1.75}
32 ]
33 },
34
35 "LAYOUT_all": {
36 "layout": [
37 {"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":6, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":10, "y":0}, {"x":11, "y":0, "w":1.75},
38 {"x":0, "y":1, "w":1.25}, {"x":1.25, "y":1}, {"x":2.25, "y":1}, {"x":3.25, "y":1}, {"x":4.25, "y":1}, {"x":5.25, "y":1}, {"x":6.25, "y":1}, {"x":7.25, "y":1}, {"x":8.25, "y":1}, {"x":9.25, "y":1}, {"x":10.25, "y":1}, {"x":11.25, "y":1, "w":1.5},
39 {"x":0, "y":2, "w":1.75}, {"x":1.75, "y":2}, {"x":2.75, "y":2}, {"x":3.75, "y":2}, {"x":4.75, "y":2}, {"x":5.75, "y":2}, {"x":6.75, "y":2}, {"x":7.75, "y":2}, {"x":8.75, "y":2}, {"x":9.75, "y":2}, {"x":10.75, "y":2}, {"x":11.75, "y":2},
40 {"x":0, "y":3}, {"x":1, "y":3}, {"x":2, "y":3}, {"x":3, "y":3}, {"x":4, "y":3, "w":2.25}, {"x":6.25, "y":3, "w":2}, {"x":8.25, "y":3, "w":1.5}, {"x":9.75, "y":3}, {"x":10.75, "y":3}, {"x":11.75, "y":3}
41 ]
42 },
43 "LAYOUT_jetvan": {
44 "layout": [
45 {"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":6, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":10, "y":0}, {"x":11, "y":0, "w":1.75},
46 {"x":0, "y":1, "w":1.25}, {"x":1.25, "y":1}, {"x":2.25, "y":1}, {"x":3.25, "y":1}, {"x":4.25, "y":1}, {"x":5.25, "y":1}, {"x":6.25, "y":1}, {"x":7.25, "y":1}, {"x":8.25, "y":1}, {"x":9.25, "y":1}, {"x":10.25, "y":1}, {"x":11.25, "y":1, "w":1.5},
47 {"x":0, "y":2, "w":1.75}, {"x":1.75, "y":2}, {"x":2.75, "y":2}, {"x":3.75, "y":2}, {"x":4.75, "y":2}, {"x":5.75, "y":2}, {"x":6.75, "y":2}, {"x":7.75, "y":2}, {"x":8.75, "y":2}, {"x":9.75, "y":2}, {"x":10.75, "y":2}, {"x":11.75, "y":2},
48 {"x":0, "y":3, "w":1.25}, {"x":1.25, "y":3}, {"x":2.25, "y":3, "w":1.25}, {"x":3.5, "w":6.25, "y":3}, {"x":9.75, "y":3}, {"x":10.75, "y":3}, {"x":11.75, "y":3}
49 ]
50 }
51 }
52}
53
diff --git a/keyboards/trashman/ketch/ketch.c b/keyboards/trashman/ketch/ketch.c
new file mode 100644
index 000000000..5c38f4766
--- /dev/null
+++ b/keyboards/trashman/ketch/ketch.c
@@ -0,0 +1,23 @@
1/*
2Copyright 2021 Evan Sailer, Jetpacktuxedo, & QMK Firmware
3
4Permission is hereby granted, free of charge, to any person obtaining a copy
5of this software and associated documentation files (the "Software"), to
6deal in the Software without restriction, including without limitation the
7rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
8sell copies of the Software, and to permit persons to whom the Software is
9furnished to do so, subject to the following conditions:
10
11The above copyright notice and this permission notice shall be included in all
12copies or substantial portions of the Software.
13
14THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20SOFTWARE.
21*/
22
23#include "ketch.h"
diff --git a/keyboards/trashman/ketch/ketch.h b/keyboards/trashman/ketch/ketch.h
new file mode 100644
index 000000000..9a20ecf1f
--- /dev/null
+++ b/keyboards/trashman/ketch/ketch.h
@@ -0,0 +1,96 @@
1/*
2Copyright 2021 Evan Sailer, Jetpacktuxedo, & QMK Firmware
3
4Permission is hereby granted, free of charge, to any person obtaining a copy
5of this software and associated documentation files (the "Software"), to
6deal in the Software without restriction, including without limitation the
7rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
8sell copies of the Software, and to permit persons to whom the Software is
9furnished to do so, subject to the following conditions:
10
11The above copyright notice and this permission notice shall be included in all
12copies or substantial portions of the Software.
13
14THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20SOFTWARE.
21*/
22
23#pragma once
24#include "quantum.h"
25
26#define LAYOUT(\
27 K39, K40, K41, K42, K0, K1, K2, K3, K4, K5, K6, K7,\
28 K32, K33, K34, K35, K8, K9, K10, K11, K12, K13, K14, K15,\
29 K38, K45, K44, K36, K16, K17, K18, K19, K20, K21, K22, K23,\
30 K37, K43, K24, K26, K27, K28, K29, K31\
31) {\
32 { K0, K1, K2, K3, K4, K5, K6, K7 },\
33 { K8, K9, K10, K11, K12, K13, K14, K15 },\
34 { K16, K17, K18, K19, K20, K21, K22, K23 },\
35 { K24, KC_NO, K26, K27, K28, K29, KC_NO, K31 },\
36 { K32, K33, K34, K35, K36, K37, K38, KC_NO },\
37 { K39, K40, K41, K42, K43, K44, K45, KC_NO }\
38}
39
40#define LAYOUT_arrow(\
41 K39, K40, K41, K42, K0, K1, K2, K3, K4, K5, K6, K7,\
42 K32, K33, K34, K35, K8, K9, K10, K11, K12, K13, K14, K15,\
43 K38, K45, K44, K36, K16, K17, K18, K19, K20, K21, K22, K23,\
44 K37, K43, K24, K26, K27, K28, K29, K30, K31\
45) {\
46 { K0, K1, K2, K3, K4, K5, K6, K7 }, \
47 { K8, K9, K10, K11, K12, K13, K14, K15 }, \
48 { K16, K17, K18, K19, K20, K21, K22, K23 }, \
49 { K24, KC_NO, K26, K27, K28, K29, K30, K31 }, \
50 { K32, K33, K34, K35, K36, K37, K38, KC_NO }, \
51 { K39, K40, K41, K42, K43, K44, K45, KC_NO } \
52}
53
54#define LAYOUT_command(\
55 K39, K40, K41, K42, K0, K1, K2, K3, K4, K5, K6, K7,\
56 K32, K33, K34, K35, K8, K9, K10, K11, K12, K13, K14, K15,\
57 K38, K45, K44, K36, K16, K17, K18, K19, K20, K21, K22, K23,\
58 K37, K43, K24, K25, K26, K27, K28, K29, K31\
59) {\
60 { K0, K1, K2, K3, K4, K5, K6, K7 }, \
61 { K8, K9, K10, K11, K12, K13, K14, K15 }, \
62 { K16, K17, K18, K19, K20, K21, K22, K23 }, \
63 { K24, K25, K26, K27, K28, K29, KC_NO, K31 }, \
64 { K32, K33, K34, K35, K36, K37, K38, KC_NO }, \
65 { K39, K40, K41, K42, K43, K44, K45, KC_NO } \
66}
67
68// This layout is typically called "southpaw_arrow" or "southpaw + arrow", but
69// using "all" here to match typical qmk conventions
70#define LAYOUT_all(\
71 K39, K40, K41, K42, K0, K1, K2, K3, K4, K5, K6, K7,\
72 K32, K33, K34, K35, K8, K9, K10, K11, K12, K13, K14, K15,\
73 K38, K45, K44, K36, K16, K17, K18, K19, K20, K21, K22, K23,\
74 K37, K43, K24, K25, K26, K27, K28, K29, K30, K31\
75) {\
76 { K0, K1, K2, K3, K4, K5, K6, K7 }, \
77 { K8, K9, K10, K11, K12, K13, K14, K15 }, \
78 { K16, K17, K18, K19, K20, K21, K22, K23 }, \
79 { K24, K25, K26, K27, K28, K29, K30, K31 }, \
80 { K32, K33, K34, K35, K36, K37, K38, KC_NO }, \
81 { K39, K40, K41, K42, K43, K44, K45, KC_NO } \
82}
83
84#define LAYOUT_jetvan(\
85 K39, K40, K41, K42, K0, K1, K2, K3, K4, K5, K6, K7,\
86 K32, K33, K34, K35, K8, K9, K10, K11, K12, K13, K14, K15,\
87 K38, K45, K44, K36, K16, K17, K18, K19, K20, K21, K22, K23,\
88 K37, K43, K24, K27, K29, K30, K31\
89) {\
90 { K0, K1, K2, K3, K4, K5, K6, K7 }, \
91 { K8, K9, K10, K11, K12, K13, K14, K15 }, \
92 { K16, K17, K18, K19, K20, K21, K22, K23 }, \
93 { K24, KC_NO, KC_NO, K27, KC_NO, K29, K30, K31 }, \
94 { K32, K33, K34, K35, K36, K37, K38, KC_NO }, \
95 { K39, K40, K41, K42, K43, K44, K45, KC_NO } \
96}
diff --git a/keyboards/trashman/ketch/keymaps/default/keymap.c b/keyboards/trashman/ketch/keymaps/default/keymap.c
new file mode 100644
index 000000000..5d2220a4f
--- /dev/null
+++ b/keyboards/trashman/ketch/keymaps/default/keymap.c
@@ -0,0 +1,44 @@
1/*
2Copyright 2021 Evan Sailer, Jetpacktuxedo, & QMK Firmware
3
4Permission is hereby granted, free of charge, to any person obtaining a copy
5of this software and associated documentation files (the "Software"), to
6deal in the Software without restriction, including without limitation the
7rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
8sell copies of the Software, and to permit persons to whom the Software is
9furnished to do so, subject to the following conditions:
10
11The above copyright notice and this permission notice shall be included in all
12copies or substantial portions of the Software.
13
14THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20SOFTWARE.
21*/
22
23#include QMK_KEYBOARD_H
24
25const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
26 [0] = LAYOUT_all( /* Qwerty */
27 KC_GESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
28 KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT,
29 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_UP, MT(MOD_RSFT, KC_SLSH),
30 KC_LCTL, KC_LGUI, KC_LALT, MO(1), KC_SPC, KC_SPC, MO(2), KC_LEFT, KC_DOWN, KC_RIGHT
31 ),
32 [1] = LAYOUT_all( /* Number+Symbol Layer */
33 KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL,
34 KC_TRNS, KC_MINS, KC_EQL, KC_SCLN, KC_QUOT, KC_TRNS, KC_TRNS, KC_TRNS, KC_MINS, KC_EQL, KC_QUOT, KC_TRNS,
35 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LBRC, KC_RBRC, KC_PGUP, KC_BSLS,
36 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, KC_PGDN, KC_END
37 ),
38 [2] = LAYOUT_all( /* Shifted Layer */
39 KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL,
40 KC_TRNS, KC_UNDS, KC_PLUS, KC_COLN, KC_DQUO, KC_TRNS, KC_TRNS, KC_TRNS, KC_UNDS, KC_PLUS, KC_DQUO, KC_TRNS,
41 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LCBR, KC_RCBR, KC_PGUP, KC_PIPE,
42 KC_TRNS, RESET, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, KC_PGDN, KC_END
43 )
44};
diff --git a/keyboards/trashman/ketch/keymaps/jetpacktuxedo/config.h b/keyboards/trashman/ketch/keymaps/jetpacktuxedo/config.h
new file mode 100644
index 000000000..64f73ab02
--- /dev/null
+++ b/keyboards/trashman/ketch/keymaps/jetpacktuxedo/config.h
@@ -0,0 +1,26 @@
1/*
2Copyright 2021 Evan Sailer, Jetpacktuxedo, & QMK Firmware
3
4Permission is hereby granted, free of charge, to any person obtaining a copy
5of this software and associated documentation files (the "Software"), to
6deal in the Software without restriction, including without limitation the
7rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
8sell copies of the Software, and to permit persons to whom the Software is
9furnished to do so, subject to the following conditions:
10
11The above copyright notice and this permission notice shall be included in all
12copies or substantial portions of the Software.
13
14THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20SOFTWARE.
21*/
22
23#pragma once
24
25#define RGBLIGHT_LAYERS
26#define TAPPING_TERM 150
diff --git a/keyboards/trashman/ketch/keymaps/jetpacktuxedo/keymap.c b/keyboards/trashman/ketch/keymaps/jetpacktuxedo/keymap.c
new file mode 100644
index 000000000..50b1f7a62
--- /dev/null
+++ b/keyboards/trashman/ketch/keymaps/jetpacktuxedo/keymap.c
@@ -0,0 +1,113 @@
1/*
2Copyright 2021 Evan Sailer, Jetpacktuxedo, & QMK Firmware
3
4Permission is hereby granted, free of charge, to any person obtaining a copy
5of this software and associated documentation files (the "Software"), to
6deal in the Software without restriction, including without limitation the
7rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
8sell copies of the Software, and to permit persons to whom the Software is
9furnished to do so, subject to the following conditions:
10
11The above copyright notice and this permission notice shall be included in all
12copies or substantial portions of the Software.
13
14THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20SOFTWARE.
21*/
22
23#include QMK_KEYBOARD_H
24#include <config.h>
25
26const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
27 [0] = LAYOUT_jetvan( /* Qwerty */
28 KC_GESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
29 LT(2, KC_TAB), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, LT(2, KC_ENT),
30 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_UP, MT(MOD_RSFT, KC_SLSH),
31 KC_LCTL, KC_LGUI, KC_LALT, LT(1, KC_SPC), KC_LEFT, KC_DOWN, KC_RIGHT
32 ),
33 [1] = LAYOUT_jetvan( /* LAYER 1 */
34 KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL,
35 KC_TRNS, KC_MINS, KC_EQL, KC_SCLN, KC_QUOT, KC_TRNS, KC_TRNS, KC_TRNS, KC_MINS, KC_EQL, KC_QUOT, KC_TRNS,
36 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LBRC, KC_RBRC, KC_PGUP, KC_BSLS,
37 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, KC_PGDN, KC_END
38 ),
39 [2] = LAYOUT_jetvan( /* LAYER 2 */
40 KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL,
41 KC_TRNS, KC_UNDS, KC_PLUS, KC_COLN, KC_DQUO, KC_TRNS, KC_TRNS, KC_TRNS, KC_UNDS, KC_PLUS, KC_DQUO, KC_TRNS,
42 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LCBR, KC_RCBR, KC_PGUP, KC_PIPE,
43 KC_TRNS, TG(4), MO(3), KC_TRNS, KC_HOME, KC_PGDN, KC_END
44 ),
45 [3] = LAYOUT_jetvan( /* LAYER 3 */
46 KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_TRNS,
47 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_F11, KC_F12, KC_TRNS, KC_TRNS,
48 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
49 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
50 ),
51 [4] = LAYOUT_jetvan( /* Gaming Layer*/
52 KC_ESC, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_WH_U, KC_BTN1, KC_MS_U, KC_BTN2, KC_TRNS, KC_TRNS,
53 KC_TAB, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_WH_D, KC_MS_L, KC_MS_D, KC_MS_R, KC_TRNS, KC_TRNS,
54 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, LT(5, KC_SLSH),
55 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
56 ),
57 [5] = LAYOUT_jetvan( /* RESET Layer*/
58 RESET, 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,
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,
61 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
62 )
63};
64
65const rgblight_segment_t PROGMEM layer1[] = RGBLIGHT_LAYER_SEGMENTS(
66 {9, 1, HSV_RED}
67);
68
69const rgblight_segment_t PROGMEM layer2[] = RGBLIGHT_LAYER_SEGMENTS(
70 {9, 1, HSV_GREEN}
71);
72
73const rgblight_segment_t PROGMEM layer3[] = RGBLIGHT_LAYER_SEGMENTS(
74 {8, 1, HSV_CYAN}
75);
76
77const rgblight_segment_t PROGMEM layer4[] = RGBLIGHT_LAYER_SEGMENTS(
78 {8, 1, HSV_MAGENTA}
79);
80
81const rgblight_segment_t PROGMEM layer5[] = RGBLIGHT_LAYER_SEGMENTS(
82 {8, 1, HSV_YELLOW}
83);
84
85const rgblight_segment_t* const PROGMEM my_rgb_layers[] = RGBLIGHT_LAYERS_LIST(
86 layer1,
87 layer2,
88 layer3,
89 layer4,
90 layer5
91);
92
93layer_state_t layer_state_set_user(layer_state_t state) {
94 rgblight_set_layer_state(0, layer_state_cmp(state, 1));
95 rgblight_set_layer_state(1, layer_state_cmp(state, 2));
96 rgblight_set_layer_state(2, layer_state_cmp(state, 3));
97 rgblight_set_layer_state(3, layer_state_cmp(state, 4));
98 rgblight_set_layer_state(4, layer_state_cmp(state, 5));
99 return state;
100}
101
102void keyboard_post_init_user(void) {
103 #ifdef RGBLIGHT_ENABLE
104 // Litearlly just doing this to lower the brightness. Since I am about to
105 // turn on the rainbow effect which changes the hue I don't actually care
106 // what that gets set to, but I am also lowering the saturation to get more
107 // of a pastel feel
108 rgblight_sethsv_noeeprom(0, 192, 128);
109 // Set LED effects to rainbow
110 rgblight_mode_noeeprom(RGBLIGHT_MODE_RAINBOW_SWIRL);
111 rgblight_layers = my_rgb_layers;
112 #endif //RGBLIGHT_ENABLE
113}
diff --git a/keyboards/trashman/ketch/readme.md b/keyboards/trashman/ketch/readme.md
new file mode 100644
index 000000000..d6a96183b
--- /dev/null
+++ b/keyboards/trashman/ketch/readme.md
@@ -0,0 +1,23 @@
1# Ketch
2
3![Ketch](https://i.imgur.com/eCIrvJBl.png)
4
5A pcb designed to be compatible with older minivan cases as well as support most minivan layouts (+ a few new ones).
6The ketch supports the following physical layouts:
7![Image of supported ketch layouts](https://trashman.wiki/layouts/ketch/ketch-all_extra_condensed.png)
8
9Ketch was also explicitly designed to use port D for all column pins in order to support matrix scanning via a portscan rather than individually scanning each pin. This has been implemented here via a custom matrix, so enjoy your slightly more efficient matrix scanning. :P
10
11The PCB has exposed pads for triggering a reset. If you are looking at the bottom of the PCB, the pads are on the left chunk of the board between the usb port and the controller, right next to the bottom of the right-most homerow key (typically enter).
12
13More information can be found on the [trashman wiki](https://trashman.wiki/pcbs/ketch)
14
15* Keyboard Maintainer: [Jetpacktuxedo](https://github.com/jetpacktuxedo)
16* Hardware Supported: Ketch PCB, Sketch PCB
17* Hardware Availability: [Trash Man Keyboards](https://trashman.club/)
18
19Make example for this keyboard (after setting up your build environment):
20
21 make trashman/ketch:default
22
23See 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/trashman/ketch/rules.mk b/keyboards/trashman/ketch/rules.mk
new file mode 100644
index 000000000..eeb384780
--- /dev/null
+++ b/keyboards/trashman/ketch/rules.mk
@@ -0,0 +1,22 @@
1# MCU name
2MCU = atmega32u4
3
4# Bootloader selection
5BOOTLOADER = atmel-dfu
6
7# Build Options
8# change yes to no to disable
9#
10BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration
11MOUSEKEY_ENABLE = yes # Mouse keys
12EXTRAKEY_ENABLE = yes # Audio control and System control
13CONSOLE_ENABLE = no # Console for debug
14COMMAND_ENABLE = no # Commands for debug and configuration
15# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
16SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
17# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
18NKRO_ENABLE = yes # USB Nkey Rollover
19BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
20RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
21BLUETOOTH_ENABLE = no # Enable Bluetooth
22AUDIO_ENABLE = no # Audio output
diff --git a/keyboards/trashman/readme.md b/keyboards/trashman/readme.md
new file mode 100644
index 000000000..46df88f77
--- /dev/null
+++ b/keyboards/trashman/readme.md
@@ -0,0 +1,4 @@
1# Trash Man
2Trash Man is the new brand under which Evan Sailer is creating keyboard things following the shut down of TheVan Keyboards in October 2019. Produced boards so far include V4N4G0N, Ketch, Skiff, CaraVan 2, and Garbage Truck.
3
4For more information see the [trashman website](https://trashman.club/) and the [trashman/van wiki](https://trashman.wiki/).