diff options
Diffstat (limited to 'keyboards/ogre/ergo_split')
| -rw-r--r-- | keyboards/ogre/ergo_split/config.h | 52 | ||||
| -rw-r--r-- | keyboards/ogre/ergo_split/ergo_split.c | 17 | ||||
| -rw-r--r-- | keyboards/ogre/ergo_split/ergo_split.h | 39 | ||||
| -rw-r--r-- | keyboards/ogre/ergo_split/keymaps/default/keymap.c | 41 | ||||
| -rw-r--r-- | keyboards/ogre/ergo_split/keymaps/default/readme.md | 1 | ||||
| -rw-r--r-- | keyboards/ogre/ergo_split/readme.md | 15 | ||||
| -rw-r--r-- | keyboards/ogre/ergo_split/rules.mk | 33 |
7 files changed, 198 insertions, 0 deletions
diff --git a/keyboards/ogre/ergo_split/config.h b/keyboards/ogre/ergo_split/config.h new file mode 100644 index 000000000..d92c2538b --- /dev/null +++ b/keyboards/ogre/ergo_split/config.h | |||
| @@ -0,0 +1,52 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 ctrlshiftba | ||
| 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 | /* USB Device descriptor parameter */ | ||
| 23 | #define VENDOR_ID 0x1209 | ||
| 24 | #define PRODUCT_ID 0x095E | ||
| 25 | #define DEVICE_VER 0x0001 | ||
| 26 | #define MANUFACTURER ctrlshiftba | ||
| 27 | #define PRODUCT ergo_split | ||
| 28 | #define DESCRIPTION a keycap friendly ergo. the split version | ||
| 29 | |||
| 30 | /* key matrix size */ | ||
| 31 | #define MATRIX_ROWS 10 | ||
| 32 | #define MATRIX_COLS 7 | ||
| 33 | |||
| 34 | /* Keyboard Matrix Assignments */ | ||
| 35 | #define MATRIX_ROW_PINS { C6, D7, E6, B4, B5 } | ||
| 36 | #define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2 } | ||
| 37 | |||
| 38 | /* COL2ROW, ROW2COL*/ | ||
| 39 | #define DIODE_DIRECTION COL2ROW | ||
| 40 | |||
| 41 | /* | ||
| 42 | * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN. | ||
| 43 | */ | ||
| 44 | #define SOFT_SERIAL_PIN D3 | ||
| 45 | #define SPLIT_HAND_PIN D1 | ||
| 46 | |||
| 47 | #define RGB_DI_PIN B6 | ||
| 48 | #define RGBLED_SPLIT { 7, 7 } | ||
| 49 | #define RGBLED_NUM 14 | ||
| 50 | #define RGBLIGHT_LED_MAP { 6, 5, 4, 3, 2, 1, 0, 13, 12,11, 10, 9, 8, 7} | ||
| 51 | #define RGBLIGHT_ANIMATIONS | ||
| 52 | #define DEBOUNCE 5 | ||
diff --git a/keyboards/ogre/ergo_split/ergo_split.c b/keyboards/ogre/ergo_split/ergo_split.c new file mode 100644 index 000000000..0d83a5e8e --- /dev/null +++ b/keyboards/ogre/ergo_split/ergo_split.c | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | /* Copyright 2020 ctrlshiftba | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #include "ergo_split.h" | ||
diff --git a/keyboards/ogre/ergo_split/ergo_split.h b/keyboards/ogre/ergo_split/ergo_split.h new file mode 100644 index 000000000..f8f9ddf65 --- /dev/null +++ b/keyboards/ogre/ergo_split/ergo_split.h | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | /* Copyright 2020 ctrlshiftba | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #include "quantum.h" | ||
| 20 | |||
| 21 | #define LAYOUT( \ | ||
| 22 | k63, k00, k10, k20, k30, k40, k50, k60, k65, k55, k45, k35, k25, k15, k05, k68, \ | ||
| 23 | k01, k11, k21, k31, k41, k51, k61, k66, k56, k46, k36, k26, k16, k06, \ | ||
| 24 | k02, k12, k22, k32, k42, k52, k62, k67, k57, k47, k37, k27, k17, k07, \ | ||
| 25 | k03, k13, k23, k33, k43, k53, k58, k48, k38, k28, k18, k08, \ | ||
| 26 | k04, k14, k24, k34, k44, k54, k64, k69, k59, k49, k39, k29, k19, k09 \ | ||
| 27 | ) \ | ||
| 28 | { \ | ||
| 29 | { k00, k10, k20, k30, k40, k50, k60 }, \ | ||
| 30 | { k01, k11, k21, k31, k41, k51, k61 }, \ | ||
| 31 | { k02, k12, k22, k32, k42, k52, k62 }, \ | ||
| 32 | { k03, k13, k23, k33, k43, k53, k63 }, \ | ||
| 33 | { k04, k14, k24, k34, k44, k54, k64 }, \ | ||
| 34 | { k05, k15, k25, k35, k45, k55, k65 }, \ | ||
| 35 | { k06, k16, k26, k36, k46, k56, k66 }, \ | ||
| 36 | { k07, k17, k27, k37, k47, k57, k67 }, \ | ||
| 37 | { k08, k18, k28, k38, k48, k58, k68 }, \ | ||
| 38 | { k09, k19, k29, k39, k49, k59, k69 }, \ | ||
| 39 | } | ||
diff --git a/keyboards/ogre/ergo_split/keymaps/default/keymap.c b/keyboards/ogre/ergo_split/keymaps/default/keymap.c new file mode 100644 index 000000000..94e725791 --- /dev/null +++ b/keyboards/ogre/ergo_split/keymaps/default/keymap.c | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | /* Copyright 2020 ctrlshiftba | ||
| 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 | |||
| 18 | #define TP_Z MT(MOD_LCTL, KC_Z) | ||
| 19 | #define TP_X MT(MOD_LGUI, KC_X) | ||
| 20 | #define TP_GR MT(MOD_LCTL, KC_GRV) | ||
| 21 | #define TP_SPC LT(1, KC_SPC) | ||
| 22 | #define TP_ENT LT(1, KC_ENT) | ||
| 23 | #define TP_QUOT MT(MOD_RGUI, KC_QUOT) | ||
| 24 | #define TP_RCTRL MT(MOD_RCTL, KC_RBRC) | ||
| 25 | |||
| 26 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 27 | [0] = LAYOUT( | ||
| 28 | KC_ESC, KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_GRV, KC_PGUP, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_DEL, | ||
| 29 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_RBRC, KC_LBRC, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, | ||
| 30 | KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_PGDN, KC_QUOT, KC_H, KC_J, KC_K, KC_L, KC_SCLN, TP_QUOT, | ||
| 31 | KC_LSFT, TP_Z, TP_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, | ||
| 32 | TP_GR, KC_LALT, KC_LEFT, KC_RGHT, TP_SPC, KC_SPC, KC_BSPC, KC_RALT, KC_ENT, TP_ENT, KC_DOWN, KC_UP, KC_LBRC, TP_RCTRL | ||
| 33 | ), | ||
| 34 | [1] = LAYOUT( | ||
| 35 | RESET, _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_INS, KC_HOME, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, | ||
| 36 | RGB_MOD, RGB_HUI, RGB_SAI, RGB_VAI, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 37 | RGB_M_P, RGB_HUD, RGB_SAD, RGB_VAD, _______, _______, KC_END, _______, _______, _______, _______, _______, _______, _______, | ||
| 38 | RGB_TOG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 39 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MENU, _______ | ||
| 40 | ), | ||
| 41 | }; | ||
diff --git a/keyboards/ogre/ergo_split/keymaps/default/readme.md b/keyboards/ogre/ergo_split/keymaps/default/readme.md new file mode 100644 index 000000000..4e225222b --- /dev/null +++ b/keyboards/ogre/ergo_split/keymaps/default/readme.md | |||
| @@ -0,0 +1 @@ | |||
| # The default keymap for ergo_split | |||
diff --git a/keyboards/ogre/ergo_split/readme.md b/keyboards/ogre/ergo_split/readme.md new file mode 100644 index 000000000..e027e6be0 --- /dev/null +++ b/keyboards/ogre/ergo_split/readme.md | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | # ogre ergo (split) | ||
| 2 | ## a keycap friendly ergo | ||
| 3 |  | ||
| 4 | |||
| 5 | The ogre ergo is a ergodox inspired keyboard that is a keycap friendly ergo supporting a wide variety of keycap layout possiblities. Its can be built as either a split or single keyboard. | ||
| 6 | |||
| 7 | * Keyboard Maintainer: [ctrlshiftba](https://github.com/ctrlshiftbryan) | ||
| 8 | * Hardware Supported: the ogre ergo pcb | ||
| 9 | * Hardware Availability: https://ctrlshiftba.com/ | ||
| 10 | |||
| 11 | Make example for this keyboard (after setting up your build environment): | ||
| 12 | |||
| 13 | make ogre/ergo_split:default | ||
| 14 | |||
| 15 | 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/ogre/ergo_split/rules.mk b/keyboards/ogre/ergo_split/rules.mk new file mode 100644 index 000000000..06f53864c --- /dev/null +++ b/keyboards/ogre/ergo_split/rules.mk | |||
| @@ -0,0 +1,33 @@ | |||
| 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 yes to no to disable | ||
| 16 | # | ||
| 17 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration | ||
| 18 | MOUSEKEY_ENABLE = no # Mouse keys | ||
| 19 | EXTRAKEY_ENABLE = no # Audio control and System control | ||
| 20 | CONSOLE_ENABLE = no # Console for debug | ||
| 21 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 22 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 23 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 24 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 25 | NKRO_ENABLE = no # USB Nkey Rollover | ||
| 26 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 27 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | ||
| 28 | MIDI_ENABLE = no # MIDI support | ||
| 29 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 30 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 31 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | ||
| 32 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs | ||
| 33 | SPLIT_KEYBOARD = yes | ||
