diff options
author | James Smith <bronzegears@gmail.com> | 2020-12-07 14:07:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-07 19:07:25 +0000 |
commit | 9346bd6f805eb4229d58169ee0508acdcd8f666b (patch) | |
tree | 2edf6c8b6e0778737e3f9d8a11483d0a834521db /keyboards/eek | |
parent | a5a1f860c0ddab56500a36a819f9c6b77f02f576 (diff) |
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.h | 134 | ||||
-rw-r--r-- | keyboards/eek/eek.c | 55 | ||||
-rw-r--r-- | keyboards/eek/eek.h | 24 | ||||
-rw-r--r-- | keyboards/eek/info.json | 56 | ||||
-rw-r--r-- | keyboards/eek/keymaps/default/keymap.c | 72 | ||||
-rw-r--r-- | keyboards/eek/keymaps/default/readme.md | 1 | ||||
-rw-r--r-- | keyboards/eek/keymaps/ledtest/keymap.c | 92 | ||||
-rw-r--r-- | keyboards/eek/keymaps/ledtest/rules.mk | 2 | ||||
-rw-r--r-- | keyboards/eek/readme.md | 25 | ||||
-rw-r--r-- | keyboards/eek/rules.mk | 25 | ||||
-rw-r--r-- | keyboards/eek/silk_down/readme.md | 13 | ||||
-rw-r--r-- | keyboards/eek/silk_down/rules.mk | 0 | ||||
-rw-r--r-- | keyboards/eek/silk_down/silk_down.h | 39 | ||||
-rw-r--r-- | keyboards/eek/silk_up/readme.md | 14 | ||||
-rw-r--r-- | keyboards/eek/silk_up/rules.mk | 0 | ||||
-rw-r--r-- | keyboards/eek/silk_up/silk_up.h | 39 |
16 files changed, 591 insertions, 0 deletions
diff --git a/keyboards/eek/config.h b/keyboards/eek/config.h new file mode 100644 index 0000000000..d8a949269e --- /dev/null +++ b/keyboards/eek/config.h @@ -0,0 +1,134 @@ +/* +Copyright 2020 klackygears + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + +#pragma once + +#include "config_common.h" + +/* USB Device descriptor parameter */ +#define VENDOR_ID 0x4A53 +#define PRODUCT_ID 0x0002 +#define DEVICE_VER 0x0004 +#define MANUFACTURER klackygears +#define PRODUCT eek! + +/* key matrix size */ +#define MATRIX_ROWS 4 +#define MATRIX_COLS 10 + +#define MATRIX_ROW_PINS { D7, E6, B4, B5 } +#define MATRIX_COL_PINS { D4, C6, B6, B2, B3, B1, F7, F6, F5, F4 } + +#define UNUSED_PINS { D2, D1, D0 } + +#define DIODE_DIRECTION COL2ROW + + + #define RGB_DI_PIN D3 +#ifdef RGB_DI_PIN + #define RGBLED_NUM 36 + #define RGBLIGHT_HUE_STEP 4 + #define RGBLIGHT_SAT_STEP 8 + #define RGBLIGHT_VAL_STEP 8 + #define RGBLIGHT_LIMIT_VAL 200 /* The maximum brightness level */ + #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ +/*== all animations enable ==*/ + #define RGBLIGHT_ANIMATIONS +// /*== or choose animations ==*/ +// #define RGBLIGHT_EFFECT_BREATHING +// #define RGBLIGHT_EFFECT_RAINBOW_MOOD +// #define RGBLIGHT_EFFECT_RAINBOW_SWIRL +// #define RGBLIGHT_EFFECT_SNAKE +// #define RGBLIGHT_EFFECT_KNIGHT +// #define RGBLIGHT_EFFECT_CHRISTMAS +// #define RGBLIGHT_EFFECT_STATIC_GRADIENT +// #define RGBLIGHT_EFFECT_RGB_TEST +// #define RGBLIGHT_EFFECT_ALTERNATING +// /*== customize breathing effect ==*/ +// /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/ +// #define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64 +// /*==== use exp() and sin() ====*/ +// #define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7 +// #define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 + #endif + + #ifdef RGB_MATRIX_ENABLE + #define DRIVER_LED_TOTAL 36 + #define RGB_MATRIX_LED_FLUSH_LIMIT 16 + #define RGB_MATRIX_STARTUP_VAL 150 + #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 + #endif + +/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ +#define DEBOUNCE 5 + +/* define if matrix has ghost (lacks anti-ghosting diodes) */ +//#define MATRIX_HAS_GHOST + +/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ +#define LOCKING_SUPPORT_ENABLE +/* Locking resynchronize hack */ +#define LOCKING_RESYNC_ENABLE + +/* If defined, GRAVE_ESC will always act as ESC when CTRL is held. + * This is userful for the Windows task manager shortcut (ctrl+shift+esc). + */ +// #define GRAVE_ESC_CTRL_OVERRIDE + +/* + * Force NKRO + * + * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved + * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the + * makefile for this to work.) + * + * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) + * until the next keyboard reset. + * + * NKRO may prevent your keystrokes from being detected in the BIOS, but it is + * fully operational during normal computer usage. + * + * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) + * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by + * bootmagic, NKRO mode will always be enabled until it is toggled again during a + * power-up. + * + */ +//#define FORCE_NKRO + +/* + * Feature disable options + * These options are also useful to firmware size reduction. + */ + +/* disable debug print */ +//#define NO_DEBUG + +/* disable print */ +//#define NO_PRINT + +/* disable action features */ +//#define NO_ACTION_LAYER +//#define NO_ACTION_TAPPING +//#define NO_ACTION_ONESHOT +//#define NO_ACTION_MACRO +//#define NO_ACTION_FUNCTION + + +/* Bootmagic Lite key configuration */ +// #define BOOTMAGIC_LITE_ROW 0 +// #define BOOTMAGIC_LITE_COLUMN 0 diff --git a/keyboards/eek/eek.c b/keyboards/eek/eek.c new file mode 100644 index 0000000000..372956257a --- /dev/null +++ b/keyboards/eek/eek.c @@ -0,0 +1,55 @@ +/* Copyright 2020 klackygears + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ +#include "eek.h" + +#ifdef RGB_MATRIX_ENABLE + + // Logical Layout + // Columns + // 0 1 2 3 4 + // ROWS + // 4 3 2 1 0 0 + // 5 6 7 8 9 1 + // 14 13 12 11 10 2 + // 15 16 17 3 + + // Logical Layout v1.3 + // Columns + // 0 1 2 3 4 5 6 7 8 9 + // ROWS + // 0 1 2 3 4 5 6 7 8 9 0 + // 19 18 17 16 15 14 13 12 11 10 1 + // 20 21 22 23 24 25 26 27 28 29 2 + // 35 34 33 32 31 30 3 + + +led_config_t g_led_config = { { + { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }, + { 19, 18, 17, 16, 15, 14, 13, 12, 11, 10 }, + { 20, 21, 22, 23, 24, 25, 26, 27, 28, 29 }, + { NO_LED, NO_LED, 35, 34, 33, 32, 31, 30, NO_LED, NO_LED } +}, { + { 31, 0 }, { 46, 0 }, { 62, 0 }, { 77, 7 }, { 93, 13 }, { 131, 13 }, { 147, 7 }, { 162, 0 }, { 178, 0 }, { 193, 0 }, + { 201, 10 }, { 185, 10 }, { 170, 10 }, { 154, 17 }, { 139, 24 }, { 85, 24 }, { 70, 17 }, { 54, 10 }, { 39, 10 }, { 23, 10 }, + { 15, 20 }, { 31, 20 }, { 46, 20 }, { 62, 27 }, { 77, 34 }, { 147, 34 }, { 162, 27 }, { 178, 20 }, { 193, 20 }, { 209, 20 }, + { 185, 34 }, { 170, 37 }, { 154, 44 }, { 70, 44 }, { 54, 37 }, { 39, 34 }, +}, { + 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, + 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, + 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, + 1, 1, 1, 1, 1, 1, +} }; +#endif diff --git a/keyboards/eek/eek.h b/keyboards/eek/eek.h new file mode 100644 index 0000000000..4e4133d884 --- /dev/null +++ b/keyboards/eek/eek.h @@ -0,0 +1,24 @@ +/* Copyright 2020 klackygears + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ +#pragma once + +#include "quantum.h" + +#if defined(KEYBOARD_eek_silk_down) +# include "silk_down.h" +#elif defined(KEYBOARD_eek_silk_up) +# include "silk_up.h" +#endif diff --git a/keyboards/eek/info.json b/keyboards/eek/info.json new file mode 100644 index 0000000000..c911e50c7d --- /dev/null +++ b/keyboards/eek/info.json @@ -0,0 +1,56 @@ +{ + "keyboard_name": "eek!", + "url": "http://www.keyboard-layout-editor.com/#/gists/3e4d0cd1534dd4e4b9f25cf2b36d0d63", + "maintainer": "klackygears", + "width": 13, + "height": 6.25, + "layouts": { + "LAYOUT_split_3x5_3": { + "layout": [ + {"x": 0, "y": 0.88}, + {"x": 1, "y": 0.38}, + {"x": 2, "y": 0}, + {"x": 3, "y": 0.38}, + {"x": 4, "y": 0.5}, + + {"x": 6, "y": 0.5}, + {"x": 7, "y": 0.38}, + {"x": 8, "y": 0}, + {"x": 9, "y": 0.38}, + {"x": 10, "y": 0.88}, + + {"x": 0, "y": 1.88}, + {"x": 1, "y": 1.38}, + {"x": 2, "y": 1}, + {"x": 3, "y": 1.38}, + {"x": 4, "y": 1.5}, + + {"x": 6, "y": 1.5}, + {"x": 7, "y": 1.38}, + {"x": 8, "y": 1.0}, + {"x": 9, "y": 1.38}, + {"x": 10, "y": 1.88}, + + {"x": 0, "y": 2.88}, + {"x": 1, "y": 2.38}, + {"x": 2, "y": 2}, + {"x": 3, "y": 2.38}, + {"x": 4, "y": 2.5}, + + {"x": 6, "y": 2.5}, + {"x": 7, "y": 2.38}, + {"x": 8, "y": 2}, + {"x": 9, "y": 2.38}, + {"x": 10, "y": 2.88}, + + {"x": 2, "y": 3.25}, + {"x": 3, "y": 3.38}, + {"x": 4, "y": 3.5}, + + {"x": 6, "y": 3.5}, + {"x": 7, "y": 3.38}, + {"x": 8, "y": 3.25} + ] + } + } +} diff --git a/keyboards/eek/keymaps/default/keymap.c b/keyboards/eek/keymaps/default/keymap.c new file mode 100644 index 0000000000..ad8f9688ab --- /dev/null +++ b/keyboards/eek/keymaps/default/keymap.c @@ -0,0 +1,72 @@ +/* Copyright 2020 klackygears + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ +#include QMK_KEYBOARD_H + +enum layer_names { + _BASE, + _LOWER, + _RAISE, + _ADJUST +}; + + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + +/* Qwerty + * + * ,----------------------------------. ,----------------------------------. + * | Q | W | E | R | T | | Y | U | I | O | P | + * |------+------+------+------+------| |------+------+------+------+------| + * | A | S | D | F | G | | H | J | K | L | ; | + * |------+------+------+------+------| |------+------+------+------+------| + * | Z | X | C | V | B | | N | M | , | . | / | + * `-------------+------+------+------| |------+------+------+-------------' + * | Ctrl | LOWER| Space| |BckSpc| RAISE| Shift| + * `--------------------' `--------------------' + * + */ + [_BASE] = LAYOUT_split_3x5_3( + KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, + KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, + KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, + KC_LCTL, MO(_LOWER), KC_SPC, KC_BSPC, MO(_RAISE), OSM(MOD_LSFT) + ), + + [_LOWER] = LAYOUT_split_3x5_3( + KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, + KC_ESC, _______, _______, _______, _______, _______, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, + KC_CAPS, KC_TILD, _______, _______, _______, _______, _______, _______, KC_PIPE, KC_DQT, + _______, _______, _______, KC_ENT, _______, KC_DEL +), + + [_RAISE] = LAYOUT_split_3x5_3( + KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, + KC_TAB, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, + KC_LCTL, KC_GRV, KC_LGUI, KC_LALT, _______, _______, _______, _______, KC_BSLS, KC_QUOT, + _______, _______, _______, _______, _______, _______ + ), + + [_ADJUST] = LAYOUT_split_3x5_3( + RGB_VAI, RGB_SAI, RGB_HUI, RGB_MOD, RGB_TOG, _______, KC_F9, KC_F10, KC_F11, KC_F12, + RGB_VAD, RGB_SAD, RGB_HUD, RGB_RMOD, _______, _______, KC_F5, KC_F6, KC_F7, KC_F8, + _______, _______, _______, _______, _______, RESET, KC_F1, KC_F2, KC_F3, KC_F4, + _______, _______, _______, _______, _______, _______ + ), +}; + +layer_state_t layer_state_set_user(layer_state_t state) { + return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST); +} diff --git a/keyboards/eek/keymaps/default/readme.md b/keyboards/eek/keymaps/default/readme.md new file mode 100644 index 0000000000..fe83fd2c55 --- /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 0000000000..8b046223c7 --- /dev/null +++ b/keyboards/eek/keymaps/ledtest/keymap.c @@ -0,0 +1,92 @@ +/* Copyright 2020 klackygears + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ +#include QMK_KEYBOARD_H + +enum layer_names { + _QUERTY, + _LOWER, + _RAISE, + _ADJUST +}; + +enum custom_keycodes { + RGBRST = SAFE_RANGE +}; + + + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + +/* Qwerty + * + * ,----------------------------------. ,------------------------------------------------------------------------------. + * | Q | W | E | R | T | | RGB reset|Hue increase|Saturation increase|Brightness increase|Speed increase| + * |------+------+------+------+------| |----------+------------+-------------------+-------------------+--------------| + * | A | S | D | F | G | | RGB Mode |Hue decrease|Saturation decrease|Brightness decrease|Speed decrease| + * |------+------+------+------+------| |----------+------------+-------------------+-------------------+--------------| + * | Z | X | C | V | B | |RGB Toggle| M | , | . | / | + * `-------------+------+------+------| |----------+------------+-------------------+----------------------------------' + * | Ctrl | LOWER| Space| | BckSpc | RAISE | Shift | + * `--------------------' `-------------------------------------------' + * + */ + [_QUERTY] = LAYOUT_split_3x5_3( + KC_Q, KC_W, KC_E, KC_R, KC_T, RGBRST, RGB_HUI, RGB_SAI, RGB_VAI, RGB_SPI, + KC_A, KC_S, KC_D, KC_F, KC_G, RGB_MOD, RGB_HUD, RGB_SAD, RGB_VAD, RGB_SPD, + KC_Z, KC_X, KC_C, KC_V, KC_B, RGB_TOG, KC_M, KC_COMM, KC_DOT, KC_SLSH, + KC_LCTL, MO(_LOWER), KC_SPC, KC_BSPC, MO(_RAISE), OSM(MOD_LSFT) + ), + + [_LOWER] = LAYOUT_split_3x5_3( + KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, + KC_ESC, _______, _______, _______, _______, _______, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, + KC_CAPS, KC_TILD, _______, _______, _______, _______, _______, _______, KC_PIPE, KC_DQT, + _______, _______, _______, KC_ENT, _______, KC_DEL +), + + [_RAISE] = LAYOUT_split_3x5_3( + KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, + KC_TAB, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, + KC_LCTL, KC_GRV, KC_LGUI, KC_LALT, _______, _______, _______, _______, KC_BSLS, KC_QUOT, + _______, _______, _______, _______, _______, _______ + ), + + [_ADJUST] = LAYOUT_split_3x5_3( + RGB_VAI, RGB_SAI, RGB_HUI, RGB_MOD, RGB_TOG, _______, KC_F9, KC_F10, KC_F11, KC_F12, + RGB_VAD, RGB_SAD, RGB_HUD, RGB_RMOD, _______, _______, KC_F5, KC_F6, KC_F7, KC_F8, + _______, _______, _______, _______, _______, RESET, KC_F1, KC_F2, KC_F3, KC_F4, + _______, _______, _______, _______, _______, _______ + ), +}; + +layer_state_t layer_state_set_user(layer_state_t state) { + return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST); +} + +bool process_record_user(uint16_t keycode, keyrecord_t *record) { + + switch (keycode) { + case RGBRST: + #ifdef RGBLIGHT_ENABLE + if (record->event.pressed) { + eeconfig_update_rgblight_default(); + rgblight_enable(); + } + #endif + break; + } + return true; +} diff --git a/keyboards/eek/keymaps/ledtest/rules.mk b/keyboards/eek/keymaps/ledtest/rules.mk new file mode 100644 index 0000000000..92a83337a0 --- /dev/null +++ b/keyboards/eek/keymaps/ledtest/rules.mk @@ -0,0 +1,2 @@ +#RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow +RGB_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 0000000000..89c6deb3b2 --- /dev/null +++ b/keyboards/eek/readme.md @@ -0,0 +1,25 @@ +# eek! + +![eek](https://i.imgur.com/34O3xKWl.jpg) + +The 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. + +When flashing the eek! with the bat side up follow the second example below and use: make eek/silk_up:default + +![eek_bat](https://i.imgur.com/YrOqmft.jpeg) + +* Keyboard Maintainer: [klackygears](https://github.com/klackygears) +* Hardware Supported: The eek! PCBs, Pro Micro supported, Low Profile Elite-C supported +* Hardware Availability: [Case Data & firmware](https://github.com/klackygears/eek_doc) + +Make example for this keyboard (after setting up your build environment): + + make eek:default + make eek/silk_up:default + +Flashing example for this keyboard: + + make eek:default:flash + make eek/silk_up:default:flash + +See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/eek/rules.mk b/keyboards/eek/rules.mk new file mode 100644 index 0000000000..ce3df8f21f --- /dev/null +++ b/keyboards/eek/rules.mk @@ -0,0 +1,25 @@ +# MCU name +MCU = atmega32u4 + +# Bootloader selection +BOOTLOADER = qmk-dfu + +# Build Options +# change yes to no to disable +# +BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration +MOUSEKEY_ENABLE = no # Mouse keys +EXTRAKEY_ENABLE = yes # Audio control and System control +CONSOLE_ENABLE = yes # Console for debug +COMMAND_ENABLE = yes # Commands for debug and configuration +# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE +SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend +# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work +NKRO_ENABLE = no # USB Nkey Rollover +BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality +RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow +BLUETOOTH_ENABLE = no # Enable Bluetooth +AUDIO_ENABLE = no # Audio output +RGB_MATRIX_DRIVER = WS2812 +DEFAULT_FOLDER = eek/silk_down +LAYOUTS = split_3x5_3 diff --git a/keyboards/eek/silk_down/readme.md b/keyboards/eek/silk_down/readme.md new file mode 100644 index 0000000000..12e250f71b --- /dev/null +++ b/keyboards/eek/silk_down/readme.md @@ -0,0 +1,13 @@ +# eek! + +This 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. + +![eek](https://i.imgur.com/34O3xKW.jpg) + +Make example for this keyboard (after setting up your build environment): + + make eek:default + +Flashing example for this keyboard: + + 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 0000000000..e69de29bb2 --- /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 0000000000..c8ececd939 --- /dev/null +++ b/keyboards/eek/silk_down/silk_down.h @@ -0,0 +1,39 @@ +/* Copyright 2020 klackygears + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ +#pragma once + +#include "eek.h" + +/* This a shortcut to help you visually see your layout. + * + * The first section contains all of the arguments representing the physical + * layout of the board and position of the keys. + * + * The second converts the arguments into a two-dimensional array which + * represents the switch matrix. + */ +#define LAYOUT_split_3x5_3( \ + K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ + K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ + K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ + K32, K33, K34, K35, K36, K37 \ +) \ +{ \ + { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09 }, \ + { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19 }, \ + { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29 }, \ + { KC_NO, KC_NO, K32, K33, K34, K35, K36, K37, KC_NO, KC_NO } \ +} diff --git a/keyboards/eek/silk_up/readme.md b/keyboards/eek/silk_up/readme.md new file mode 100644 index 0000000000..1b24b95453 --- /dev/null +++ b/keyboards/eek/silk_up/readme.md @@ -0,0 +1,14 @@ +# eek! + +This 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. + +![eek_bat](https://i.imgur.com/YrOqmft.jpeg) + +Make example for this keyboard (after setting up your build environment): + + make eek/silk_up:default + +Flashing example for this keyboard: + + make eek/silk_up:default:flash +
\ 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 0000000000..e69de29bb2 --- /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 0000000000..8b9fe39596 --- /dev/null +++ b/keyboards/eek/silk_up/silk_up.h @@ -0,0 +1,39 @@ +/* Copyright 2020 klackygears + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ +#pragma once + +#include "eek.h" + +/* This a shortcut to help you visually see your layout. + * + * The first section contains all of the arguments representing the physical + * layout of the board and position of the keys. + * + * The second converts the arguments into a two-dimensional array which + * represents the switch matrix. + */ +#define LAYOUT_split_3x5_3( \ + K09, K08, K07, K06, K05, K04, K03, K02, K01, K00, \ + K19, K18, K17, K16, K15, K14, K13, K12, K11, K10, \ + K29, K28, K27, K26, K25, K24, K23, K22, K21, K20, \ + K37, K36, K35, K34, K33, K32 \ +) \ +{ \ + { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09 }, \ + { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19 }, \ + { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29 }, \ + { KC_NO, KC_NO, K32, K33, K34, K35, K36, K37, KC_NO, KC_NO } \ +} |