aboutsummaryrefslogtreecommitdiff
path: root/keyboards/handwired/croxsplit44
diff options
context:
space:
mode:
authorSamuel Fischer <it.fischer.samuel@gmail.com>2022-01-07 09:24:54 +0100
committerGitHub <noreply@github.com>2022-01-07 00:24:54 -0800
commitfebbf66be148c154d9f54027a274ae8a1542712f (patch)
tree25ba35a72fc5c59f4ff96fc0cb5747438be1d6fc /keyboards/handwired/croxsplit44
parent3076d3c4f4caa3a4e98ac85cf6911af4eebf9329 (diff)
downloadqmk_firmware-febbf66be148c154d9f54027a274ae8a1542712f.tar.gz
qmk_firmware-febbf66be148c154d9f54027a274ae8a1542712f.zip
[Keyboard] Add croxsplit44 handwired keyboard (#14227)
* Add files via upload * Delete keyboards/croxsplit44 directory * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Apply suggestions from code review * Apply suggestions from code review
Diffstat (limited to 'keyboards/handwired/croxsplit44')
-rw-r--r--keyboards/handwired/croxsplit44/config.h53
-rw-r--r--keyboards/handwired/croxsplit44/croxsplit44.c17
-rw-r--r--keyboards/handwired/croxsplit44/croxsplit44.h32
-rw-r--r--keyboards/handwired/croxsplit44/info.json55
-rw-r--r--keyboards/handwired/croxsplit44/keymaps/default/keymap.c31
-rw-r--r--keyboards/handwired/croxsplit44/keymaps/via/keymap.c43
-rw-r--r--keyboards/handwired/croxsplit44/keymaps/via/rules.mk2
-rw-r--r--keyboards/handwired/croxsplit44/readme.md23
-rw-r--r--keyboards/handwired/croxsplit44/rules.mk21
9 files changed, 277 insertions, 0 deletions
diff --git a/keyboards/handwired/croxsplit44/config.h b/keyboards/handwired/croxsplit44/config.h
new file mode 100644
index 000000000..009da2785
--- /dev/null
+++ b/keyboards/handwired/croxsplit44/config.h
@@ -0,0 +1,53 @@
1/*
2Copyright 2021 Samux6146
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#define VENDOR_ID 0xB62C
23#define PRODUCT_ID 0x6146
24#define DEVICE_VER 0x0001
25#define MANUFACTURER Samux6146
26#define PRODUCT splitcustom44
27
28#define MATRIX_ROWS 4
29#define MATRIX_COLS 12
30#define MATRIX_ROW_PINS { D4, D5, D6, D7 }
31#define MATRIX_COL_PINS { B6, B5, B4, D2, C0, C1, F5, F4, F3, F2, F1, F0 }
32
33#define DIODE_DIRECTION COL2ROW
34
35#define RGB_DI_PIN C4
36#ifdef RGB_DI_PIN
37 #define RGBLED_NUM 42
38 #define RGBLIGHT_HUE_STEP 8
39 #define RGBLIGHT_SAT_STEP 8
40 #define RGBLIGHT_VAL_STEP 8
41 #define RGBLIGHT_SLEEP
42#define RGBLIGHT_EFFECT_BREATHING
43#define RGBLIGHT_EFFECT_RAINBOW_MOOD
44#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
45#define RGBLIGHT_EFFECT_SNAKE
46#define RGBLIGHT_EFFECT_KNIGHT
47#define RGBLIGHT_EFFECT_CHRISTMAS
48#define RGBLIGHT_EFFECT_STATIC_GRADIENT
49#define RGBLIGHT_EFFECT_RGB_TEST
50#define RGBLIGHT_EFFECT_ALTERNATING
51#define RGBLIGHT_EFFECT_TWINKLE
52
53#endif \ No newline at end of file
diff --git a/keyboards/handwired/croxsplit44/croxsplit44.c b/keyboards/handwired/croxsplit44/croxsplit44.c
new file mode 100644
index 000000000..4dbc7d4cb
--- /dev/null
+++ b/keyboards/handwired/croxsplit44/croxsplit44.c
@@ -0,0 +1,17 @@
1/* Copyright 2021 Samux6146
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 "croxsplit44.h"
diff --git a/keyboards/handwired/croxsplit44/croxsplit44.h b/keyboards/handwired/croxsplit44/croxsplit44.h
new file mode 100644
index 000000000..c94124f9e
--- /dev/null
+++ b/keyboards/handwired/croxsplit44/croxsplit44.h
@@ -0,0 +1,32 @@
1/* Copyright 2021 Samux6146
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#define LAYOUT( \
22 K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, \
23 K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, \
24 K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, \
25 K302, K303, K304, K305, K306, K307, K308, K309 \
26) \
27{ \
28 { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011 }, \
29 { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111 }, \
30 { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211 }, \
31 { KC_NO, KC_NO, K302, K303, K304, K305, K306, K307, K308, K309, KC_NO, KC_NO } \
32}
diff --git a/keyboards/handwired/croxsplit44/info.json b/keyboards/handwired/croxsplit44/info.json
new file mode 100644
index 000000000..e10a390bb
--- /dev/null
+++ b/keyboards/handwired/croxsplit44/info.json
@@ -0,0 +1,55 @@
1{
2 "keyboard_name": "croxsplit44",
3 "url": "",
4 "maintainer": "Samux6146",
5 "layouts": {
6 "LAYOUT": {
7 "layout": [
8 {"label":"K00 (D4,B6)", "x":0.5, "y":1.375},
9 {"label":"K01 (D4,B5)", "x":1.5, "y":1.375},
10 {"label":"K02 (D4,B4)", "x":2.5, "y":1.125},
11 {"label":"K03 (D4,D2)", "x":3.5, "y":1},
12 {"label":"K04 (D4,C0)", "x":4.5, "y":1.125},
13 {"label":"K05 (D4,C1)", "x":5.5, "y":1.25},
14 {"label":"K06 (D4,F5)", "x":13, "y":1.25},
15 {"label":"K07 (D4,F4)", "x":14, "y":1.125},
16 {"label":"K08 (D4,F3)", "x":15, "y":1},
17 {"label":"K09 (D4,F2)", "x":16, "y":1.125},
18 {"label":"K0A (D4,F1)", "x":17, "y":1.375},
19 {"label":"K0B (D4,F0)", "x":18, "y":1.375},
20 {"label":"K10 (D5,B6)", "x":0.5, "y":2.375},
21 {"label":"K11 (D5,B5)", "x":1.5, "y":2.375},
22 {"label":"K12 (D5,B4)", "x":2.5, "y":2.125},
23 {"label":"K13 (D5,D2)", "x":3.5, "y":2},
24 {"label":"K14 (D5,C0)", "x":4.5, "y":2.125},
25 {"label":"K15 (D5,C1)", "x":5.5, "y":2.25},
26 {"label":"K16 (D5,F5)", "x":13, "y":2.25},
27 {"label":"K17 (D5,F4)", "x":14, "y":2.125},
28 {"label":"K18 (D5,F3)", "x":15, "y":2},
29 {"label":"K19 (D5,F2)", "x":16, "y":2.125},
30 {"label":"K1A (D5,F1)", "x":17, "y":2.375},
31 {"label":"K1B (D5,F0)", "x":18, "y":2.375},
32 {"label":"K20 (D6,B6)", "x":0.5, "y":3.375},
33 {"label":"K21 (D6,B5)", "x":1.5, "y":3.375},
34 {"label":"K22 (D6,B4)", "x":2.5, "y":3.125},
35 {"label":"K23 (D6,D2)", "x":3.5, "y":3},
36 {"label":"K24 (D6,C0)", "x":4.5, "y":3.125},
37 {"label":"K25 (D6,C1)", "x":5.5, "y":3.25},
38 {"label":"K26 (D6,F5)", "x":13, "y":3.25},
39 {"label":"K27 (D6,F4)", "x":14, "y":3.125},
40 {"label":"K28 (D6,F3)", "x":15, "y":3},
41 {"label":"K29 (D6,F2)", "x":16, "y":3.125},
42 {"label":"K2A (D6,F1)", "x":17, "y":3.375},
43 {"label":"K2B (D6,F0)", "x":18, "y":3.375},
44 {"label":"K32 (D7,B4)", "x":2.5, "y":4.125},
45 {"label":"K33 (D7,D2)", "x":3.5, "y":4},
46 {"label":"K34 (D7,C0)", "x":4.5, "y":4.5},
47 {"label":"K35 (D7,C1)", "x":5.5, "y":4.75},
48 {"label":"K36 (D7,F5)", "x":12.75, "y":4.75},
49 {"label":"K37 (D7,F4)", "x":13.8, "y":4.375},
50 {"label":"K38 (D7,F3)", "x":15, "y":4},
51 {"label":"K39 (D7,F2)", "x":16, "y":4.125}
52 ]
53 }
54 }
55}
diff --git a/keyboards/handwired/croxsplit44/keymaps/default/keymap.c b/keyboards/handwired/croxsplit44/keymaps/default/keymap.c
new file mode 100644
index 000000000..7b3805ad6
--- /dev/null
+++ b/keyboards/handwired/croxsplit44/keymaps/default/keymap.c
@@ -0,0 +1,31 @@
1/* Copyright 2021 Samux6146
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
18const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
19
20[0] = LAYOUT(
21 KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
22 KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT,
23 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LGUI,
24 KC_LCTL, KC_LALT, LT(1, KC_NO), KC_SPC, KC_SPC, LT(1, KC_NO), KC_TRNS, KC_TRNS),
25
26[1] = LAYOUT(
27 KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
28 KC_TAB, RGB_MOD, RGB_TOG, KC_TRNS, KC_TRNS, KC_TRNS, RESET, KC_TRNS, KC_TRNS, KC_UP, KC_RGHT, KC_ENT,
29 KC_LSFT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LEFT, KC_DOWN, KC_TRNS, KC_TRNS,
30 KC_TRNS, KC_TRNS, KC_TRNS, KC_SPC, KC_SPC, KC_TRNS, KC_TRNS, KC_TRNS),
31}; \ No newline at end of file
diff --git a/keyboards/handwired/croxsplit44/keymaps/via/keymap.c b/keyboards/handwired/croxsplit44/keymaps/via/keymap.c
new file mode 100644
index 000000000..63cd585ab
--- /dev/null
+++ b/keyboards/handwired/croxsplit44/keymaps/via/keymap.c
@@ -0,0 +1,43 @@
1/* Copyright 2021 Samux6146
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
18const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
19
20[0] = LAYOUT(
21 KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
22 KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT,
23 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LGUI,
24 KC_LCTL, KC_LALT, LT(1, KC_NO), KC_SPC, KC_SPC, LT(1, KC_NO), KC_TRNS, KC_TRNS),
25
26[1] = LAYOUT(
27 KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
28 KC_TAB, RGB_MOD, RGB_TOG, KC_TRNS, KC_TRNS, KC_TRNS, RESET, KC_TRNS, KC_TRNS, KC_UP, KC_RGHT, KC_ENT,
29 KC_LSFT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LEFT, KC_DOWN, KC_TRNS, KC_TRNS,
30 KC_TRNS, KC_TRNS, KC_TRNS, KC_SPC, KC_SPC, KC_TRNS, KC_TRNS, KC_TRNS),
31
32[2] = LAYOUT(
33 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
34 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
35 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
36 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
37
38[3] = LAYOUT(
39 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
40 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
41 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
42 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS)
43};
diff --git a/keyboards/handwired/croxsplit44/keymaps/via/rules.mk b/keyboards/handwired/croxsplit44/keymaps/via/rules.mk
new file mode 100644
index 000000000..43061db1d
--- /dev/null
+++ b/keyboards/handwired/croxsplit44/keymaps/via/rules.mk
@@ -0,0 +1,2 @@
1VIA_ENABLE = yes
2LTO_ENABLE = yes \ No newline at end of file
diff --git a/keyboards/handwired/croxsplit44/readme.md b/keyboards/handwired/croxsplit44/readme.md
new file mode 100644
index 000000000..b9eeb305b
--- /dev/null
+++ b/keyboards/handwired/croxsplit44/readme.md
@@ -0,0 +1,23 @@
1# croxsplit44
2
3![davanti](https://user-images.githubusercontent.com/41386727/131268038-801cb316-7bb1-486d-8432-be5412ddc31b.jpg)
4
5# A 3d printed 44 key handwired split keyboard
6Thanks to ak666666 for the base case layout : https://www.thingiverse.com/thing:4146704
7*
8* Keyboard Maintainer: https://github.com/Samux6146
9* Hardware Supported: handwired, teensy ++ 2.0
10
11Make example for this keyboard (after setting up your build environment):
12
13 make handwired/croxsplit44:default
14
15See 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).
16
17## Bootloader
18
19Enter the bootloader in 3 ways:
20
21* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard
22* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead
23* **Keycode in layout**: Press the key mapped to `RESET` if it is available
diff --git a/keyboards/handwired/croxsplit44/rules.mk b/keyboards/handwired/croxsplit44/rules.mk
new file mode 100644
index 000000000..0b2170c45
--- /dev/null
+++ b/keyboards/handwired/croxsplit44/rules.mk
@@ -0,0 +1,21 @@
1# MCU name
2MCU = at90usb1286
3
4# Bootloader selection
5BOOTLOADER = atmel-dfu
6
7# Build Options
8# change yes to no to disable
9#
10BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
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 = no # USB Nkey Rollover
19BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
20RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
21AUDIO_ENABLE = no # Audio output \ No newline at end of file