diff options
| -rw-r--r-- | keyboards/ergoslab/config.h | 28 | ||||
| -rw-r--r-- | keyboards/ergoslab/ergoslab.c | 1 | ||||
| -rw-r--r-- | keyboards/ergoslab/ergoslab.h | 7 | ||||
| -rw-r--r-- | keyboards/ergoslab/info.json | 66 | ||||
| -rw-r--r-- | keyboards/ergoslab/keymaps/default/config.h | 29 | ||||
| -rw-r--r-- | keyboards/ergoslab/keymaps/default/keymap.c | 73 | ||||
| -rw-r--r-- | keyboards/ergoslab/readme.md | 33 | ||||
| -rw-r--r-- | keyboards/ergoslab/rev1/config.h | 71 | ||||
| -rw-r--r-- | keyboards/ergoslab/rev1/rev1.c | 18 | ||||
| -rw-r--r-- | keyboards/ergoslab/rev1/rev1.h | 24 | ||||
| -rw-r--r-- | keyboards/ergoslab/rules.mk | 35 |
11 files changed, 385 insertions, 0 deletions
diff --git a/keyboards/ergoslab/config.h b/keyboards/ergoslab/config.h new file mode 100644 index 000000000..590b63c9d --- /dev/null +++ b/keyboards/ergoslab/config.h | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2019 Tom Saleeba <ergoslab@techotom.com> | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | #include "config_common.h" | ||
| 21 | |||
| 22 | #define MOUSEKEY_INTERVAL 16 | ||
| 23 | #define MOUSEKEY_DELAY 0 | ||
| 24 | #define MOUSEKEY_TIME_TO_MAX 40 | ||
| 25 | #define MOUSEKEY_MAX_SPEED 7 | ||
| 26 | #define MOUSEKEY_WHEEL_MAX_SPEED 4 | ||
| 27 | #define MOUSEKEY_WHEEL_TIME_TO_MAX 255 | ||
| 28 | #define MOUSEKEY_WHEEL_DELAY 0 | ||
diff --git a/keyboards/ergoslab/ergoslab.c b/keyboards/ergoslab/ergoslab.c new file mode 100644 index 000000000..6f2796c07 --- /dev/null +++ b/keyboards/ergoslab/ergoslab.c | |||
| @@ -0,0 +1 @@ | |||
| #include "ergoslab.h" | |||
diff --git a/keyboards/ergoslab/ergoslab.h b/keyboards/ergoslab/ergoslab.h new file mode 100644 index 000000000..8b0249054 --- /dev/null +++ b/keyboards/ergoslab/ergoslab.h | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #ifdef KEYBOARD_ergoslab_rev1 | ||
| 4 | #include "rev1.h" | ||
| 5 | #endif | ||
| 6 | |||
| 7 | #include "quantum.h" | ||
diff --git a/keyboards/ergoslab/info.json b/keyboards/ergoslab/info.json new file mode 100644 index 000000000..e24f0f1fc --- /dev/null +++ b/keyboards/ergoslab/info.json | |||
| @@ -0,0 +1,66 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "ergoslab", | ||
| 3 | "url": "https://github.com/tomsaleeba/ergoslab", | ||
| 4 | "maintainer": "tomsaleeba", | ||
| 5 | "width": 13, | ||
| 6 | "height": 5.25, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT_ergoslab": { | ||
| 9 | "key_count": 52, | ||
| 10 | "layout": [ | ||
| 11 | {"label":"Q", "x":0, "y":0.625}, | ||
| 12 | {"label":"W", "x":1, "y":0.125}, | ||
| 13 | {"label":"E", "x":2, "y":0}, | ||
| 14 | {"label":"R", "x":3, "y":0.125}, | ||
| 15 | {"label":"T", "x":4, "y":0.25}, | ||
| 16 | {"label":"Y", "x":8, "y":0.25}, | ||
| 17 | {"label":"U", "x":9, "y":0.125}, | ||
| 18 | {"label":"I", "x":10, "y":0}, | ||
| 19 | {"label":"O", "x":11, "y":0.125}, | ||
| 20 | {"label":"P", "x":12, "y":0.625}, | ||
| 21 | {"label":"A", "x":0, "y":1.625}, | ||
| 22 | {"label":"S", "x":1, "y":1.125}, | ||
| 23 | {"label":"D", "x":2, "y":1}, | ||
| 24 | {"label":"F", "x":3, "y":1.125}, | ||
| 25 | {"label":"G", "x":4, "y":1.25}, | ||
| 26 | {"label":"H", "x":8, "y":1.25}, | ||
| 27 | {"label":"J", "x":9, "y":1.125}, | ||
| 28 | {"label":"K", "x":10, "y":1}, | ||
| 29 | {"label":"L", "x":11, "y":1.125}, | ||
| 30 | {"label":";", "x":12, "y":1.625}, | ||
| 31 | {"label":"Z", "x":0, "y":2.625}, | ||
| 32 | {"label":"X", "x":1, "y":2.125}, | ||
| 33 | {"label":"C", "x":2, "y":2}, | ||
| 34 | {"label":"V", "x":3, "y":2.125}, | ||
| 35 | {"label":"B", "x":4, "y":2.25}, | ||
| 36 | {"label":"N", "x":8, "y":2.25}, | ||
| 37 | {"label":"M", "x":9, "y":2.125}, | ||
| 38 | {"label":",", "x":10, "y":2}, | ||
| 39 | {"label":".", "x":11, "y":2.125}, | ||
| 40 | {"label":"/", "x":12, "y":2.625}, | ||
| 41 | {"label":"'", "x":0, "y":3.625}, | ||
| 42 | {"label":"Alt", "x":1, "y":3.125}, | ||
| 43 | {"label":"Del", "x":2, "y":3}, | ||
| 44 | {"label":"Enter", "x":3, "y":3.125}, | ||
| 45 | {"label":"Shift", "x":4, "y":3.25}, | ||
| 46 | {"label":"Ctrl", "x":5, "y":3.25}, | ||
| 47 | {"label":"Numb", "x":7, "y":3.25}, | ||
| 48 | {"label":"Space", "x":8, "y":3.25}, | ||
| 49 | {"label":"Left", "x":9, "y":3.125}, | ||
| 50 | {"label":"Down", "x":10, "y":3}, | ||
| 51 | {"label":"Up", "x":11, "y":3.125}, | ||
| 52 | {"label":"Right", "x":12, "y":3.625}, | ||
| 53 | {"label":"[", "x":1, "y":4.25}, | ||
| 54 | {"label":"(", "x":2, "y":4.25}, | ||
| 55 | {"label":"Esc", "x":3, "y":4.25}, | ||
| 56 | {"label":"Media", "x":4, "y":4.25}, | ||
| 57 | {"label":"GUI", "x":5, "y":4.25}, | ||
| 58 | {"label":"Tab", "x":7, "y":4.25}, | ||
| 59 | {"label":"Mouse", "x":8, "y":4.25}, | ||
| 60 | {"label":"Bspc", "x":9, "y":4.25}, | ||
| 61 | {"label":")", "x":10, "y":4.25}, | ||
| 62 | {"label":"]", "x":11, "y":4.25} | ||
| 63 | ] | ||
| 64 | } | ||
| 65 | } | ||
| 66 | } | ||
diff --git a/keyboards/ergoslab/keymaps/default/config.h b/keyboards/ergoslab/keymaps/default/config.h new file mode 100644 index 000000000..2c47a7440 --- /dev/null +++ b/keyboards/ergoslab/keymaps/default/config.h | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2019 Tom Saleeba <ergoslab@techotom.com> | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | /* Use I2C or Serial, not both */ | ||
| 21 | |||
| 22 | #define USE_SERIAL | ||
| 23 | // #define USE_I2C | ||
| 24 | |||
| 25 | /* Select hand configuration */ | ||
| 26 | |||
| 27 | // #define MASTER_LEFT | ||
| 28 | #define MASTER_RIGHT | ||
| 29 | // #define EE_HANDS | ||
diff --git a/keyboards/ergoslab/keymaps/default/keymap.c b/keyboards/ergoslab/keymaps/default/keymap.c new file mode 100644 index 000000000..a9bf27924 --- /dev/null +++ b/keyboards/ergoslab/keymaps/default/keymap.c | |||
| @@ -0,0 +1,73 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | |||
| 3 | enum layer_names { | ||
| 4 | BASE, | ||
| 5 | MDIA, | ||
| 6 | NUMB, | ||
| 7 | MOUS | ||
| 8 | }; | ||
| 9 | |||
| 10 | #ifdef RGBLIGHT_ENABLE | ||
| 11 | #define ERGOSLAB_BRIGHTNESS 112 | ||
| 12 | #define HSV_ERGOSLAB_ORANGE 28, 255, 16 | ||
| 13 | #define HSV_ERGOSLAB_RED 0, 255, ERGOSLAB_BRIGHTNESS | ||
| 14 | #define HSV_ERGOSLAB_GREEN 85, 255, ERGOSLAB_BRIGHTNESS | ||
| 15 | #define HSV_ERGOSLAB_CYAN 128, 255, ERGOSLAB_BRIGHTNESS | ||
| 16 | #endif | ||
| 17 | |||
| 18 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 19 | [BASE] = LAYOUT_ergoslab( | ||
| 20 | KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, | ||
| 21 | KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, | ||
| 22 | KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, | ||
| 23 | KC_QUOT, KC_LALT, KC_DEL, KC_ENT, KC_LSFT, KC_LCTL, MO(NUMB), KC_SPC, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, | ||
| 24 | KC_LBRC, KC_LPRN, KC_ESC, MO(MDIA),KC_RGUI, KC_TAB, TG(MOUS), KC_BSPC, KC_RPRN, KC_RBRC | ||
| 25 | ), | ||
| 26 | |||
| 27 | [MDIA] = LAYOUT_ergoslab( | ||
| 28 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, | ||
| 29 | _______, _______, _______, _______, KC_F11, KC_F12, KC_HOME, KC_PGDN, KC_PGUP, KC_END, | ||
| 30 | _______, _______, _______, _______, _______, RGB_TOG, _______, _______, _______, KC_MUTE, | ||
| 31 | _______, RESET, _______, _______, _______, _______, _______, _______, _______, KC_VOLD, KC_VOLU, _______, | ||
| 32 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 33 | ), | ||
| 34 | |||
| 35 | [NUMB] = LAYOUT_ergoslab( | ||
| 36 | KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_BSLS, KC_PIPE, | ||
| 37 | KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, | ||
| 38 | KC_UNDS, KC_MINS, KC_PLUS, KC_EQL, KC_GRV, KC_COLN, KC_TILD, _______, _______, _______, | ||
| 39 | _______, _______, _______, _______, _______, _______, _______, _______, KC_QUOT, KC_DQT, _______, _______, | ||
| 40 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 41 | ), | ||
| 42 | |||
| 43 | [MOUS] = LAYOUT_ergoslab( | ||
| 44 | _______, _______, KC_MS_U, _______, _______, _______, _______, KC_WH_U, _______, _______, | ||
| 45 | _______, KC_MS_L, KC_MS_D, KC_MS_R, _______, _______, KC_BTN3, KC_WH_D, _______, _______, | ||
| 46 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 47 | _______, _______, _______, _______, KC_ACL0, _______, KC_BTN2, KC_BTN1, _______, _______, _______, _______, | ||
| 48 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 49 | ), | ||
| 50 | }; | ||
| 51 | |||
| 52 | #ifdef RGBLIGHT_ENABLE | ||
| 53 | layer_state_t layer_state_set_user(layer_state_t state) { | ||
| 54 | uint8_t layer = biton32(state); | ||
| 55 | switch (layer) { | ||
| 56 | case BASE: | ||
| 57 | rgblight_sethsv(HSV_ERGOSLAB_ORANGE); | ||
| 58 | break; | ||
| 59 | case MDIA: | ||
| 60 | rgblight_sethsv(HSV_ERGOSLAB_RED); | ||
| 61 | break; | ||
| 62 | case NUMB: | ||
| 63 | rgblight_sethsv(HSV_ERGOSLAB_GREEN); | ||
| 64 | break; | ||
| 65 | case MOUS: | ||
| 66 | rgblight_sethsv(HSV_ERGOSLAB_CYAN); | ||
| 67 | break; | ||
| 68 | default: | ||
| 69 | break; | ||
| 70 | } | ||
| 71 | return state; | ||
| 72 | }; | ||
| 73 | #endif | ||
diff --git a/keyboards/ergoslab/readme.md b/keyboards/ergoslab/readme.md new file mode 100644 index 000000000..9343f3bc9 --- /dev/null +++ b/keyboards/ergoslab/readme.md | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | # ergoslab | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | |||
| 6 | A split ergo 5x6 keyboard with hotswap sockets and a heap of thumb keys designed | ||
| 7 | by Tom Saleeba. [More info on the GitHub | ||
| 8 | Repo](https://github.com/tomsaleeba/ergoslab). | ||
| 9 | |||
| 10 | **Status** The ergoslab is currently being beta-tested. | ||
| 11 | |||
| 12 | * Keyboard Maintainer: [Tom Saleeba](https://github.com/tomsaleeba) | ||
| 13 | * Hardware Supported: Pro Micro (ATmega32U4) | ||
| 14 | * Hardware Availability: gerbers are available from the [releases page on the | ||
| 15 | GitHub repo](https://github.com/tomsaleeba/ergoslab/releases). Get them | ||
| 16 | manufactured at your favourite PCB house. I used JLCPCB. | ||
| 17 | |||
| 18 | |||
| 19 | Make example for this keyboard (after setting up your build environment): | ||
| 20 | |||
| 21 | make ergoslab:default | ||
| 22 | |||
| 23 | Example of flashing this keyboard: | ||
| 24 | |||
| 25 | make ergoslab:default:flash | ||
| 26 | |||
| 27 | See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) | ||
| 28 | and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) | ||
| 29 | for more information. Brand new to QMK? Start with our | ||
| 30 | [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). | ||
| 31 | |||
| 32 | A build guide for this keyboard can be found here: [Build | ||
| 33 | Guide](https://github.com/tomsaleeba/ergoslab/blob/master/build-guide.md) | ||
diff --git a/keyboards/ergoslab/rev1/config.h b/keyboards/ergoslab/rev1/config.h new file mode 100644 index 000000000..4e69b1095 --- /dev/null +++ b/keyboards/ergoslab/rev1/config.h | |||
| @@ -0,0 +1,71 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2019 Tom Saleeba <ergoslab@techotom.com> | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | /* USB Device descriptor parameter */ | ||
| 21 | #define VENDOR_ID 0xFEED | ||
| 22 | #define PRODUCT_ID 0x5148 | ||
| 23 | #define DEVICE_VER 0x0100 | ||
| 24 | #define MANUFACTURER tomsaleeba | ||
| 25 | #define PRODUCT Ergoslab Keyboard | ||
| 26 | #define DESCRIPTION Split 45 percent ergonomic keyboard | ||
| 27 | |||
| 28 | /* key matrix size */ | ||
| 29 | // Rows are doubled-up | ||
| 30 | #define MATRIX_ROWS 10 | ||
| 31 | #define MATRIX_COLS 6 | ||
| 32 | |||
| 33 | // wiring of each half | ||
| 34 | #define MATRIX_ROW_PINS { D4, C6, D7, E6, B4 } | ||
| 35 | #define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3 } | ||
| 36 | |||
| 37 | /* COL2ROW or ROW2COL */ | ||
| 38 | #define DIODE_DIRECTION COL2ROW | ||
| 39 | |||
| 40 | /* Set 0 if debouncing isn't needed */ | ||
| 41 | #define DEBOUNCE 5 | ||
| 42 | |||
| 43 | /* serial.c configuration for split keyboard */ | ||
| 44 | #define SOFT_SERIAL_PIN D2 | ||
| 45 | |||
| 46 | /* ws2812 RGB LED */ | ||
| 47 | #define RGB_DI_PIN D3 | ||
| 48 | |||
| 49 | #define RGBLED_NUM 2 // Number of LEDs | ||
| 50 | // FIXME this following line should enable our layer status LEDs to work on both | ||
| 51 | // sides without need to wire them into a chain. It doesn't though. Uncommenting | ||
| 52 | // means the slave side of the keyboard stops working (and the LEDs don't work). | ||
| 53 | // #define RGBLED_SPLIT {1,1} | ||
| 54 | |||
| 55 | /* | ||
| 56 | * Feature disable options | ||
| 57 | * These options are also useful to firmware size reduction. | ||
| 58 | */ | ||
| 59 | |||
| 60 | /* disable debug print */ | ||
| 61 | // #define NO_DEBUG | ||
| 62 | |||
| 63 | /* disable print */ | ||
| 64 | // #define NO_PRINT | ||
| 65 | |||
| 66 | /* disable action features */ | ||
| 67 | //#define NO_ACTION_LAYER | ||
| 68 | //#define NO_ACTION_TAPPING | ||
| 69 | //#define NO_ACTION_ONESHOT | ||
| 70 | //#define NO_ACTION_MACRO | ||
| 71 | //#define NO_ACTION_FUNCTION | ||
diff --git a/keyboards/ergoslab/rev1/rev1.c b/keyboards/ergoslab/rev1/rev1.c new file mode 100644 index 000000000..0e3e0fe99 --- /dev/null +++ b/keyboards/ergoslab/rev1/rev1.c | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | #include "rev1.h" | ||
| 2 | |||
| 3 | #ifdef SWAP_HANDS_ENABLE | ||
| 4 | __attribute__ ((weak)) | ||
| 5 | const keypos_t hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = { | ||
| 6 | {{0, 5}, {1, 5}, {2, 5}, {3, 5}, {4, 5}, {5, 5}}, | ||
| 7 | {{0, 6}, {1, 6}, {2, 6}, {3, 6}, {4, 6}, {5, 6}}, | ||
| 8 | {{0, 7}, {1, 7}, {2, 7}, {3, 7}, {4, 7}, {5, 7}}, | ||
| 9 | {{0, 8}, {1, 8}, {2, 8}, {3, 8}, {4, 8}, {5, 8}}, | ||
| 10 | {{0, 9}, {1, 9}, {2, 9}, {3, 9}, {4, 9}, {5, 9}}, | ||
| 11 | |||
| 12 | {{0, 0}, {1, 0}, {2, 0}, {3, 0}, {4, 0}, {5, 0}}, | ||
| 13 | {{0, 1}, {1, 1}, {2, 1}, {3, 1}, {4, 1}, {5, 1}}, | ||
| 14 | {{0, 2}, {1, 2}, {2, 2}, {3, 2}, {4, 2}, {5, 2}}, | ||
| 15 | {{0, 3}, {1, 3}, {2, 3}, {3, 3}, {4, 3}, {5, 3}}, | ||
| 16 | {{0, 4}, {1, 4}, {2, 4}, {3, 4}, {4, 4}, {5, 4}}, | ||
| 17 | }; | ||
| 18 | #endif | ||
diff --git a/keyboards/ergoslab/rev1/rev1.h b/keyboards/ergoslab/rev1/rev1.h new file mode 100644 index 000000000..bf99a17b2 --- /dev/null +++ b/keyboards/ergoslab/rev1/rev1.h | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include "ergoslab.h" | ||
| 4 | |||
| 5 | #include "quantum.h" | ||
| 6 | |||
| 7 | #define LAYOUT_ergoslab( \ | ||
| 8 | L00, L01, L02, L03, L04, R04, R03, R02, R01, R00, \ | ||
| 9 | L10, L11, L12, L13, L14, R14, R13, R12, R11, R10, \ | ||
| 10 | L20, L21, L22, L23, L24, R24, R23, R22, R21, R20, \ | ||
| 11 | L30, L31, L32, L33, L34, L35, R35, R34, R33, R32, R31, R30, \ | ||
| 12 | L41, L42, L43, L44, L45, R45, R44, R43, R42, R41 \ | ||
| 13 | ) { \ | ||
| 14 | { L00, L01, L02, L03, L04, KC_NO }, \ | ||
| 15 | { L10, L11, L12, L13, L14, KC_NO }, \ | ||
| 16 | { L20, L21, L22, L23, L24, KC_NO }, \ | ||
| 17 | { L30, L31, L32, L33, L34, L35 }, \ | ||
| 18 | { KC_NO, L41, L42, L43, L44, L45 }, \ | ||
| 19 | { R00, R01, R02, R03, R04, KC_NO }, \ | ||
| 20 | { R10, R11, R12, R13, R14, KC_NO }, \ | ||
| 21 | { R20, R21, R22, R23, R24, KC_NO }, \ | ||
| 22 | { R30, R31, R32, R33, R34, R35 }, \ | ||
| 23 | { KC_NO, R41, R42, R43, R44, R45 } \ | ||
| 24 | } | ||
diff --git a/keyboards/ergoslab/rules.mk b/keyboards/ergoslab/rules.mk new file mode 100644 index 000000000..f5ae8c51e --- /dev/null +++ b/keyboards/ergoslab/rules.mk | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | # Teensy halfkay | ||
| 6 | # Pro Micro caterina | ||
| 7 | # Atmel DFU atmel-dfu | ||
| 8 | # LUFA DFU lufa-dfu | ||
| 9 | # QMK DFU qmk-dfu | ||
| 10 | # ATmega32A bootloadHID | ||
| 11 | # ATmega328P USBasp | ||
| 12 | BOOTLOADER = caterina | ||
| 13 | |||
| 14 | # Build Options | ||
| 15 | # change to "no" to disable the options, or define them in the Makefile in | ||
| 16 | # the appropriate keymap folder that will get included automatically | ||
| 17 | # | ||
| 18 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration | ||
| 19 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
| 20 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 21 | CONSOLE_ENABLE = no # Console for debug | ||
| 22 | COMMAND_ENABLE = yes # Commands for debug and configuration | ||
| 23 | NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 24 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 25 | MIDI_ENABLE = no # MIDI controls | ||
| 26 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 27 | UNICODE_ENABLE = no # Unicode | ||
| 28 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 29 | RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. | ||
| 30 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 31 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 32 | |||
| 33 | SPLIT_KEYBOARD = yes | ||
| 34 | |||
| 35 | DEFAULT_FOLDER = ergoslab/rev1 | ||
