aboutsummaryrefslogtreecommitdiff
path: root/keyboards/4pplet
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/4pplet')
-rw-r--r--keyboards/4pplet/aekiso60/keymaps/default/keymap.c20
-rw-r--r--keyboards/4pplet/aekiso60/keymaps/via/keymap.c34
-rw-r--r--keyboards/4pplet/aekiso60/keymaps/via/rules.mk2
-rw-r--r--keyboards/4pplet/aekiso60/readme.md14
-rw-r--r--keyboards/4pplet/aekiso60/rev_a/config.h38
-rw-r--r--keyboards/4pplet/aekiso60/rev_a/info.json79
-rw-r--r--keyboards/4pplet/aekiso60/rev_a/rev_a.c1
-rw-r--r--keyboards/4pplet/aekiso60/rev_a/rev_a.h31
-rw-r--r--keyboards/4pplet/aekiso60/rev_a/rules.mk18
-rw-r--r--keyboards/4pplet/bootleg/info.json77
-rw-r--r--keyboards/4pplet/bootleg/keymaps/default/keymap.c34
-rw-r--r--keyboards/4pplet/bootleg/keymaps/via/keymap.c48
-rw-r--r--keyboards/4pplet/bootleg/keymaps/via/rules.mk1
-rw-r--r--keyboards/4pplet/bootleg/readme.md12
-rw-r--r--keyboards/4pplet/bootleg/rev_a/config.h42
-rw-r--r--keyboards/4pplet/bootleg/rev_a/readme.md12
-rw-r--r--keyboards/4pplet/bootleg/rev_a/rev_a.c17
-rw-r--r--keyboards/4pplet/bootleg/rev_a/rev_a.h34
-rw-r--r--keyboards/4pplet/bootleg/rev_a/rules.mk18
-rw-r--r--keyboards/4pplet/eagle_viper_rep/info.json76
-rw-r--r--keyboards/4pplet/eagle_viper_rep/keymaps/default/keymap.c34
-rw-r--r--keyboards/4pplet/eagle_viper_rep/keymaps/via/keymap.c55
-rw-r--r--keyboards/4pplet/eagle_viper_rep/keymaps/via/rules.mk1
-rw-r--r--keyboards/4pplet/eagle_viper_rep/readme.md19
-rw-r--r--keyboards/4pplet/eagle_viper_rep/rev_a/chconf.h23
-rw-r--r--keyboards/4pplet/eagle_viper_rep/rev_a/config.h72
-rw-r--r--keyboards/4pplet/eagle_viper_rep/rev_a/halconf.h25
-rw-r--r--keyboards/4pplet/eagle_viper_rep/rev_a/mcuconf.h34
-rw-r--r--keyboards/4pplet/eagle_viper_rep/rev_a/readme.md19
-rw-r--r--keyboards/4pplet/eagle_viper_rep/rev_a/rev_a.c108
-rw-r--r--keyboards/4pplet/eagle_viper_rep/rev_a/rev_a.h41
-rw-r--r--keyboards/4pplet/eagle_viper_rep/rev_a/rules.mk25
-rw-r--r--keyboards/4pplet/steezy60/keymaps/4pplet/keymap.c27
-rw-r--r--keyboards/4pplet/steezy60/keymaps/default/keymap.c18
-rw-r--r--keyboards/4pplet/steezy60/keymaps/via/keymap.c32
-rw-r--r--keyboards/4pplet/steezy60/keymaps/via/rules.mk2
-rw-r--r--keyboards/4pplet/steezy60/readme.md14
-rw-r--r--keyboards/4pplet/steezy60/rev_a/config.h35
-rw-r--r--keyboards/4pplet/steezy60/rev_a/info.json85
-rw-r--r--keyboards/4pplet/steezy60/rev_a/rev_a.c1
-rw-r--r--keyboards/4pplet/steezy60/rev_a/rev_a.h18
-rw-r--r--keyboards/4pplet/steezy60/rev_a/rules.mk18
-rw-r--r--keyboards/4pplet/waffling60/info.json77
-rw-r--r--keyboards/4pplet/waffling60/keymaps/default/keymap.c34
-rw-r--r--keyboards/4pplet/waffling60/keymaps/via/keymap.c48
-rw-r--r--keyboards/4pplet/waffling60/keymaps/via/rules.mk1
-rw-r--r--keyboards/4pplet/waffling60/readme.md15
-rw-r--r--keyboards/4pplet/waffling60/rev_a/.noci0
-rw-r--r--keyboards/4pplet/waffling60/rev_a/config.h30
-rw-r--r--keyboards/4pplet/waffling60/rev_a/readme.md14
-rw-r--r--keyboards/4pplet/waffling60/rev_a/rev_a.c1
-rw-r--r--keyboards/4pplet/waffling60/rev_a/rev_a.h20
-rw-r--r--keyboards/4pplet/waffling60/rev_a/rules.mk18
-rw-r--r--keyboards/4pplet/waffling60/rev_b/config.h55
-rw-r--r--keyboards/4pplet/waffling60/rev_b/readme.md14
-rw-r--r--keyboards/4pplet/waffling60/rev_b/rev_b.c33
-rw-r--r--keyboards/4pplet/waffling60/rev_b/rev_b.h38
-rw-r--r--keyboards/4pplet/waffling60/rev_b/rules.mk18
58 files changed, 1730 insertions, 0 deletions
diff --git a/keyboards/4pplet/aekiso60/keymaps/default/keymap.c b/keyboards/4pplet/aekiso60/keymaps/default/keymap.c
new file mode 100644
index 000000000..e0938a5fd
--- /dev/null
+++ b/keyboards/4pplet/aekiso60/keymaps/default/keymap.c
@@ -0,0 +1,20 @@
1#include QMK_KEYBOARD_H
2
3const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
4
5
6 [0] = LAYOUT_all(
7 KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC,
8 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,
9 KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT,
10 KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1),
11 KC_LCTL, KC_LGUI, KC_LALT, _______, KC_SPC, _______, KC_RALT, KC_RGUI, KC_RCTL
12 ),
13 [1] = LAYOUT_all(
14 KC_EXEC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL,
15 _______, KC_BSPC, KC_UP, _______, _______, _______, _______, _______, KC_PSCR, KC_SLCK, KC_PAUS, KC_UP, _______,
16 KC_CAPS, KC_LEFT, KC_DOWN, KC_RGHT, KC_MUTE, _______, KC_PAST, KC_PSLS, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, KC_INS, KC_PENT,
17 _______, KC_MPRV, KC_MPLY, KC_MNXT, KC_VOLD, KC_VOLU, KC_PPLS, KC_PMNS, _______, KC_END, KC_PGDN, KC_DOWN, _______, _______,
18 RESET, _______, _______, _______, _______, _______, KC_BRID, KC_BRIU, _______
19 )
20};
diff --git a/keyboards/4pplet/aekiso60/keymaps/via/keymap.c b/keyboards/4pplet/aekiso60/keymaps/via/keymap.c
new file mode 100644
index 000000000..151c3bc4a
--- /dev/null
+++ b/keyboards/4pplet/aekiso60/keymaps/via/keymap.c
@@ -0,0 +1,34 @@
1#include QMK_KEYBOARD_H
2
3const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
4
5
6 [0] = LAYOUT_all(
7 KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC,
8 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,
9 KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT,
10 KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1),
11 KC_LCTL, KC_LGUI, KC_LALT, _______, KC_SPC, _______, KC_RALT, KC_RGUI, KC_RCTL
12 ),
13 [1] = LAYOUT_all(
14 KC_EXEC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL,
15 _______, KC_BSPC, KC_UP, _______, _______, _______, _______, _______, KC_PSCR, KC_SLCK, KC_PAUS, KC_UP, _______,
16 KC_CAPS, KC_LEFT, KC_DOWN, KC_RGHT, KC_MUTE, _______, KC_PAST, KC_PSLS, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, KC_INS, KC_PENT,
17 _______, KC_MPRV, KC_MPLY, KC_MNXT, KC_VOLD, KC_VOLU, KC_PPLS, KC_PMNS, _______, KC_END, KC_PGDN, KC_DOWN, _______, _______,
18 RESET, _______, _______, _______, _______, _______, KC_BRID, KC_BRIU, _______
19 ),
20 [2] = LAYOUT_all(
21 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
22 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
23 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
24 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
25 _______, _______, _______, _______, _______, _______, _______, _______, _______
26 ),
27 [3] = LAYOUT_all(
28 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
29 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
30 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
31 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
32 _______, _______, _______, _______, _______, _______, _______, _______, _______
33 )
34};
diff --git a/keyboards/4pplet/aekiso60/keymaps/via/rules.mk b/keyboards/4pplet/aekiso60/keymaps/via/rules.mk
new file mode 100644
index 000000000..c4b503281
--- /dev/null
+++ b/keyboards/4pplet/aekiso60/keymaps/via/rules.mk
@@ -0,0 +1,2 @@
1VIA_ENABLE = yes
2RGBLIGHT_ENABLE = yes \ No newline at end of file
diff --git a/keyboards/4pplet/aekiso60/readme.md b/keyboards/4pplet/aekiso60/readme.md
new file mode 100644
index 000000000..42c3d3421
--- /dev/null
+++ b/keyboards/4pplet/aekiso60/readme.md
@@ -0,0 +1,14 @@
1# AEKISO60
2
3A 60% PCB enabling use of ISO AEK keycaps and ALPS switches
4
5More info: https://geekhack.org/index.php?topic=103627.0
6
7* Keyboard Maintainer: [4pplet](https://github.com/4pplet)
8* Hardware Supported: AEKISO60 Rev A
9
10Make example for this keyboard (after setting up your build environment):
11
12 make 4pplet/aekiso60/rev_a:default
13
14See 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). \ No newline at end of file
diff --git a/keyboards/4pplet/aekiso60/rev_a/config.h b/keyboards/4pplet/aekiso60/rev_a/config.h
new file mode 100644
index 000000000..3100a20fe
--- /dev/null
+++ b/keyboards/4pplet/aekiso60/rev_a/config.h
@@ -0,0 +1,38 @@
1#pragma once
2
3#include "config_common.h"
4
5/* USB Device descriptor parameter */
6#define VENDOR_ID 0x4444
7#define PRODUCT_ID 0x0001
8#define DEVICE_VER 0x0001
9#define MANUFACTURER 4pplet
10#define PRODUCT AEKISO60 Rev A
11
12/* key matrix size */
13#define MATRIX_ROWS 5
14#define MATRIX_COLS 14
15// ROWS: Top to bottom, COLS: Left to right
16#define MATRIX_ROW_PINS {C2,D0,B0,C7,C5}
17#define MATRIX_COL_PINS {C4,C6,B7,B6,B5,B4,B3,B2,B1,D6,D5,D4,D2,D1}
18
19/* COL2ROW or ROW2COL */
20#define DIODE_DIRECTION COL2ROW
21
22/* define if matrix has ghost */
23//#define MATRIX_HAS_GHOST
24
25/* Set 0 if debouncing isn't needed */
26#define DEBOUNCE 5
27
28#define QMK_ESC_OUTPUT C4 // usually COL
29#define QMK_ESC_INPUT C2 // usually ROW
30
31#define RGB_DI_PIN D3
32#define RGBLED_NUM 12
33#define BACKLIGHT_LEVELS 5
34
35#define RGBLIGHT_HUE_STEP 8
36#define RGBLIGHT_SAT_STEP 8
37#define RGBLIGHT_VAL_STEP 8
38#define RGBLIGHT_ANIMATIONS
diff --git a/keyboards/4pplet/aekiso60/rev_a/info.json b/keyboards/4pplet/aekiso60/rev_a/info.json
new file mode 100644
index 000000000..7f2e2be78
--- /dev/null
+++ b/keyboards/4pplet/aekiso60/rev_a/info.json
@@ -0,0 +1,79 @@
1{
2 "keyboard_name": "AEKISO60 Rev A",
3 "url": "",
4 "maintainer": "4pplet",
5 "layouts": {
6 "LAYOUT_all": {
7 "layout": [
8 {"x":0, "y":0, "w":1.25},
9 {"x":1.25, "y":0},
10 {"x":2.25, "y":0},
11 {"x":3.25, "y":0},
12 {"x":4.25, "y":0},
13 {"x":5.25, "y":0},
14 {"x":6.25, "y":0},
15 {"x":7.25, "y":0},
16 {"x":8.25, "y":0},
17 {"x":9.25, "y":0},
18 {"x":10.25, "y":0},
19 {"x":11.25, "y":0},
20 {"x":12.25, "y":0},
21 {"x":13.25, "y":0, "w":1.75},
22
23 {"x":0, "y":1, "w":1.75},
24 {"x":1.75, "y":1},
25 {"x":2.75, "y":1},
26 {"x":3.75, "y":1},
27 {"x":4.75, "y":1},
28 {"x":5.75, "y":1},
29 {"x":6.75, "y":1},
30 {"x":7.75, "y":1},
31 {"x":8.75, "y":1},
32 {"x":9.75, "y":1},
33 {"x":10.75, "y":1},
34 {"x":11.75, "y":1},
35 {"x":12.75, "y":1},
36
37 {"x":0, "y":2, "w":2},
38 {"x":2, "y":2},
39 {"x":3, "y":2},
40 {"x":4, "y":2},
41 {"x":5, "y":2},
42 {"x":6, "y":2},
43 {"x":7, "y":2},
44 {"x":8, "y":2},
45 {"x":9, "y":2},
46 {"x":10, "y":2},
47 {"x":11, "y":2},
48 {"x":12, "y":2},
49 {"x":13, "y":2},
50 {"x":14, "y":1, "h":2},
51
52 {"x":0, "y":3, "w":1.5},
53 {"x":1.5, "y":3},
54 {"x":2.5, "y":3},
55 {"x":3.5, "y":3},
56 {"x":4.5, "y":3},
57 {"x":5.5, "y":3},
58 {"x":6.5, "y":3},
59 {"x":7.5, "y":3},
60 {"x":8.5, "y":3},
61 {"x":9.5, "y":3},
62 {"x":10.5, "y":3},
63 {"x":11.5, "y":3},
64 {"x":12.5, "y":3, "w":1.5},
65 {"x":14, "y":3},
66
67 {"x":0, "y":4, "w":1.5},
68 {"x":1.5, "y":4, "w":1.25},
69 {"x":2.75, "y":4, "w":1.5},
70 {"x":4.25, "y":4, "w":2.75},
71 {"x":7, "y":4},
72 {"x":8, "y":4, "w":2.75},
73 {"x":10.75, "y":4, "w":1.5},
74 {"x":12.25, "y":4, "w":1.25},
75 {"x":13.5, "y":4, "w":1.5}
76 ]
77 }
78 }
79}
diff --git a/keyboards/4pplet/aekiso60/rev_a/rev_a.c b/keyboards/4pplet/aekiso60/rev_a/rev_a.c
new file mode 100644
index 000000000..d3db08ad1
--- /dev/null
+++ b/keyboards/4pplet/aekiso60/rev_a/rev_a.c
@@ -0,0 +1 @@
#include "rev_a.h"
diff --git a/keyboards/4pplet/aekiso60/rev_a/rev_a.h b/keyboards/4pplet/aekiso60/rev_a/rev_a.h
new file mode 100644
index 000000000..16acf01c2
--- /dev/null
+++ b/keyboards/4pplet/aekiso60/rev_a/rev_a.h
@@ -0,0 +1,31 @@
1#pragma once
2
3#include "quantum.h"
4
5/* LAYOUT_all
6 * ┌────┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬──────┐
7 * │00 │01 │02 │03 │04 │05 │06 │07 │08 │09 │0a │0b │0c │0d │
8 * ├────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬────┤
9 * │10 │11 │12 │13 │14 │15 │16 │17 │18 │19 │1a │1b │1c │ │
10 * ├──────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐1d │
11 * │20 │21 │22 │23 │24 │25 │26 │27 │28 │29 │2a │2b │2c │ │
12 * ├─────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┼───┤
13 * │30 │31 │32 │33 │34 │35 │36 │37 │38 │39 │3a │3b │3c │3d │
14 * ├─────┼───┴┬──┴──┬┴───┴───┴─┬─┴─┬─┴───┴───┴┬──┴──┬┴───┬─┴───┤
15 * │40 │41 │43 │44 │45 │46 │48 │4a │4b │
16 * └─────┴────┴─────┴──────────┴───┴──────────┴─────┴────┴─────┘
17 */
18#define LAYOUT_all( \
19 k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, \
20 k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, \
21 k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k1d, \
22 k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, \
23 k40, k41, k43, k44, k45, k46, k48, k4a, k4b \
24) \
25{ \
26 {k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d}, \
27 {k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d}, \
28 {k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, KC_NO},\
29 {k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d}, \
30 {k40, k41, KC_NO, k43, k44, k45, k46, KC_NO, k48, KC_NO, k4a, k4b, KC_NO, KC_NO} \
31}
diff --git a/keyboards/4pplet/aekiso60/rev_a/rules.mk b/keyboards/4pplet/aekiso60/rev_a/rules.mk
new file mode 100644
index 000000000..43eb792fc
--- /dev/null
+++ b/keyboards/4pplet/aekiso60/rev_a/rules.mk
@@ -0,0 +1,18 @@
1# MCU name
2MCU = atmega32u2
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 = no # Mouse keys
12EXTRAKEY_ENABLE = yes # Audio control and System control
13CONSOLE_ENABLE = no # Console for debug
14COMMAND_ENABLE = no # Commands for debug and configuration
15NKRO_ENABLE = no # Enable N-Key Rollover
16BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
17RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
18AUDIO_ENABLE = no # Audio output
diff --git a/keyboards/4pplet/bootleg/info.json b/keyboards/4pplet/bootleg/info.json
new file mode 100644
index 000000000..9719b0715
--- /dev/null
+++ b/keyboards/4pplet/bootleg/info.json
@@ -0,0 +1,77 @@
1{
2 "keyboard_name": "bootleg Rev A",
3 "url": "https://github.com/4pplet/bootlegs",
4 "maintainer": "4pplet",
5 "layouts": {
6 "LAYOUT_all": {
7 "layout": [
8 { "label": "Esc", "x": 0, "y": 0 },
9 { "label": "!", "x": 1, "y": 0 },
10 { "label": "@", "x": 2, "y": 0 },
11 { "label": "#", "x": 3, "y": 0 },
12 { "label": "$", "x": 4, "y": 0 },
13 { "label": "%", "x": 5, "y": 0 },
14 { "label": "^", "x": 6, "y": 0 },
15 { "label": "&", "x": 7, "y": 0 },
16 { "label": "*", "x": 8, "y": 0 },
17 { "label": "(", "x": 9, "y": 0 },
18 { "label": ")", "x": 10, "y": 0 },
19 { "label": "_", "x": 11, "y": 0 },
20 { "label": "+", "x": 12, "y": 0 },
21 { "label": "|", "x": 13, "y": 0 },
22 { "label": "~", "x": 14, "y": 0 },
23 { "label": "Tab", "x": 0, "y": 1, "w": 1.5 },
24 { "label": "Q", "x": 1.5, "y": 1 },
25 { "label": "W", "x": 2.5, "y": 1 },
26 { "label": "E", "x": 3.5, "y": 1 },
27 { "label": "R", "x": 4.5, "y": 1 },
28 { "label": "T", "x": 5.5, "y": 1 },
29 { "label": "Y", "x": 6.5, "y": 1 },
30 { "label": "U", "x": 7.5, "y": 1 },
31 { "label": "I", "x": 8.5, "y": 1 },
32 { "label": "O", "x": 9.5, "y": 1 },
33 { "label": "P", "x": 10.5, "y": 1 },
34 { "label": "{", "x": 11.5, "y": 1 },
35 { "label": "}", "x": 12.5, "y": 1 },
36 { "label": "Backsp.", "x": 13.5, "y": 1, "w": 1.5 },
37 { "label": "Caps Lock", "x": 0, "y": 2, "w": 1.75 },
38 { "label": "A", "x": 1.75, "y": 2 },
39 { "label": "S", "x": 2.75, "y": 2 },
40 { "label": "D", "x": 3.75, "y": 2 },
41 { "label": "F", "x": 4.75, "y": 2 },
42 { "label": "G", "x": 5.75, "y": 2 },
43 { "label": "H", "x": 6.75, "y": 2 },
44 { "label": "J", "x": 7.75, "y": 2 },
45 { "label": "K", "x": 8.75, "y": 2 },
46 { "label": "L", "x": 9.75, "y": 2 },
47 { "label": ":", "x": 10.75, "y": 2 },
48 { "label": "\"", "x": 11.75, "y": 2 },
49 { "label": "Enter", "x": 12.75, "y": 2, "w": 2.25 },
50 { "label": "Shift", "x": 0, "y": 3, "w": 1.25 },
51 { "label": "|", "x": 1.25, "y": 3 },
52 { "label": "Z", "x": 2.25, "y": 3 },
53 { "label": "X", "x": 3.25, "y": 3 },
54 { "label": "C", "x": 4.25, "y": 3 },
55 { "label": "V", "x": 5.25, "y": 3 },
56 { "label": "B", "x": 6.25, "y": 3 },
57 { "label": "N", "x": 7.25, "y": 3 },
58 { "label": "M", "x": 8.25, "y": 3 },
59 { "label": "<", "x": 9.25, "y": 3 },
60 { "label": ">", "x": 10.25, "y": 3 },
61 { "label": "?", "x": 11.25, "y": 3 },
62 { "label": "Shift", "x": 12.25, "y": 3, "w": 1.75 },
63 { "label": "Fn", "x": 14, "y": 3, "w": 1 },
64 { "label": "Ctrl", "x": 0, "y": 4, "w": 1.25 },
65 { "label": "Win", "x": 1.25, "y": 4, "w": 1.25 },
66 { "label": "Alt", "x": 2.5, "y": 4, "w": 1.25 },
67 { "label": "Space1", "x": 3.75, "y": 4, "w": 2.25 },
68 { "label": "Space2", "x": 6, "y": 4, "w": 1.25 },
69 { "label": "Space3", "x": 7.25, "y": 4, "w": 2.75 },
70 { "label": "Alt", "x": 10, "y": 4, "w": 1.25 },
71 { "label": "Menu", "x": 11.25, "y": 4, "w": 1.25 },
72 { "label": "Win", "x": 12.5, "y": 4, "w": 1.25 },
73 { "label": "Ctrl", "x": 13.75, "y": 4, "w": 1.25 }
74 ]
75 }
76 }
77}
diff --git a/keyboards/4pplet/bootleg/keymaps/default/keymap.c b/keyboards/4pplet/bootleg/keymaps/default/keymap.c
new file mode 100644
index 000000000..c9ae421af
--- /dev/null
+++ b/keyboards/4pplet/bootleg/keymaps/default/keymap.c
@@ -0,0 +1,34 @@
1/*
2Copyright 2020 Stefan Sundin "4pplet" <[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#include QMK_KEYBOARD_H
18
19const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
20// main layer
21[0] = LAYOUT_all(
22 KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_NO, KC_BSPC,
23 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS,
24 KC_LCTRL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
25 KC_LSFT, KC_NO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_NO,
26 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_RGUI, KC_APP, MO(1)),
27// basic function layer
28[1] = LAYOUT_all(
29 RESET, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS,
30 KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
31 KC_TRNS, KC_LEFT, KC_DOWN, KC_RIGHT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
32 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,
33 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS)
34};
diff --git a/keyboards/4pplet/bootleg/keymaps/via/keymap.c b/keyboards/4pplet/bootleg/keymaps/via/keymap.c
new file mode 100644
index 000000000..b83266d8c
--- /dev/null
+++ b/keyboards/4pplet/bootleg/keymaps/via/keymap.c
@@ -0,0 +1,48 @@
1/*
2Copyright 2020 Stefan Sundin "4pplet" <[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#include QMK_KEYBOARD_H
18
19const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
20// main layer
21[0] = LAYOUT_all(
22 KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_NO, KC_BSPC,
23 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS,
24 KC_LCTRL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
25 KC_LSFT, KC_NO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_NO,
26 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_RGUI, KC_APP, MO(1)),
27// basic function layer
28[1] = LAYOUT_all(
29 RESET, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS,
30 KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
31 KC_TRNS, KC_LEFT, KC_DOWN, KC_RIGHT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
32 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,
33 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
34// extra layer for VIA
35[2] = LAYOUT_all(
36 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,
37 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,
38 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,
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, 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),
41// extra layer for VIA
42[3] = LAYOUT_all(
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,
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,
46 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,
47 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS)
48};
diff --git a/keyboards/4pplet/bootleg/keymaps/via/rules.mk b/keyboards/4pplet/bootleg/keymaps/via/rules.mk
new file mode 100644
index 000000000..1e5b99807
--- /dev/null
+++ b/keyboards/4pplet/bootleg/keymaps/via/rules.mk
@@ -0,0 +1 @@
VIA_ENABLE = yes
diff --git a/keyboards/4pplet/bootleg/readme.md b/keyboards/4pplet/bootleg/readme.md
new file mode 100644
index 000000000..3ced86e61
--- /dev/null
+++ b/keyboards/4pplet/bootleg/readme.md
@@ -0,0 +1,12 @@
1# bootleg
2
3A 60% PCB for non tray-mount keyboards
4
5* Keyboard Maintainer: [4pplet](https://github.com/4pplet)
6* Hardware Supported: bootleg Rev A
7
8Make example for this keyboard (after setting up your build environment):
9
10 make 4pplet/bootleg/rev_a:default
11
12See 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/4pplet/bootleg/rev_a/config.h b/keyboards/4pplet/bootleg/rev_a/config.h
new file mode 100644
index 000000000..4d3122afd
--- /dev/null
+++ b/keyboards/4pplet/bootleg/rev_a/config.h
@@ -0,0 +1,42 @@
1/*
2Copyright 2020 Stefan Sundin "4pplet" <[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#pragma once
18
19#include "config_common.h"
20
21/* USB Device descriptor parameter */
22#define VENDOR_ID 0x4444
23#define PRODUCT_ID 0x0004
24#define DEVICE_VER 0x0001
25#define MANUFACTURER 4pplet
26#define PRODUCT bootleg Rev A
27
28/* key matrix size */
29#define MATRIX_ROWS 5
30#define MATRIX_COLS 15
31// ROWS: Top to bottom, COLS: Left to right
32#define MATRIX_ROW_PINS {D0,C2,C4,D4,D2}
33#define MATRIX_COL_PINS {C5,C6,C7,B7,B6,B5,B4,B3,B2,B1,B0,D6,D5,D3,D1}
34
35/* COL2ROW or ROW2COL */
36#define DIODE_DIRECTION COL2ROW
37
38/* Set 0 if debouncing isn't needed */
39#define DEBOUNCE 5
40
41#define QMK_ESC_OUTPUT C4 // usually COL
42#define QMK_ESC_INPUT D0 // usually ROW
diff --git a/keyboards/4pplet/bootleg/rev_a/readme.md b/keyboards/4pplet/bootleg/rev_a/readme.md
new file mode 100644
index 000000000..3ced86e61
--- /dev/null
+++ b/keyboards/4pplet/bootleg/rev_a/readme.md
@@ -0,0 +1,12 @@
1# bootleg
2
3A 60% PCB for non tray-mount keyboards
4
5* Keyboard Maintainer: [4pplet](https://github.com/4pplet)
6* Hardware Supported: bootleg Rev A
7
8Make example for this keyboard (after setting up your build environment):
9
10 make 4pplet/bootleg/rev_a:default
11
12See 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/4pplet/bootleg/rev_a/rev_a.c b/keyboards/4pplet/bootleg/rev_a/rev_a.c
new file mode 100644
index 000000000..b4f233d37
--- /dev/null
+++ b/keyboards/4pplet/bootleg/rev_a/rev_a.c
@@ -0,0 +1,17 @@
1/*
2Copyright 2020 Stefan Sundin "4pplet" <[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#include "rev_a.h"
diff --git a/keyboards/4pplet/bootleg/rev_a/rev_a.h b/keyboards/4pplet/bootleg/rev_a/rev_a.h
new file mode 100644
index 000000000..f9bbb445c
--- /dev/null
+++ b/keyboards/4pplet/bootleg/rev_a/rev_a.h
@@ -0,0 +1,34 @@
1/*
2Copyright 2020 Stefan Sundin "4pplet" <[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#pragma once
18
19#include "quantum.h"
20
21#define LAYOUT_all( \
22 k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, \
23 k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1d, k1e, \
24 k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2d, \
25 k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3d, k3e, \
26 k40, k41, k43, k45, k47, k48, k4a, k4b, k4d, k4e \
27) \
28{ \
29 {k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e}, \
30 {k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1d, k1e}, \
31 {k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2d}, \
32 {k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3d, k3e}, \
33 {k40, k41, k43, k45, k47, k48, k4a, k4b, k4d, k4e } \
34}
diff --git a/keyboards/4pplet/bootleg/rev_a/rules.mk b/keyboards/4pplet/bootleg/rev_a/rules.mk
new file mode 100644
index 000000000..43eb792fc
--- /dev/null
+++ b/keyboards/4pplet/bootleg/rev_a/rules.mk
@@ -0,0 +1,18 @@
1# MCU name
2MCU = atmega32u2
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 = no # Mouse keys
12EXTRAKEY_ENABLE = yes # Audio control and System control
13CONSOLE_ENABLE = no # Console for debug
14COMMAND_ENABLE = no # Commands for debug and configuration
15NKRO_ENABLE = no # Enable N-Key Rollover
16BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
17RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
18AUDIO_ENABLE = no # Audio output
diff --git a/keyboards/4pplet/eagle_viper_rep/info.json b/keyboards/4pplet/eagle_viper_rep/info.json
new file mode 100644
index 000000000..26d3d4589
--- /dev/null
+++ b/keyboards/4pplet/eagle_viper_rep/info.json
@@ -0,0 +1,76 @@
1{
2 "keyboard_name": "Eagle/Viper Rep",
3 "url": "https://github.com/4pplet/eagle_viper_rep",
4 "maintainer": "4pplet",
5 "layouts": {
6 "LAYOUT_all": {
7 "layout": [
8 { "label": "Esc", "x": 0, "y": 0 },
9 { "label": "!", "x": 1, "y": 0 },
10 { "label": "@", "x": 2, "y": 0 },
11 { "label": "#", "x": 3, "y": 0 },
12 { "label": "$", "x": 4, "y": 0 },
13 { "label": "%", "x": 5, "y": 0 },
14 { "label": "^", "x": 6, "y": 0 },
15 { "label": "&", "x": 7, "y": 0 },
16 { "label": "*", "x": 8, "y": 0 },
17 { "label": "(", "x": 9, "y": 0 },
18 { "label": ")", "x": 10, "y": 0 },
19 { "label": "_", "x": 11, "y": 0 },
20 { "label": "+", "x": 12, "y": 0 },
21 { "label": "|", "x": 13, "y": 0 },
22 { "label": "~", "x": 14, "y": 0 },
23 { "label": "Tab", "x": 0, "y": 1, "w": 1.5 },
24 { "label": "Q", "x": 1.5, "y": 1 },
25 { "label": "W", "x": 2.5, "y": 1 },
26 { "label": "E", "x": 3.5, "y": 1 },
27 { "label": "R", "x": 4.5, "y": 1 },
28 { "label": "T", "x": 5.5, "y": 1 },
29 { "label": "Y", "x": 6.5, "y": 1 },
30 { "label": "U", "x": 7.5, "y": 1 },
31 { "label": "I", "x": 8.5, "y": 1 },
32 { "label": "O", "x": 9.5, "y": 1 },
33 { "label": "P", "x": 10.5, "y": 1 },
34 { "label": "{", "x": 11.5, "y": 1 },
35 { "label": "}", "x": 12.5, "y": 1 },
36 { "label": "Backsp.", "x": 13.5, "y": 1, "w": 1.5 },
37 { "label": "Caps Lock", "x": 0, "y": 2, "w": 1.75 },
38 { "label": "A", "x": 1.75, "y": 2 },
39 { "label": "S", "x": 2.75, "y": 2 },
40 { "label": "D", "x": 3.75, "y": 2 },
41 { "label": "F", "x": 4.75, "y": 2 },
42 { "label": "G", "x": 5.75, "y": 2 },
43 { "label": "H", "x": 6.75, "y": 2 },
44 { "label": "J", "x": 7.75, "y": 2 },
45 { "label": "K", "x": 8.75, "y": 2 },
46 { "label": "L", "x": 9.75, "y": 2 },
47 { "label": ":", "x": 10.75, "y": 2 },
48 { "label": "\"", "x": 11.75, "y": 2 },
49 { "label": "~", "x": 12.75, "y": 2},
50 { "label": "Enter", "x": 13.75, "y": 2, "w": 1.25 },
51 { "label": "Shift", "x": 0, "y": 3, "w": 1.25 },
52 { "label": "|", "x": 1.25, "y": 3 },
53 { "label": "Z", "x": 2.25, "y": 3 },
54 { "label": "X", "x": 3.25, "y": 3 },
55 { "label": "C", "x": 4.25, "y": 3 },
56 { "label": "V", "x": 5.25, "y": 3 },
57 { "label": "B", "x": 6.25, "y": 3 },
58 { "label": "N", "x": 7.25, "y": 3 },
59 { "label": "M", "x": 8.25, "y": 3 },
60 { "label": "<", "x": 9.25, "y": 3 },
61 { "label": ">", "x": 10.25, "y": 3 },
62 { "label": "?", "x": 11.25, "y": 3 },
63 { "label": "Shift", "x": 12.25, "y": 3, "w": 1.75 },
64 { "label": "Fn", "x": 14, "y": 3, "w": 1 },
65 { "label": "Ctrl", "x": 0, "y": 4, "w": 1.25 },
66 { "label": "Win", "x": 1.25, "y": 4, "w": 1.25 },
67 { "label": "Alt", "x": 2.5, "y": 4, "w": 1.25 },
68 { "label": "Space", "x": 3.75, "y": 4, "w": 6.25 },
69 { "label": "Alt", "x": 10, "y": 4, "w": 1.25 },
70 { "label": "Menu", "x": 11.25, "y": 4, "w": 1.25 },
71 { "label": "Win", "x": 12.5, "y": 4, "w": 1.25 },
72 { "label": "Ctrl", "x": 13.75, "y": 4, "w": 1.25 }
73 ]
74 }
75 }
76}
diff --git a/keyboards/4pplet/eagle_viper_rep/keymaps/default/keymap.c b/keyboards/4pplet/eagle_viper_rep/keymaps/default/keymap.c
new file mode 100644
index 000000000..addf690e4
--- /dev/null
+++ b/keyboards/4pplet/eagle_viper_rep/keymaps/default/keymap.c
@@ -0,0 +1,34 @@
1/*
2Copyright 2021 Stefan Sundin "4pplet" <[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#include QMK_KEYBOARD_H
18
19const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
20// main layer
21[0] = LAYOUT_all(
22 KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_GRV,
23 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC,
24 KC_LCTRL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT,
25 KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1),
26 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_NO, KC_RALT, KC_RGUI, MO(1)),
27 // basic function layer
28[1] = LAYOUT_all(
29 RESET, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS,
30 KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
31 KC_TRNS, KC_LEFT, KC_DOWN, KC_RIGHT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
32 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,
33 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS)
34};
diff --git a/keyboards/4pplet/eagle_viper_rep/keymaps/via/keymap.c b/keyboards/4pplet/eagle_viper_rep/keymaps/via/keymap.c
new file mode 100644
index 000000000..70e55ceb7
--- /dev/null
+++ b/keyboards/4pplet/eagle_viper_rep/keymaps/via/keymap.c
@@ -0,0 +1,55 @@
1/*
2Copyright 2021 Stefan Sundin "4pplet" <[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#include QMK_KEYBOARD_H
18
19const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
20// main layer
21[0] = LAYOUT_all(
22 KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_GRV,
23 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC,
24 KC_LCTRL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT,
25 KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1),
26 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_NO, KC_RALT, KC_RGUI, MO(1)),
27// basic function layer
28[1] = LAYOUT_all(
29 RESET, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS,
30 KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
31 KC_TRNS, KC_LEFT, KC_DOWN, KC_RIGHT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
32 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,
33 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
34// extra layer for VIA
35[2] = LAYOUT_all(
36 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,
37 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,
38 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,
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, KC_TRNS, KC_TRNS,
40 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
41// extra layer for VIA
42[3] = LAYOUT_all(
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,
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, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
47 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
48// extra layer for VIA
49[4] = LAYOUT_all(
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,
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,
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,
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)
55};
diff --git a/keyboards/4pplet/eagle_viper_rep/keymaps/via/rules.mk b/keyboards/4pplet/eagle_viper_rep/keymaps/via/rules.mk
new file mode 100644
index 000000000..1e5b99807
--- /dev/null
+++ b/keyboards/4pplet/eagle_viper_rep/keymaps/via/rules.mk
@@ -0,0 +1 @@
VIA_ENABLE = yes
diff --git a/keyboards/4pplet/eagle_viper_rep/readme.md b/keyboards/4pplet/eagle_viper_rep/readme.md
new file mode 100644
index 000000000..76415fd6c
--- /dev/null
+++ b/keyboards/4pplet/eagle_viper_rep/readme.md
@@ -0,0 +1,19 @@
1# Viper/Eagle REP Rev A
2
3A alternative PCB for Viper and Eagle V2 and V3
4
5* Keyboard Maintainer: [4pplet](https://github.com/4pplet)
6* Hardware Supported: Viper/Eagle REP Rev A
7
8Make example for this keyboard (after setting up your build environment):
9
10 make 4pplet/eagle_viper_rep/rev_a:default
11
12See 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).
13
14How to enter bootloader (DFU):
15* Press and hold the button on the keyboard (the small one on the same side as the MCU) for more than 1 second. The keyboard will then enter bootloader (DFU) mode and it's ready to flash the firmware.
16* Note: If holding the button a shorter time, the keyboard will just reset. If you want to exit bootloader mode without flashing a firmware, dissconnect the keyboard from your PC and reconnect it.
17
18Alternative option if the firmware is already pre-flashed:
19* Unplug your keyboard, hold down the Spacebar and B at the same time, plug in your keyboard and wait a second before releasing the keys. Bootmagic lite is enabled by default.
diff --git a/keyboards/4pplet/eagle_viper_rep/rev_a/chconf.h b/keyboards/4pplet/eagle_viper_rep/rev_a/chconf.h
new file mode 100644
index 000000000..9e81d8c4a
--- /dev/null
+++ b/keyboards/4pplet/eagle_viper_rep/rev_a/chconf.h
@@ -0,0 +1,23 @@
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_ST_RESOLUTION 16
22
23#include_next <chconf.h>
diff --git a/keyboards/4pplet/eagle_viper_rep/rev_a/config.h b/keyboards/4pplet/eagle_viper_rep/rev_a/config.h
new file mode 100644
index 000000000..4edb4754e
--- /dev/null
+++ b/keyboards/4pplet/eagle_viper_rep/rev_a/config.h
@@ -0,0 +1,72 @@
1/*
2Copyright 2021 Stefan Sundin "4pplet" <[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#pragma once
18
19/* USB Device descriptor parameter */
20#define VENDOR_ID 0x4444
21#define PRODUCT_ID 0x0007
22#define DEVICE_VER 0x0001
23#define MANUFACTURER 4pplet
24#define PRODUCT Eagle Viper REP Rev A
25
26#define MATRIX_ROWS 10
27#define MATRIX_COLS 7
28
29#define MATRIX_COL_PINS { A0, B1, B0, A4, B5, B4, B3 }
30#define MATRIX_ROW_PINS { A2, A1, B8, A10, C15, A15, B7, B6, C14, C13}
31#define DIODE_DIRECTION COL2ROW
32
33/* In switch leds */
34#define BACKLIGHT_PIN A3
35#define BACKLIGHT_PWM_DRIVER PWMD2
36#define BACKLIGHT_PWM_CHANNEL 4
37#define BACKLIGHT_PAL_MODE 2
38#define BACKLIGHT_ON_STATE 1
39#define BACKLIGHT_LEVELS 10
40#define BACKLIGHT_BREATHING TRUE
41
42/* Underglow */
43#define RGB_DI_PIN A7
44#define WS2812_SPI SPID1
45#define WS2812_SPI_MOSI_PAL_MODE 0
46#define WS2812_SPI_SCK_PIN A5
47#define WS2812_SPI_SCK_PAL_MODE 0
48#define RGBLED_NUM 16
49#define RGBLIGHT_ANIMATIONS
50
51/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
52#define LOCKING_SUPPORT_ENABLE
53/* Locking resynchronize hack */
54#define LOCKING_RESYNC_ENABLE
55
56/* Indicator leds */
57#define LOCK_LIGHTS TRUE
58#define DISPLAY_LAYERS TRUE
59#define CAPS_PIN B2
60#define NUM_PIN B12
61#define SCROLL_PIN B13
62#define LAYER_1 B14
63#define LAYER_2 B15
64#define LAYER_3 A8
65#define LAYER_4 A9
66#define LAYER_5 B9
67
68/* Set 0 if debouncing isn't needed */
69#define DEBOUNCE 5
70
71/* Added extra layer for use of layer leds */
72#define DYNAMIC_KEYMAP_LAYER_COUNT 5
diff --git a/keyboards/4pplet/eagle_viper_rep/rev_a/halconf.h b/keyboards/4pplet/eagle_viper_rep/rev_a/halconf.h
new file mode 100644
index 000000000..b0dad8d4a
--- /dev/null
+++ b/keyboards/4pplet/eagle_viper_rep/rev_a/halconf.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 HAL_USE_I2C FALSE
20
21#define HAL_USE_PWM TRUE
22
23#define HAL_USE_SPI TRUE
24
25#include_next <halconf.h>
diff --git a/keyboards/4pplet/eagle_viper_rep/rev_a/mcuconf.h b/keyboards/4pplet/eagle_viper_rep/rev_a/mcuconf.h
new file mode 100644
index 000000000..ffa97b392
--- /dev/null
+++ b/keyboards/4pplet/eagle_viper_rep/rev_a/mcuconf.h
@@ -0,0 +1,34 @@
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/*
18 * This file was auto-generated by:
19 * `qmk chibios-confmigrate -i keyboards/cannonkeys/db60/mcuconf.h -r platforms/chibios/GENERIC_STM32_F072XB/configs/mcuconf.h`
20 */
21
22#pragma once
23
24#include_next <mcuconf.h>
25
26#undef STM32_PWM_USE_TIM2
27#define STM32_PWM_USE_TIM2 TRUE
28
29#undef STM32_SPI_USE_SPI1
30#define STM32_SPI_USE_SPI1 TRUE
31
32/* Reallocate the SysTick timer from TIM2 to TIM3, TIM2 is used for in switch leds */
33#undef STM32_ST_USE_TIMER
34#define STM32_ST_USE_TIMER 3
diff --git a/keyboards/4pplet/eagle_viper_rep/rev_a/readme.md b/keyboards/4pplet/eagle_viper_rep/rev_a/readme.md
new file mode 100644
index 000000000..76415fd6c
--- /dev/null
+++ b/keyboards/4pplet/eagle_viper_rep/rev_a/readme.md
@@ -0,0 +1,19 @@
1# Viper/Eagle REP Rev A
2
3A alternative PCB for Viper and Eagle V2 and V3
4
5* Keyboard Maintainer: [4pplet](https://github.com/4pplet)
6* Hardware Supported: Viper/Eagle REP Rev A
7
8Make example for this keyboard (after setting up your build environment):
9
10 make 4pplet/eagle_viper_rep/rev_a:default
11
12See 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).
13
14How to enter bootloader (DFU):
15* Press and hold the button on the keyboard (the small one on the same side as the MCU) for more than 1 second. The keyboard will then enter bootloader (DFU) mode and it's ready to flash the firmware.
16* Note: If holding the button a shorter time, the keyboard will just reset. If you want to exit bootloader mode without flashing a firmware, dissconnect the keyboard from your PC and reconnect it.
17
18Alternative option if the firmware is already pre-flashed:
19* Unplug your keyboard, hold down the Spacebar and B at the same time, plug in your keyboard and wait a second before releasing the keys. Bootmagic lite is enabled by default.
diff --git a/keyboards/4pplet/eagle_viper_rep/rev_a/rev_a.c b/keyboards/4pplet/eagle_viper_rep/rev_a/rev_a.c
new file mode 100644
index 000000000..2971460bd
--- /dev/null
+++ b/keyboards/4pplet/eagle_viper_rep/rev_a/rev_a.c
@@ -0,0 +1,108 @@
1/*
2Copyright 2021 Stefan Sundin "4pplet" <[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#include "rev_a.h"
18
19void board_init(void) {
20 setPinInputHigh(CAPS_PIN);
21 setPinInputHigh(SCROLL_PIN);
22 setPinInputHigh(NUM_PIN);
23}
24
25/* Set indicator leds to indicate lock states */
26bool led_update_kb(led_t led_state) {
27 bool res = led_update_user(led_state);
28 if(res && LOCK_LIGHTS) {
29 if(led_state.caps_lock){
30 setPinOutput(CAPS_PIN);
31 writePin(CAPS_PIN, 0);
32 }
33 else
34 setPinInputHigh(CAPS_PIN);
35 if(led_state.scroll_lock){
36 setPinOutput(SCROLL_PIN);
37 writePin(SCROLL_PIN, 0);
38 }
39 else
40 setPinInputHigh(SCROLL_PIN);
41 if(led_state.num_lock){
42 setPinOutput(NUM_PIN);
43 writePin(NUM_PIN, 0);
44 }
45 else
46 setPinInputHigh(NUM_PIN);
47 }
48 return res;
49}
50
51layer_state_t layer_state_set_kb(layer_state_t state) {
52 state = layer_state_set_user(state);
53 if(DISPLAY_LAYERS){
54 setLayerLed(state);
55 }
56 return state;
57}
58/* Set indicator leds to indicate which layer is active */
59void setLayerLed(layer_state_t state){
60 switch(get_highest_layer(state)){
61 case 0 :
62 setPinOutput(LAYER_1);
63 writePin(LAYER_1, 0);
64 setPinInputHigh(LAYER_2);
65 setPinInputHigh(LAYER_3);
66 setPinInputHigh(LAYER_4);
67 setPinInputHigh(LAYER_5);
68 break;
69 case 1 :
70 setPinOutput(LAYER_2);
71 writePin(LAYER_2, 0);
72 setPinInputHigh(LAYER_1);
73 setPinInputHigh(LAYER_3);
74 setPinInputHigh(LAYER_4);
75 setPinInputHigh(LAYER_5);
76 break;
77 case 2 :
78 setPinOutput(LAYER_3);
79 writePin(LAYER_3, 0);
80 setPinInputHigh(LAYER_1);
81 setPinInputHigh(LAYER_2);
82 setPinInputHigh(LAYER_4);
83 setPinInputHigh(LAYER_5);
84 break;
85 case 3 :
86 writePin(LAYER_4, 0);
87 setPinInputHigh(LAYER_5);
88 setPinInputHigh(LAYER_1);
89 setPinInputHigh(LAYER_2);
90 setPinInputHigh(LAYER_3);
91 setPinOutput(LAYER_4);
92 break;
93 case 4 :
94 setPinOutput(LAYER_5);
95 writePin(LAYER_5, 0);
96 setPinInputHigh(LAYER_1);
97 setPinInputHigh(LAYER_2);
98 setPinInputHigh(LAYER_3);
99 setPinInputHigh(LAYER_4);
100 break;
101 default :
102 setPinInputHigh(LAYER_1);
103 setPinInputHigh(LAYER_2);
104 setPinInputHigh(LAYER_3);
105 setPinInputHigh(LAYER_4);
106 setPinInputHigh(LAYER_5);
107 }
108}
diff --git a/keyboards/4pplet/eagle_viper_rep/rev_a/rev_a.h b/keyboards/4pplet/eagle_viper_rep/rev_a/rev_a.h
new file mode 100644
index 000000000..5dac41f92
--- /dev/null
+++ b/keyboards/4pplet/eagle_viper_rep/rev_a/rev_a.h
@@ -0,0 +1,41 @@
1/*
2Copyright 2021 Stefan Sundin "4pplet" <[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#pragma once
18
19#include "quantum.h"
20
21void setLayerLed(layer_state_t state);
22
23#define LAYOUT_all( \
24 k00, k10, k01, k11, k02, k12, k03, k13, k04, k14, k05, k15, k06, k16, k36, \
25 k20, k30, k21, k31, k22, k32, k23, k33, k24, k34, k25, k35, k26, k56,\
26 k40, k50, k41, k51, k42, k52, k43, k53, k44, k54, k45, k55, k46, k76,\
27 k60, k70, k61, k71, k62, k72, k63, k73, k64, k74, k65, k75, k66, k96,\
28 k80, k90, k91, k93, k94, k85, k95, k86 \
29) \
30{ \
31 {k00, k01, k02, k03, k04, k05, k06}, \
32 {k10, k11, k12, k13, k14, k15, k16}, \
33 {k20, k21, k22, k23, k24, k25, k26}, \
34 {k30, k31, k32, k33, k34, k35, k36}, \
35 {k40, k41, k42, k43, k44, k45, k46}, \
36 {k50, k51, k52, k53, k54, k55, k56}, \
37 {k60, k61, k62, k63, k64, k65, k66}, \
38 {k70, k71, k72, k73, k74, k75, k76}, \
39 {k80, KC_NO, KC_NO, KC_NO, KC_NO, k85, k86}, \
40 {k90, k91, KC_NO, k93, k94, k95, k96} \
41}
diff --git a/keyboards/4pplet/eagle_viper_rep/rev_a/rules.mk b/keyboards/4pplet/eagle_viper_rep/rev_a/rules.mk
new file mode 100644
index 000000000..35f765bc8
--- /dev/null
+++ b/keyboards/4pplet/eagle_viper_rep/rev_a/rules.mk
@@ -0,0 +1,25 @@
1# MCU name
2MCU = STM32F072
3
4# Bootloader selection
5BOOTLOADER = stm32-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 = yes # Console for debug
14COMMAND_ENABLE = yes # Commands for debug and configuration
15NKRO_ENABLE = yes # Enable N-Key Rollover
16BACKLIGHT_ENABLE = yes
17BACKLIGHT_DRIVER = pwm
18RGBLIGHT_ENABLE = yes
19WS2812_DRIVER = spi
20
21# Wildcard to allow APM32 MCU
22DFU_SUFFIX_ARGS = -p FFFF -v FFFF
23
24# Enter lower-power sleep mode when on the ChibiOS idle thread
25OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
diff --git a/keyboards/4pplet/steezy60/keymaps/4pplet/keymap.c b/keyboards/4pplet/steezy60/keymaps/4pplet/keymap.c
new file mode 100644
index 000000000..67820f2ac
--- /dev/null
+++ b/keyboards/4pplet/steezy60/keymaps/4pplet/keymap.c
@@ -0,0 +1,27 @@
1#include QMK_KEYBOARD_H
2
3const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
4
5[0] = LAYOUT_all(
6 KC_GESC, 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_BSLS,KC_GRV,
7 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,
8 KC_LGUI, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT,
9 KC_LSPO, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_NO, KC_RSPC, MO(2),
10 KC_LCTL, KC_LGUI, KC_NO, KC_LALT, KC_RALT, MO(2), KC_SPC, KC_RALT, KC_RGUI, KC_NO, KC_APP, KC_RCTRL),
11
12[1] = LAYOUT_all(
13 KC_GESC, 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_BSLS,KC_GRV,
14 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,
15 KC_LCTRL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NO, KC_ENT,
16 KC_LSPO, KC_NO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_NO, KC_RSPC, MO(2),
17 KC_LCTL, KC_LGUI, KC_NO, KC_LALT, KC_RALT, MO(2), KC_SPC, KC_RALT, KC_RGUI, KC_NO, KC_APP, KC_RCTRL),
18
19[2] = LAYOUT_all(
20 KC_EXEC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, _______,
21 _______, KC_BSPC, KC_UP, KC_ENT, _______, _______, _______, _______, KC_PSCR, KC_SLCK, KC_PAUS, KC_UP, _______, KC_DEL,
22 KC_CAPS, KC_LEFT, KC_DOWN, KC_RIGHT, KC_MUTE, _______, KC_PAST, KC_PSLS, KC_HOME, KC_PGUP, KC_LEFT, KC_RIGHT, _______, KC_PENT,
23 _______, _______, KC_MPRV, KC_MPLY, KC_MNXT, KC_VOLD, KC_VOLU, KC_PPLS, KC_PMNS, KC_END, KC_PGDN, KC_DOWN, _______, _______, _______,
24 DF(1), DF(0), _______, _______, _______, _______, _______, KC_BRID, KC_BRIU, _______, _______, RESET )
25};
26
27
diff --git a/keyboards/4pplet/steezy60/keymaps/default/keymap.c b/keyboards/4pplet/steezy60/keymaps/default/keymap.c
new file mode 100644
index 000000000..6a922b0f3
--- /dev/null
+++ b/keyboards/4pplet/steezy60/keymaps/default/keymap.c
@@ -0,0 +1,18 @@
1#include QMK_KEYBOARD_H
2
3const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
4
5[0] = LAYOUT_all(
6 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_NO, KC_BSPC,
7 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS,
8 KC_LCTRL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NO, KC_ENT,
9 KC_LSFT, KC_NO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_NO, KC_RSFT, KC_NO,
10 KC_LCTL, KC_LGUI, KC_NO, KC_LALT, KC_NO, KC_SPC, KC_NO, KC_RALT, KC_RGUI, KC_NO, KC_APP, MO(1)),
11
12[1] = LAYOUT_all(
13 RESET, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, KC_DEL,
14 _______, KC_BSPC, KC_UP, KC_ENT, _______, _______, _______, _______, KC_PSCR, KC_SLCK, KC_PAUS, KC_UP, _______, _______,
15 KC_CAPS, KC_LEFT, KC_DOWN, KC_RIGHT, KC_MUTE, _______, KC_PAST, KC_PSLS, KC_HOME, KC_PGUP, KC_LEFT, KC_RIGHT, _______, _______,
16 _______, _______, KC_MPRV, KC_MPLY, KC_MNXT, KC_VOLD, KC_VOLU, KC_PPLS, KC_PMNS, KC_END, KC_PGDN, KC_DOWN, _______, _______, _______,
17 _______, _______, _______, _______, _______, _______, _______, KC_BRID, KC_BRIU, _______, _______, _______ )
18}; \ No newline at end of file
diff --git a/keyboards/4pplet/steezy60/keymaps/via/keymap.c b/keyboards/4pplet/steezy60/keymaps/via/keymap.c
new file mode 100644
index 000000000..603d85771
--- /dev/null
+++ b/keyboards/4pplet/steezy60/keymaps/via/keymap.c
@@ -0,0 +1,32 @@
1#include QMK_KEYBOARD_H
2
3const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
4
5[0] = LAYOUT_all(
6 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_NO, KC_BSPC,
7 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS,
8 KC_LCTRL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NO, KC_ENT,
9 KC_LSFT, KC_NO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_NO, KC_RSFT, KC_NO,
10 KC_LCTL, KC_LGUI, KC_NO, KC_LALT, KC_NO, KC_SPC, KC_NO, KC_RALT, KC_RGUI, KC_NO, KC_APP, MO(1)),
11
12[1] = LAYOUT_all(
13 RESET, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, KC_DEL,
14 _______, KC_BSPC, KC_UP, KC_ENT, _______, _______, _______, _______, KC_PSCR, KC_SLCK, KC_PAUS, KC_UP, _______, _______,
15 KC_CAPS, KC_LEFT, KC_DOWN, KC_RIGHT, KC_MUTE, _______, KC_PAST, KC_PSLS, KC_HOME, KC_PGUP, KC_LEFT, KC_RIGHT, _______, _______,
16 _______, _______, KC_MPRV, KC_MPLY, KC_MNXT, KC_VOLD, KC_VOLU, KC_PPLS, KC_PMNS, KC_END, KC_PGDN, KC_DOWN, _______, _______, _______,
17 _______, _______, _______, _______, _______, _______, _______, KC_BRID, KC_BRIU, _______, _______, _______ ),
18
19[2] = LAYOUT_all(
20 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
21 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
22 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
23 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
24 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ ),
25
26[3] = LAYOUT_all(
27 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
28 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
29 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
30 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
31 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ )
32}; \ No newline at end of file
diff --git a/keyboards/4pplet/steezy60/keymaps/via/rules.mk b/keyboards/4pplet/steezy60/keymaps/via/rules.mk
new file mode 100644
index 000000000..c4b503281
--- /dev/null
+++ b/keyboards/4pplet/steezy60/keymaps/via/rules.mk
@@ -0,0 +1,2 @@
1VIA_ENABLE = yes
2RGBLIGHT_ENABLE = yes \ No newline at end of file
diff --git a/keyboards/4pplet/steezy60/readme.md b/keyboards/4pplet/steezy60/readme.md
new file mode 100644
index 000000000..34245b84e
--- /dev/null
+++ b/keyboards/4pplet/steezy60/readme.md
@@ -0,0 +1,14 @@
1# Steezy60
2
3A 60% PCB with a ton of layout options for SMK and Alps switches
4
5More info: https://geekhack.org/index.php?topic=103531.0
6
7* Keyboard Maintainer: [4pplet](https://github.com/4pplet)
8* Hardware Supported: Steezy60 Rev A
9
10Make example for this keyboard (after setting up your build environment):
11
12 make 4pplet/steezy60/rev_a:default
13
14See 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). \ No newline at end of file
diff --git a/keyboards/4pplet/steezy60/rev_a/config.h b/keyboards/4pplet/steezy60/rev_a/config.h
new file mode 100644
index 000000000..8f0c0d953
--- /dev/null
+++ b/keyboards/4pplet/steezy60/rev_a/config.h
@@ -0,0 +1,35 @@
1#pragma once
2
3#include "config_common.h"
4
5/* USB Device descriptor parameter */
6#define VENDOR_ID 0x4444
7#define PRODUCT_ID 0x0002
8#define DEVICE_VER 0x0001
9#define MANUFACTURER 4pplet
10#define PRODUCT Steezy60 Rev A
11
12/* key matrix size */
13#define MATRIX_ROWS 5
14#define MATRIX_COLS 14
15// ROWS: Top to bottom, COLS: Left to right
16#define MATRIX_ROW_PINS {C2,D0,B0,C7,C5}
17#define MATRIX_COL_PINS {C4,C6,B7,B6,B5,B4,B3,B2,B1,D6,D5,D4,D2,D1}
18
19/* COL2ROW or ROW2COL */
20#define DIODE_DIRECTION COL2ROW
21
22/* Set 0 if debouncing isn't needed */
23#define DEBOUNCE 5
24
25#define QMK_ESC_OUTPUT C4 // usually COL
26#define QMK_ESC_INPUT C2 // usually ROW
27
28#define RGB_DI_PIN D3
29#define RGBLED_NUM 12
30#define BACKLIGHT_LEVELS 5
31
32#define RGBLIGHT_HUE_STEP 8
33#define RGBLIGHT_SAT_STEP 8
34#define RGBLIGHT_VAL_STEP 8
35#define RGBLIGHT_ANIMATIONS
diff --git a/keyboards/4pplet/steezy60/rev_a/info.json b/keyboards/4pplet/steezy60/rev_a/info.json
new file mode 100644
index 000000000..cecd47559
--- /dev/null
+++ b/keyboards/4pplet/steezy60/rev_a/info.json
@@ -0,0 +1,85 @@
1{
2 "keyboard_name": "Steezy60 Rev A",
3 "url": "",
4 "maintainer": "4pplet",
5 "layouts": {
6 "LAYOUT_all": {
7 "layout": [
8 {"x":0, "y":0},
9 {"x":1, "y":0},
10 {"x":2, "y":0},
11 {"x":3, "y":0},
12 {"x":4, "y":0},
13 {"x":5, "y":0},
14 {"x":6, "y":0},
15 {"x":7, "y":0},
16 {"x":8, "y":0},
17 {"x":9, "y":0},
18 {"x":10, "y":0},
19 {"x":11, "y":0},
20 {"x":12, "y":0},
21 {"x":13, "y":0},
22 {"x":14, "y":0},
23
24 {"x":0, "y":1, "w":1.5},
25 {"x":1.5, "y":1},
26 {"x":2.5, "y":1},
27 {"x":3.5, "y":1},
28 {"x":4.5, "y":1},
29 {"x":5.5, "y":1},
30 {"x":6.5, "y":1},
31 {"x":7.5, "y":1},
32 {"x":8.5, "y":1},
33 {"x":9.5, "y":1},
34 {"x":10.5, "y":1},
35 {"x":11.5, "y":1},
36 {"x":12.5, "y":1},
37 {"x":13.5, "y":1, "w":1.5},
38
39 {"x":0, "y":2, "w":1.75},
40 {"x":1.75, "y":2},
41 {"x":2.75, "y":2},
42 {"x":3.75, "y":2},
43 {"x":4.75, "y":2},
44 {"x":5.75, "y":2},
45 {"x":6.75, "y":2},
46 {"x":7.75, "y":2},
47 {"x":8.75, "y":2},
48 {"x":9.75, "y":2},
49 {"x":10.75, "y":2},
50 {"x":11.75, "y":2},
51 {"x":12.75, "y":2},
52 {"x":13.75, "y":2, "w":1.25},
53
54 {"x":0, "y":3},
55 {"x":1, "y":3},
56 {"x":2, "y":3},
57 {"x":3, "y":3},
58 {"x":4, "y":3},
59 {"x":5, "y":3},
60 {"x":6, "y":3},
61 {"x":7, "y":3},
62 {"x":8, "y":3},
63 {"x":9, "y":3},
64 {"x":10, "y":3},
65 {"x":11, "y":3},
66 {"x":12, "y":3},
67 {"x":13, "y":3},
68 {"x":14, "y":3},
69
70 {"x":0, "y":4},
71 {"x":1, "y":4},
72 {"x":2, "y":4},
73 {"x":3, "y":4},
74 {"x":4, "y":4, "w":2.25},
75 {"x":6.25, "y":4, "w":1.5},
76 {"x":7.75, "y":4, "w":2.25},
77 {"x":10, "y":4},
78 {"x":11, "y":4},
79 {"x":12, "y":4},
80 {"x":13, "y":4},
81 {"x":14, "y":4}
82 ]
83 }
84 }
85}
diff --git a/keyboards/4pplet/steezy60/rev_a/rev_a.c b/keyboards/4pplet/steezy60/rev_a/rev_a.c
new file mode 100644
index 000000000..d3db08ad1
--- /dev/null
+++ b/keyboards/4pplet/steezy60/rev_a/rev_a.c
@@ -0,0 +1 @@
#include "rev_a.h"
diff --git a/keyboards/4pplet/steezy60/rev_a/rev_a.h b/keyboards/4pplet/steezy60/rev_a/rev_a.h
new file mode 100644
index 000000000..b8c3fa6b0
--- /dev/null
+++ b/keyboards/4pplet/steezy60/rev_a/rev_a.h
@@ -0,0 +1,18 @@
1#pragma once
2
3#include "quantum.h"
4
5#define LAYOUT_all( \
6 k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k4d, \
7 k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, \
8 k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, \
9 k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d,k4c, \
10 k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b \
11) \
12{ \
13 {k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d}, \
14 {k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d}, \
15 {k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d}, \
16 {k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d}, \
17 {k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b, k4c, k4d} \
18}
diff --git a/keyboards/4pplet/steezy60/rev_a/rules.mk b/keyboards/4pplet/steezy60/rev_a/rules.mk
new file mode 100644
index 000000000..43eb792fc
--- /dev/null
+++ b/keyboards/4pplet/steezy60/rev_a/rules.mk
@@ -0,0 +1,18 @@
1# MCU name
2MCU = atmega32u2
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 = no # Mouse keys
12EXTRAKEY_ENABLE = yes # Audio control and System control
13CONSOLE_ENABLE = no # Console for debug
14COMMAND_ENABLE = no # Commands for debug and configuration
15NKRO_ENABLE = no # Enable N-Key Rollover
16BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
17RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
18AUDIO_ENABLE = no # Audio output
diff --git a/keyboards/4pplet/waffling60/info.json b/keyboards/4pplet/waffling60/info.json
new file mode 100644
index 000000000..0ff2c1f7e
--- /dev/null
+++ b/keyboards/4pplet/waffling60/info.json
@@ -0,0 +1,77 @@
1{
2 "keyboard_name": "Waffling60 Rev A",
3 "url": "https://github.com/4pplet/waffling60",
4 "maintainer": "4pplet",
5 "layouts": {
6 "LAYOUT_all": {
7 "layout": [
8 { "label": "Esc", "x": 0, "y": 0 },
9 { "label": "!", "x": 1, "y": 0 },
10 { "label": "@", "x": 2, "y": 0 },
11 { "label": "#", "x": 3, "y": 0 },
12 { "label": "$", "x": 4, "y": 0 },
13 { "label": "%", "x": 5, "y": 0 },
14 { "label": "^", "x": 6, "y": 0 },
15 { "label": "&", "x": 7, "y": 0 },
16 { "label": "*", "x": 8, "y": 0 },
17 { "label": "(", "x": 9, "y": 0 },
18 { "label": ")", "x": 10, "y": 0 },
19 { "label": "_", "x": 11, "y": 0 },
20 { "label": "+", "x": 12, "y": 0 },
21 { "label": "|", "x": 13, "y": 0 },
22 { "label": "~", "x": 14, "y": 0 },
23 { "label": "Tab", "x": 0, "y": 1, "w": 1.5 },
24 { "label": "Q", "x": 1.5, "y": 1 },
25 { "label": "W", "x": 2.5, "y": 1 },
26 { "label": "E", "x": 3.5, "y": 1 },
27 { "label": "R", "x": 4.5, "y": 1 },
28 { "label": "T", "x": 5.5, "y": 1 },
29 { "label": "Y", "x": 6.5, "y": 1 },
30 { "label": "U", "x": 7.5, "y": 1 },
31 { "label": "I", "x": 8.5, "y": 1 },
32 { "label": "O", "x": 9.5, "y": 1 },
33 { "label": "P", "x": 10.5, "y": 1 },
34 { "label": "{", "x": 11.5, "y": 1 },
35 { "label": "}", "x": 12.5, "y": 1 },
36 { "label": "Backsp.", "x": 13.5, "y": 1, "w": 1.5 },
37 { "label": "Caps Lock", "x": 0, "y": 2, "w": 1.75 },
38 { "label": "A", "x": 1.75, "y": 2 },
39 { "label": "S", "x": 2.75, "y": 2 },
40 { "label": "D", "x": 3.75, "y": 2 },
41 { "label": "F", "x": 4.75, "y": 2 },
42 { "label": "G", "x": 5.75, "y": 2 },
43 { "label": "H", "x": 6.75, "y": 2 },
44 { "label": "J", "x": 7.75, "y": 2 },
45 { "label": "K", "x": 8.75, "y": 2 },
46 { "label": "L", "x": 9.75, "y": 2 },
47 { "label": ":", "x": 10.75, "y": 2 },
48 { "label": "\"", "x": 11.75, "y": 2 },
49 { "label": "Enter", "x": 12.75, "y": 2, "w": 2.25 },
50 { "label": "Shift", "x": 0, "y": 3, "w": 1.25 },
51 { "label": "|", "x": 1.25, "y": 3 },
52 { "label": "Z", "x": 2.25, "y": 3 },
53 { "label": "X", "x": 3.25, "y": 3 },
54 { "label": "C", "x": 4.25, "y": 3 },
55 { "label": "V", "x": 5.25, "y": 3 },
56 { "label": "B", "x": 6.25, "y": 3 },
57 { "label": "N", "x": 7.25, "y": 3 },
58 { "label": "M", "x": 8.25, "y": 3 },
59 { "label": "<", "x": 9.25, "y": 3 },
60 { "label": ">", "x": 10.25, "y": 3 },
61 { "label": "?", "x": 11.25, "y": 3 },
62 { "label": "Shift", "x": 12.25, "y": 3, "w": 1.75 },
63 { "label": "Fn", "x": 14, "y": 3, "w": 1 },
64 { "label": "Ctrl", "x": 0, "y": 4, "w": 1.25 },
65 { "label": "Win", "x": 1.25, "y": 4, "w": 1.25 },
66 { "label": "Alt", "x": 2.5, "y": 4, "w": 1.25 },
67 { "label": "Space1", "x": 3.75, "y": 4, "w": 2.25 },
68 { "label": "Space2", "x": 6, "y": 4, "w": 1.25 },
69 { "label": "Space3", "x": 7.25, "y": 4, "w": 2.75 },
70 { "label": "Alt", "x": 10, "y": 4, "w": 1.25 },
71 { "label": "Menu", "x": 11.25, "y": 4, "w": 1.25 },
72 { "label": "Win", "x": 12.5, "y": 4, "w": 1.25 },
73 { "label": "Ctrl", "x": 13.75, "y": 4, "w": 1.25 }
74 ]
75 }
76 }
77}
diff --git a/keyboards/4pplet/waffling60/keymaps/default/keymap.c b/keyboards/4pplet/waffling60/keymaps/default/keymap.c
new file mode 100644
index 000000000..c9ae421af
--- /dev/null
+++ b/keyboards/4pplet/waffling60/keymaps/default/keymap.c
@@ -0,0 +1,34 @@
1/*
2Copyright 2020 Stefan Sundin "4pplet" <[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#include QMK_KEYBOARD_H
18
19const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
20// main layer
21[0] = LAYOUT_all(
22 KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_NO, KC_BSPC,
23 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS,
24 KC_LCTRL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
25 KC_LSFT, KC_NO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_NO,
26 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_RGUI, KC_APP, MO(1)),
27// basic function layer
28[1] = LAYOUT_all(
29 RESET, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS,
30 KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
31 KC_TRNS, KC_LEFT, KC_DOWN, KC_RIGHT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
32 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,
33 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS)
34};
diff --git a/keyboards/4pplet/waffling60/keymaps/via/keymap.c b/keyboards/4pplet/waffling60/keymaps/via/keymap.c
new file mode 100644
index 000000000..d20c6bf06
--- /dev/null
+++ b/keyboards/4pplet/waffling60/keymaps/via/keymap.c
@@ -0,0 +1,48 @@
1/*
2Copyright 2020 Stefan Sundin "4pplet" <[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#include QMK_KEYBOARD_H
18
19const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
20// main layer
21[0] = LAYOUT_all(
22 KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_NO, KC_BSPC,
23 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS,
24 KC_LCTRL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
25 KC_LSFT, KC_NO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_NO,
26 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_RGUI, KC_APP, MO(1)),
27// basic function layer
28[1] = LAYOUT_all(
29 RESET, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS,
30 KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
31 KC_TRNS, KC_LEFT, KC_DOWN, KC_RIGHT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
32 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,
33 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
34// extra layer for VIA
35[2] = LAYOUT_all(
36 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,
37 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,
38 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,
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, 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),
41// extra layer for VIA
42[3] = LAYOUT_all(
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,
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,
46 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,
47 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS)
48}; \ No newline at end of file
diff --git a/keyboards/4pplet/waffling60/keymaps/via/rules.mk b/keyboards/4pplet/waffling60/keymaps/via/rules.mk
new file mode 100644
index 000000000..1e5b99807
--- /dev/null
+++ b/keyboards/4pplet/waffling60/keymaps/via/rules.mk
@@ -0,0 +1 @@
VIA_ENABLE = yes
diff --git a/keyboards/4pplet/waffling60/readme.md b/keyboards/4pplet/waffling60/readme.md
new file mode 100644
index 000000000..bf5fda880
--- /dev/null
+++ b/keyboards/4pplet/waffling60/readme.md
@@ -0,0 +1,15 @@
1# waffling60
2
3A 60% PCB for MX switches, one hot swap and one solder-pcb version with decent layout support.
4
5More info: https://geekhack.org/index.php?topic=103531.0
6
7* Keyboard Maintainer: [4pplet](https://github.com/4pplet)
8* Hardware Supported: [waffling60](https://github.com/4pplet/waffling60)
9
10Make example for this keyboard (after setting up your build environment):
11
12 make 4pplet/waffling60/rev_a:default
13 make 4pplet/waffling60/rev_b: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).
diff --git a/keyboards/4pplet/waffling60/rev_a/.noci b/keyboards/4pplet/waffling60/rev_a/.noci
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/keyboards/4pplet/waffling60/rev_a/.noci
diff --git a/keyboards/4pplet/waffling60/rev_a/config.h b/keyboards/4pplet/waffling60/rev_a/config.h
new file mode 100644
index 000000000..33279d67a
--- /dev/null
+++ b/keyboards/4pplet/waffling60/rev_a/config.h
@@ -0,0 +1,30 @@
1#pragma once
2
3#include "config_common.h"
4
5/* USB Device descriptor parameter */
6#define VENDOR_ID 0x4444
7#define PRODUCT_ID 0x0003
8#define DEVICE_VER 0x0001
9#define MANUFACTURER 4pplet
10#define PRODUCT waffling60 Rev A
11
12/* key matrix size */
13#define MATRIX_ROWS 6
14#define MATRIX_COLS 11
15// ROWS: Top to bottom, COLS: Left to right
16
17#define MATRIX_ROW_PINS {D4,D1,C2,C4,C7,B2}
18#define MATRIX_COL_PINS {D3,D0,D2,B6,B5,B4,B3,D6,D5,B0,B1}
19
20/* COL2ROW or ROW2COL */
21#define DIODE_DIRECTION COL2ROW
22
23/* define if matrix has ghost */
24//#define MATRIX_HAS_GHOST
25
26/* Set 0 if debouncing isn't needed */
27#define DEBOUNCE 5
28
29#define QMK_ESC_OUTPUT D3 // usually COL
30#define QMK_ESC_INPUT D4 // usually ROW
diff --git a/keyboards/4pplet/waffling60/rev_a/readme.md b/keyboards/4pplet/waffling60/rev_a/readme.md
new file mode 100644
index 000000000..1519fa66f
--- /dev/null
+++ b/keyboards/4pplet/waffling60/rev_a/readme.md
@@ -0,0 +1,14 @@
1# waffling60
2
3A 60% PCB for MX switches, one hot swap and one solder-pcb version with decent layout support.
4
5More info: https://geekhack.org/index.php?topic=103531.0
6
7* Keyboard Maintainer: [4pplet](https://github.com/4pplet)
8* Hardware Supported: [waffling60](https://github.com/4pplet/waffling60)
9
10Make example for this keyboard (after setting up your build environment):
11
12 make 4pplet/waffling60/rev_a:default
13
14See 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/4pplet/waffling60/rev_a/rev_a.c b/keyboards/4pplet/waffling60/rev_a/rev_a.c
new file mode 100644
index 000000000..d3db08ad1
--- /dev/null
+++ b/keyboards/4pplet/waffling60/rev_a/rev_a.c
@@ -0,0 +1 @@
#include "rev_a.h"
diff --git a/keyboards/4pplet/waffling60/rev_a/rev_a.h b/keyboards/4pplet/waffling60/rev_a/rev_a.h
new file mode 100644
index 000000000..3ac296877
--- /dev/null
+++ b/keyboards/4pplet/waffling60/rev_a/rev_a.h
@@ -0,0 +1,20 @@
1#pragma once
2
3#include "quantum.h"
4
5// k<row><col>
6#define LAYOUT_all( \
7 k00, k01, k11, k02, k03, k04, k05, k15, k06, k07, k08, k18, k09, k0a, k1a, \
8 k10, k21, k12, k22, k13, k14, k25, k35, k16, k17, k28, k19, k29, k2a, \
9 k20, k31, k32, k23, k33, k24, k45, k26, k36, k27, k38, k39, k3a, \
10 k30, k40, k41, k42, k43, k34, k44, k55, k46, k37, k47, k48, k49, k4a, \
11 k50, k51, k52, k53, k54, k56, k57, k58, k59, k5a \
12) \
13{ \
14 {k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a}, \
15 {k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a}, \
16 {k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a}, \
17 {k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a}, \
18 {k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a}, \
19 {k50, k51, k52, k53, k54, k55, k56, k57, k58, k59, k5a} \
20}
diff --git a/keyboards/4pplet/waffling60/rev_a/rules.mk b/keyboards/4pplet/waffling60/rev_a/rules.mk
new file mode 100644
index 000000000..43eb792fc
--- /dev/null
+++ b/keyboards/4pplet/waffling60/rev_a/rules.mk
@@ -0,0 +1,18 @@
1# MCU name
2MCU = atmega32u2
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 = no # Mouse keys
12EXTRAKEY_ENABLE = yes # Audio control and System control
13CONSOLE_ENABLE = no # Console for debug
14COMMAND_ENABLE = no # Commands for debug and configuration
15NKRO_ENABLE = no # Enable N-Key Rollover
16BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
17RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
18AUDIO_ENABLE = no # Audio output
diff --git a/keyboards/4pplet/waffling60/rev_b/config.h b/keyboards/4pplet/waffling60/rev_b/config.h
new file mode 100644
index 000000000..eb9882d73
--- /dev/null
+++ b/keyboards/4pplet/waffling60/rev_b/config.h
@@ -0,0 +1,55 @@
1/*
2Copyright 2020 Stefan Sundin "4pplet" <[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#pragma once
18
19#include "config_common.h"
20
21/* USB Device descriptor parameter */
22#define VENDOR_ID 0x4444
23#define PRODUCT_ID 0x0005
24#define DEVICE_VER 0x0002
25#define MANUFACTURER 4pplet
26#define PRODUCT waffling60 Rev B
27
28/* key matrix size */
29#define MATRIX_ROWS 5
30#define MATRIX_COLS 14
31// ROWS: Top to bottom, COLS: Left to right
32
33#define MATRIX_ROW_PINS {C2,D0,B0,D6,D5}
34#define MATRIX_COL_PINS {C4,C5,D2,C6,C7,B7,B6,B5,B4,B3,B2,B1,D1,D4}
35
36/* COL2ROW or ROW2COL */
37#define DIODE_DIRECTION COL2ROW
38
39/* define if matrix has ghost */
40//#define MATRIX_HAS_GHOST
41
42/* Set 0 if debouncing isn't needed */
43#define DEBOUNCE 5
44
45#define QMK_ESC_OUTPUT C2 // usually COL
46#define QMK_ESC_INPUT C4 // usually ROW
47
48#define RGB_DI_PIN D3
49#define RGBLED_NUM 1
50#define BACKLIGHT_LEVELS 5
51
52#define RGBLIGHT_HUE_STEP 8
53#define RGBLIGHT_SAT_STEP 8
54#define RGBLIGHT_VAL_STEP 8
55#define RGBLIGHT_ANIMATIONS
diff --git a/keyboards/4pplet/waffling60/rev_b/readme.md b/keyboards/4pplet/waffling60/rev_b/readme.md
new file mode 100644
index 000000000..27ca8ca9c
--- /dev/null
+++ b/keyboards/4pplet/waffling60/rev_b/readme.md
@@ -0,0 +1,14 @@
1# waffling60
2
3A 60% PCB for MX switches, one hot swap and one solder-pcb version with decent layout support.
4
5More info: https://geekhack.org/index.php?topic=103531.0
6
7* Keyboard Maintainer: [4pplet](https://github.com/4pplet)
8* Hardware Supported: [waffling60](https://github.com/4pplet/waffling60)
9
10Make example for this keyboard (after setting up your build environment):
11
12 make 4pplet/waffling60/rev_b:default
13
14See 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/4pplet/waffling60/rev_b/rev_b.c b/keyboards/4pplet/waffling60/rev_b/rev_b.c
new file mode 100644
index 000000000..5f701b57f
--- /dev/null
+++ b/keyboards/4pplet/waffling60/rev_b/rev_b.c
@@ -0,0 +1,33 @@
1/*
2Copyright 2020 Stefan Sundin "4pplet" <[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#include "rev_b.h"
18
19bool led_update_kb(led_t led_state) {
20 bool res = led_update_user(led_state);
21 if(CAPS_LOCK_ENABLE){
22 if(res) {
23 if(led_state.caps_lock){
24 rgblight_enable();
25 rgblight_mode(1);
26 rgblight_sethsv_noeeprom(CAPS_LOCK_COLOR);
27 }
28 else
29 rgblight_disable_noeeprom();
30 }
31 }
32 return res;
33}
diff --git a/keyboards/4pplet/waffling60/rev_b/rev_b.h b/keyboards/4pplet/waffling60/rev_b/rev_b.h
new file mode 100644
index 000000000..e6dc7a15d
--- /dev/null
+++ b/keyboards/4pplet/waffling60/rev_b/rev_b.h
@@ -0,0 +1,38 @@
1/*
2Copyright 2020 Stefan Sundin "4pplet" <[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#pragma once
18
19// defines to set RGB-led behaviour. Off by default
20#define CAPS_LOCK_ENABLE false
21#define CAPS_LOCK_COLOR HSV_ORANGE
22
23#include "quantum.h"
24
25#define LAYOUT_all( \
26 k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k1d, \
27 k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k2c, \
28 k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2d, \
29 k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, \
30 k40, k41, k42, k44, k46, k48, k4a, k4b, k4c, k4d \
31) \
32{ \
33 {k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d}, \
34 {k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d}, \
35 {k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d}, \
36 {k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d}, \
37 {k40, k41, k42, KC_NO, k44, KC_NO, k46, KC_NO, k48, KC_NO, k4a, k4b, k4c, k4d}, \
38}
diff --git a/keyboards/4pplet/waffling60/rev_b/rules.mk b/keyboards/4pplet/waffling60/rev_b/rules.mk
new file mode 100644
index 000000000..88173a40c
--- /dev/null
+++ b/keyboards/4pplet/waffling60/rev_b/rules.mk
@@ -0,0 +1,18 @@
1# MCU name
2MCU = atmega32u2
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 = no # Mouse keys
12EXTRAKEY_ENABLE = yes # Audio control and System control
13CONSOLE_ENABLE = no # Console for debug
14COMMAND_ENABLE = no # Commands for debug and configuration
15NKRO_ENABLE = no # Enable N-Key Rollover
16BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
17RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
18AUDIO_ENABLE = no # Audio output