aboutsummaryrefslogtreecommitdiff
path: root/keyboards/eek
diff options
context:
space:
mode:
authorJames Smith <bronzegears@gmail.com>2020-12-07 14:07:25 -0500
committerGitHub <noreply@github.com>2020-12-07 19:07:25 +0000
commit9346bd6f805eb4229d58169ee0508acdcd8f666b (patch)
tree2edf6c8b6e0778737e3f9d8a11483d0a834521db /keyboards/eek
parenta5a1f860c0ddab56500a36a819f9c6b77f02f576 (diff)
downloadqmk_firmware-9346bd6f805eb4229d58169ee0508acdcd8f666b.tar.gz
qmk_firmware-9346bd6f805eb4229d58169ee0508acdcd8f666b.zip
Eek! keyboard firmware merge into QMK (#11020)
Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Erovia <Erovia@users.noreply.github.com>
Diffstat (limited to 'keyboards/eek')
-rw-r--r--keyboards/eek/config.h134
-rw-r--r--keyboards/eek/eek.c55
-rw-r--r--keyboards/eek/eek.h24
-rw-r--r--keyboards/eek/info.json56
-rw-r--r--keyboards/eek/keymaps/default/keymap.c72
-rw-r--r--keyboards/eek/keymaps/default/readme.md1
-rw-r--r--keyboards/eek/keymaps/ledtest/keymap.c92
-rw-r--r--keyboards/eek/keymaps/ledtest/rules.mk2
-rw-r--r--keyboards/eek/readme.md25
-rw-r--r--keyboards/eek/rules.mk25
-rw-r--r--keyboards/eek/silk_down/readme.md13
-rw-r--r--keyboards/eek/silk_down/rules.mk0
-rw-r--r--keyboards/eek/silk_down/silk_down.h39
-rw-r--r--keyboards/eek/silk_up/readme.md14
-rw-r--r--keyboards/eek/silk_up/rules.mk0
-rw-r--r--keyboards/eek/silk_up/silk_up.h39
16 files changed, 591 insertions, 0 deletions
diff --git a/keyboards/eek/config.h b/keyboards/eek/config.h
new file mode 100644
index 000000000..d8a949269
--- /dev/null
+++ b/keyboards/eek/config.h
@@ -0,0 +1,134 @@
1/*
2Copyright 2020 klackygears
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20#include "config_common.h"
21
22/* USB Device descriptor parameter */
23#define VENDOR_ID 0x4A53
24#define PRODUCT_ID 0x0002
25#define DEVICE_VER 0x0004
26#define MANUFACTURER klackygears
27#define PRODUCT eek!
28
29/* key matrix size */
30#define MATRIX_ROWS 4
31#define MATRIX_COLS 10
32
33#define MATRIX_ROW_PINS { D7, E6, B4, B5 }
34#define MATRIX_COL_PINS { D4, C6, B6, B2, B3, B1, F7, F6, F5, F4 }
35
36#define UNUSED_PINS { D2, D1, D0 }
37
38#define DIODE_DIRECTION COL2ROW
39
40
41 #define RGB_DI_PIN D3
42#ifdef RGB_DI_PIN
43 #define RGBLED_NUM 36
44 #define RGBLIGHT_HUE_STEP 4
45 #define RGBLIGHT_SAT_STEP 8
46 #define RGBLIGHT_VAL_STEP 8
47 #define RGBLIGHT_LIMIT_VAL 200 /* The maximum brightness level */
48 #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
49/*== all animations enable ==*/
50 #define RGBLIGHT_ANIMATIONS
51// /*== or choose animations ==*/
52// #define RGBLIGHT_EFFECT_BREATHING
53// #define RGBLIGHT_EFFECT_RAINBOW_MOOD
54// #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
55// #define RGBLIGHT_EFFECT_SNAKE
56// #define RGBLIGHT_EFFECT_KNIGHT
57// #define RGBLIGHT_EFFECT_CHRISTMAS
58// #define RGBLIGHT_EFFECT_STATIC_GRADIENT
59// #define RGBLIGHT_EFFECT_RGB_TEST
60// #define RGBLIGHT_EFFECT_ALTERNATING
61// /*== customize breathing effect ==*/
62// /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
63// #define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64
64// /*==== use exp() and sin() ====*/
65// #define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7
66// #define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255
67 #endif
68
69 #ifdef RGB_MATRIX_ENABLE
70 #define DRIVER_LED_TOTAL 36
71 #define RGB_MATRIX_LED_FLUSH_LIMIT 16
72 #define RGB_MATRIX_STARTUP_VAL 150
73 #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200
74 #endif
75
76/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
77#define DEBOUNCE 5
78
79/* define if matrix has ghost (lacks anti-ghosting diodes) */
80//#define MATRIX_HAS_GHOST
81
82/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
83#define LOCKING_SUPPORT_ENABLE
84/* Locking resynchronize hack */
85#define LOCKING_RESYNC_ENABLE
86
87/* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
88 * This is userful for the Windows task manager shortcut (ctrl+shift+esc).
89 */
90// #define GRAVE_ESC_CTRL_OVERRIDE
91
92/*
93 * Force NKRO
94 *
95 * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
96 * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
97 * makefile for this to work.)
98 *
99 * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
100 * until the next keyboard reset.
101 *
102 * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
103 * fully operational during normal computer usage.
104 *
105 * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
106 * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
107 * bootmagic, NKRO mode will always be enabled until it is toggled again during a
108 * power-up.
109 *
110 */
111//#define FORCE_NKRO
112
113/*
114 * Feature disable options
115 * These options are also useful to firmware size reduction.
116 */
117
118/* disable debug print */
119//#define NO_DEBUG
120
121/* disable print */
122//#define NO_PRINT
123
124/* disable action features */
125//#define NO_ACTION_LAYER
126//#define NO_ACTION_TAPPING
127//#define NO_ACTION_ONESHOT
128//#define NO_ACTION_MACRO
129//#define NO_ACTION_FUNCTION
130
131
132/* Bootmagic Lite key configuration */
133// #define BOOTMAGIC_LITE_ROW 0
134// #define BOOTMAGIC_LITE_COLUMN 0
diff --git a/keyboards/eek/eek.c b/keyboards/eek/eek.c
new file mode 100644
index 000000000..372956257
--- /dev/null
+++ b/keyboards/eek/eek.c
@@ -0,0 +1,55 @@
1/* Copyright 2020 klackygears
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 "eek.h"
17
18#ifdef RGB_MATRIX_ENABLE
19
20 // Logical Layout
21 // Columns
22 // 0 1 2 3 4
23 // ROWS
24 // 4 3 2 1 0 0
25 // 5 6 7 8 9 1
26 // 14 13 12 11 10 2
27 // 15 16 17 3
28
29 // Logical Layout v1.3
30 // Columns
31 // 0 1 2 3 4 5 6 7 8 9
32 // ROWS
33 // 0 1 2 3 4 5 6 7 8 9 0
34 // 19 18 17 16 15 14 13 12 11 10 1
35 // 20 21 22 23 24 25 26 27 28 29 2
36 // 35 34 33 32 31 30 3
37
38
39led_config_t g_led_config = { {
40 { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 },
41 { 19, 18, 17, 16, 15, 14, 13, 12, 11, 10 },
42 { 20, 21, 22, 23, 24, 25, 26, 27, 28, 29 },
43 { NO_LED, NO_LED, 35, 34, 33, 32, 31, 30, NO_LED, NO_LED }
44}, {
45 { 31, 0 }, { 46, 0 }, { 62, 0 }, { 77, 7 }, { 93, 13 }, { 131, 13 }, { 147, 7 }, { 162, 0 }, { 178, 0 }, { 193, 0 },
46 { 201, 10 }, { 185, 10 }, { 170, 10 }, { 154, 17 }, { 139, 24 }, { 85, 24 }, { 70, 17 }, { 54, 10 }, { 39, 10 }, { 23, 10 },
47 { 15, 20 }, { 31, 20 }, { 46, 20 }, { 62, 27 }, { 77, 34 }, { 147, 34 }, { 162, 27 }, { 178, 20 }, { 193, 20 }, { 209, 20 },
48 { 185, 34 }, { 170, 37 }, { 154, 44 }, { 70, 44 }, { 54, 37 }, { 39, 34 },
49}, {
50 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
51 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
52 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
53 1, 1, 1, 1, 1, 1,
54} };
55#endif
diff --git a/keyboards/eek/eek.h b/keyboards/eek/eek.h
new file mode 100644
index 000000000..4e4133d88
--- /dev/null
+++ b/keyboards/eek/eek.h
@@ -0,0 +1,24 @@
1/* Copyright 2020 klackygears
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#pragma once
17
18#include "quantum.h"
19
20#if defined(KEYBOARD_eek_silk_down)
21# include "silk_down.h"
22#elif defined(KEYBOARD_eek_silk_up)
23# include "silk_up.h"
24#endif
diff --git a/keyboards/eek/info.json b/keyboards/eek/info.json
new file mode 100644
index 000000000..c911e50c7
--- /dev/null
+++ b/keyboards/eek/info.json
@@ -0,0 +1,56 @@
1{
2 "keyboard_name": "eek!",
3 "url": "http://www.keyboard-layout-editor.com/#/gists/3e4d0cd1534dd4e4b9f25cf2b36d0d63",
4 "maintainer": "klackygears",
5 "width": 13,
6 "height": 6.25,
7 "layouts": {
8 "LAYOUT_split_3x5_3": {
9 "layout": [
10 {"x": 0, "y": 0.88},
11 {"x": 1, "y": 0.38},
12 {"x": 2, "y": 0},
13 {"x": 3, "y": 0.38},
14 {"x": 4, "y": 0.5},
15
16 {"x": 6, "y": 0.5},
17 {"x": 7, "y": 0.38},
18 {"x": 8, "y": 0},
19 {"x": 9, "y": 0.38},
20 {"x": 10, "y": 0.88},
21
22 {"x": 0, "y": 1.88},
23 {"x": 1, "y": 1.38},
24 {"x": 2, "y": 1},
25 {"x": 3, "y": 1.38},
26 {"x": 4, "y": 1.5},
27
28 {"x": 6, "y": 1.5},
29 {"x": 7, "y": 1.38},
30 {"x": 8, "y": 1.0},
31 {"x": 9, "y": 1.38},
32 {"x": 10, "y": 1.88},
33
34 {"x": 0, "y": 2.88},
35 {"x": 1, "y": 2.38},
36 {"x": 2, "y": 2},
37 {"x": 3, "y": 2.38},
38 {"x": 4, "y": 2.5},
39
40 {"x": 6, "y": 2.5},
41 {"x": 7, "y": 2.38},
42 {"x": 8, "y": 2},
43 {"x": 9, "y": 2.38},
44 {"x": 10, "y": 2.88},
45
46 {"x": 2, "y": 3.25},
47 {"x": 3, "y": 3.38},
48 {"x": 4, "y": 3.5},
49
50 {"x": 6, "y": 3.5},
51 {"x": 7, "y": 3.38},
52 {"x": 8, "y": 3.25}
53 ]
54 }
55 }
56}
diff --git a/keyboards/eek/keymaps/default/keymap.c b/keyboards/eek/keymaps/default/keymap.c
new file mode 100644
index 000000000..ad8f9688a
--- /dev/null
+++ b/keyboards/eek/keymaps/default/keymap.c
@@ -0,0 +1,72 @@
1/* Copyright 2020 klackygears
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
18enum layer_names {
19 _BASE,
20 _LOWER,
21 _RAISE,
22 _ADJUST
23};
24
25
26const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
27
28/* Qwerty
29 *
30 * ,----------------------------------. ,----------------------------------.
31 * | Q | W | E | R | T | | Y | U | I | O | P |
32 * |------+------+------+------+------| |------+------+------+------+------|
33 * | A | S | D | F | G | | H | J | K | L | ; |
34 * |------+------+------+------+------| |------+------+------+------+------|
35 * | Z | X | C | V | B | | N | M | , | . | / |
36 * `-------------+------+------+------| |------+------+------+-------------'
37 * | Ctrl | LOWER| Space| |BckSpc| RAISE| Shift|
38 * `--------------------' `--------------------'
39 *
40 */
41 [_BASE] = LAYOUT_split_3x5_3(
42 KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P,
43 KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN,
44 KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH,
45 KC_LCTL, MO(_LOWER), KC_SPC, KC_BSPC, MO(_RAISE), OSM(MOD_LSFT)
46 ),
47
48 [_LOWER] = LAYOUT_split_3x5_3(
49 KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN,
50 KC_ESC, _______, _______, _______, _______, _______, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR,
51 KC_CAPS, KC_TILD, _______, _______, _______, _______, _______, _______, KC_PIPE, KC_DQT,
52 _______, _______, _______, KC_ENT, _______, KC_DEL
53),
54
55 [_RAISE] = LAYOUT_split_3x5_3(
56 KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0,
57 KC_TAB, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC,
58 KC_LCTL, KC_GRV, KC_LGUI, KC_LALT, _______, _______, _______, _______, KC_BSLS, KC_QUOT,
59 _______, _______, _______, _______, _______, _______
60 ),
61
62 [_ADJUST] = LAYOUT_split_3x5_3(
63 RGB_VAI, RGB_SAI, RGB_HUI, RGB_MOD, RGB_TOG, _______, KC_F9, KC_F10, KC_F11, KC_F12,
64 RGB_VAD, RGB_SAD, RGB_HUD, RGB_RMOD, _______, _______, KC_F5, KC_F6, KC_F7, KC_F8,
65 _______, _______, _______, _______, _______, RESET, KC_F1, KC_F2, KC_F3, KC_F4,
66 _______, _______, _______, _______, _______, _______
67 ),
68};
69
70layer_state_t layer_state_set_user(layer_state_t state) {
71 return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST);
72}
diff --git a/keyboards/eek/keymaps/default/readme.md b/keyboards/eek/keymaps/default/readme.md
new file mode 100644
index 000000000..fe83fd2c5
--- /dev/null
+++ b/keyboards/eek/keymaps/default/readme.md
@@ -0,0 +1 @@
# The default keymap for eek!
diff --git a/keyboards/eek/keymaps/ledtest/keymap.c b/keyboards/eek/keymaps/ledtest/keymap.c
new file mode 100644
index 000000000..8b046223c
--- /dev/null
+++ b/keyboards/eek/keymaps/ledtest/keymap.c
@@ -0,0 +1,92 @@
1/* Copyright 2020 klackygears
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
18enum layer_names {
19 _QUERTY,
20 _LOWER,
21 _RAISE,
22 _ADJUST
23};
24
25enum custom_keycodes {
26 RGBRST = SAFE_RANGE
27};
28
29
30
31const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
32
33/* Qwerty
34 *
35 * ,----------------------------------. ,------------------------------------------------------------------------------.
36 * | Q | W | E | R | T | | RGB reset|Hue increase|Saturation increase|Brightness increase|Speed increase|
37 * |------+------+------+------+------| |----------+------------+-------------------+-------------------+--------------|
38 * | A | S | D | F | G | | RGB Mode |Hue decrease|Saturation decrease|Brightness decrease|Speed decrease|
39 * |------+------+------+------+------| |----------+------------+-------------------+-------------------+--------------|
40 * | Z | X | C | V | B | |RGB Toggle| M | , | . | / |
41 * `-------------+------+------+------| |----------+------------+-------------------+----------------------------------'
42 * | Ctrl | LOWER| Space| | BckSpc | RAISE | Shift |
43 * `--------------------' `-------------------------------------------'
44 *
45 */
46 [_QUERTY] = LAYOUT_split_3x5_3(
47 KC_Q, KC_W, KC_E, KC_R, KC_T, RGBRST, RGB_HUI, RGB_SAI, RGB_VAI, RGB_SPI,
48 KC_A, KC_S, KC_D, KC_F, KC_G, RGB_MOD, RGB_HUD, RGB_SAD, RGB_VAD, RGB_SPD,
49 KC_Z, KC_X, KC_C, KC_V, KC_B, RGB_TOG, KC_M, KC_COMM, KC_DOT, KC_SLSH,
50 KC_LCTL, MO(_LOWER), KC_SPC, KC_BSPC, MO(_RAISE), OSM(MOD_LSFT)
51 ),
52
53 [_LOWER] = LAYOUT_split_3x5_3(
54 KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN,
55 KC_ESC, _______, _______, _______, _______, _______, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR,
56 KC_CAPS, KC_TILD, _______, _______, _______, _______, _______, _______, KC_PIPE, KC_DQT,
57 _______, _______, _______, KC_ENT, _______, KC_DEL
58),
59
60 [_RAISE] = LAYOUT_split_3x5_3(
61 KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0,
62 KC_TAB, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC,
63 KC_LCTL, KC_GRV, KC_LGUI, KC_LALT, _______, _______, _______, _______, KC_BSLS, KC_QUOT,
64 _______, _______, _______, _______, _______, _______
65 ),
66
67 [_ADJUST] = LAYOUT_split_3x5_3(
68 RGB_VAI, RGB_SAI, RGB_HUI, RGB_MOD, RGB_TOG, _______, KC_F9, KC_F10, KC_F11, KC_F12,
69 RGB_VAD, RGB_SAD, RGB_HUD, RGB_RMOD, _______, _______, KC_F5, KC_F6, KC_F7, KC_F8,
70 _______, _______, _______, _______, _______, RESET, KC_F1, KC_F2, KC_F3, KC_F4,
71 _______, _______, _______, _______, _______, _______
72 ),
73};
74
75layer_state_t layer_state_set_user(layer_state_t state) {
76 return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST);
77}
78
79bool process_record_user(uint16_t keycode, keyrecord_t *record) {
80
81 switch (keycode) {
82 case RGBRST:
83 #ifdef RGBLIGHT_ENABLE
84 if (record->event.pressed) {
85 eeconfig_update_rgblight_default();
86 rgblight_enable();
87 }
88 #endif
89 break;
90 }
91 return true;
92}
diff --git a/keyboards/eek/keymaps/ledtest/rules.mk b/keyboards/eek/keymaps/ledtest/rules.mk
new file mode 100644
index 000000000..92a83337a
--- /dev/null
+++ b/keyboards/eek/keymaps/ledtest/rules.mk
@@ -0,0 +1,2 @@
1#RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
2RGB_MATRIX_ENABLE = yes # Enable for pretty RGB matrix effects
diff --git a/keyboards/eek/readme.md b/keyboards/eek/readme.md
new file mode 100644
index 000000000..89c6deb3b
--- /dev/null
+++ b/keyboards/eek/readme.md
@@ -0,0 +1,25 @@
1# eek!
2
3![eek](https://i.imgur.com/34O3xKWl.jpg)
4
5The eek! is a 36 key per key RGB keyboard with a 90 degree split layout suited for travel and typing close to the body. It uses a Pro Micro or an Elite C and can be soldered low profile using castilated pads. The PCB can be flipped so that the silk is on top and the USB plugin can face to the right or left. The keyboard is compatible with MX, Alps, and Choc style switches. It can use SMD or through hole diodes. The per key RGB LEDs used in the build are the SK6812 Mini E (these can also be flipped). The eek! can be used without a case if you choose for a very low profile keyboard.
6
7When flashing the eek! with the bat side up follow the second example below and use: make eek/silk_up:default
8
9![eek_bat](https://i.imgur.com/YrOqmft.jpeg)
10
11* Keyboard Maintainer: [klackygears](https://github.com/klackygears)
12* Hardware Supported: The eek! PCBs, Pro Micro supported, Low Profile Elite-C supported
13* Hardware Availability: [Case Data & firmware](https://github.com/klackygears/eek_doc)
14
15Make example for this keyboard (after setting up your build environment):
16
17 make eek:default
18 make eek/silk_up:default
19
20Flashing example for this keyboard:
21
22 make eek:default:flash
23 make eek/silk_up:default:flash
24
25See 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/eek/rules.mk b/keyboards/eek/rules.mk
new file mode 100644
index 000000000..ce3df8f21
--- /dev/null
+++ b/keyboards/eek/rules.mk
@@ -0,0 +1,25 @@
1# MCU name
2MCU = atmega32u4
3
4# Bootloader selection
5BOOTLOADER = qmk-dfu
6
7# Build Options
8# change yes to no to disable
9#
10BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
11MOUSEKEY_ENABLE = no # Mouse keys
12EXTRAKEY_ENABLE = yes # Audio control and System control
13CONSOLE_ENABLE = yes # Console for debug
14COMMAND_ENABLE = yes # 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 = no # Enable keyboard RGB underglow
21BLUETOOTH_ENABLE = no # Enable Bluetooth
22AUDIO_ENABLE = no # Audio output
23RGB_MATRIX_DRIVER = WS2812
24DEFAULT_FOLDER = eek/silk_down
25LAYOUTS = split_3x5_3
diff --git a/keyboards/eek/silk_down/readme.md b/keyboards/eek/silk_down/readme.md
new file mode 100644
index 000000000..12e250f71
--- /dev/null
+++ b/keyboards/eek/silk_down/readme.md
@@ -0,0 +1,13 @@
1# eek!
2
3This is the default layout for the eek! The silkscreen with the bat and the eek! text will face down. See the picture and the flashing example.
4
5![eek](https://i.imgur.com/34O3xKW.jpg)
6
7Make example for this keyboard (after setting up your build environment):
8
9 make eek:default
10
11Flashing example for this keyboard:
12
13 make eek:default:flash
diff --git a/keyboards/eek/silk_down/rules.mk b/keyboards/eek/silk_down/rules.mk
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/keyboards/eek/silk_down/rules.mk
diff --git a/keyboards/eek/silk_down/silk_down.h b/keyboards/eek/silk_down/silk_down.h
new file mode 100644
index 000000000..c8ececd93
--- /dev/null
+++ b/keyboards/eek/silk_down/silk_down.h
@@ -0,0 +1,39 @@
1/* Copyright 2020 klackygears
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#pragma once
17
18#include "eek.h"
19
20/* This a shortcut to help you visually see your layout.
21 *
22 * The first section contains all of the arguments representing the physical
23 * layout of the board and position of the keys.
24 *
25 * The second converts the arguments into a two-dimensional array which
26 * represents the switch matrix.
27 */
28#define LAYOUT_split_3x5_3( \
29 K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \
30 K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \
31 K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \
32 K32, K33, K34, K35, K36, K37 \
33) \
34{ \
35 { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09 }, \
36 { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19 }, \
37 { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29 }, \
38 { KC_NO, KC_NO, K32, K33, K34, K35, K36, K37, KC_NO, KC_NO } \
39}
diff --git a/keyboards/eek/silk_up/readme.md b/keyboards/eek/silk_up/readme.md
new file mode 100644
index 000000000..1b24b9545
--- /dev/null
+++ b/keyboards/eek/silk_up/readme.md
@@ -0,0 +1,14 @@
1# eek!
2
3This is the alternate layout for the eek! The silkscreen with the bat and eek! text will face up. See the picture and the flashing example.
4
5![eek_bat](https://i.imgur.com/YrOqmft.jpeg)
6
7Make example for this keyboard (after setting up your build environment):
8
9 make eek/silk_up:default
10
11Flashing example for this keyboard:
12
13 make eek/silk_up:default:flash
14 \ No newline at end of file
diff --git a/keyboards/eek/silk_up/rules.mk b/keyboards/eek/silk_up/rules.mk
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/keyboards/eek/silk_up/rules.mk
diff --git a/keyboards/eek/silk_up/silk_up.h b/keyboards/eek/silk_up/silk_up.h
new file mode 100644
index 000000000..8b9fe3959
--- /dev/null
+++ b/keyboards/eek/silk_up/silk_up.h
@@ -0,0 +1,39 @@
1/* Copyright 2020 klackygears
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#pragma once
17
18#include "eek.h"
19
20/* This a shortcut to help you visually see your layout.
21 *
22 * The first section contains all of the arguments representing the physical
23 * layout of the board and position of the keys.
24 *
25 * The second converts the arguments into a two-dimensional array which
26 * represents the switch matrix.
27 */
28#define LAYOUT_split_3x5_3( \
29 K09, K08, K07, K06, K05, K04, K03, K02, K01, K00, \
30 K19, K18, K17, K16, K15, K14, K13, K12, K11, K10, \
31 K29, K28, K27, K26, K25, K24, K23, K22, K21, K20, \
32 K37, K36, K35, K34, K33, K32 \
33) \
34{ \
35 { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09 }, \
36 { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19 }, \
37 { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29 }, \
38 { KC_NO, KC_NO, K32, K33, K34, K35, K36, K37, KC_NO, KC_NO } \
39}