diff options
Diffstat (limited to 'keyboards/mechwild/obe')
24 files changed, 0 insertions, 835 deletions
diff --git a/keyboards/mechwild/obe/config.h b/keyboards/mechwild/obe/config.h deleted file mode 100644 index 1fef5fe001..0000000000 --- a/keyboards/mechwild/obe/config.h +++ /dev/null @@ -1,135 +0,0 @@ -/* -Copyright 2021 Kyle McCreery - -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" - -/* key matrix size */ -#define MATRIX_ROWS 7 -#define MATRIX_COLS 10 - -/* - * Keyboard Matrix Assignments - * - * Change this to how you wired your keyboard - * COLS: AVR pins used for columns, left to right - * ROWS: AVR pins used for rows, top to bottom - * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) - * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) - * - */ -#define MATRIX_ROW_PINS { A8, B15, B14, B13, B12, A15, B3 } -#define MATRIX_COL_PINS { B10, B1, B0, A7, A6, A5, A4, A3, A2, A1 } - -/* encoder pins */ -#define ENCODERS_PAD_A { B5 } -#define ENCODERS_PAD_B { B4 } - -/* encoder resolution */ -#define ENCODER_RESOLUTION 4 -#define TAP_CODE_DELAY 10 - -/* COL2ROW, ROW2COL */ -#define DIODE_DIRECTION COL2ROW - -/* status light pins */ -#define LED_NUM_LOCK_PIN B8 -#define LED_CAPS_LOCK_PIN B9 - -/* RGB settings, uncomment this define to enable RGB */ -#define RGB_DI_PIN A0 -#ifdef RGB_DI_PIN -# define RGBLED_NUM 10 -# define RGBLIGHT_HUE_STEP 8 -# define RGBLIGHT_SAT_STEP 8 -# define RGBLIGHT_VAL_STEP 8 -# define RGBLIGHT_LIMIT_VAL 255 /* 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 - -/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ -#define DEBOUNCE 5 - -/* 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 useful 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 - -/* Bootmagic Lite key configuration */ -#define BOOTMAGIC_LITE_ROW 5 -#define BOOTMAGIC_LITE_COLUMN 4 diff --git a/keyboards/mechwild/obe/f401/eeprom/config.h b/keyboards/mechwild/obe/f401/eeprom/config.h deleted file mode 100644 index 83eed90b99..0000000000 --- a/keyboards/mechwild/obe/f401/eeprom/config.h +++ /dev/null @@ -1,20 +0,0 @@ -/* -Copyright 2022 Kyle McCreery - -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 - -#define EEPROM_I2C_24LC64 diff --git a/keyboards/mechwild/obe/f401/eeprom/halconf.h b/keyboards/mechwild/obe/f401/eeprom/halconf.h deleted file mode 100644 index b57977316a..0000000000 --- a/keyboards/mechwild/obe/f401/eeprom/halconf.h +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright 2021 Kyle McCreery - * - * 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 - -#define HAL_USE_I2C TRUE - -#include_next <halconf.h> - diff --git a/keyboards/mechwild/obe/f401/eeprom/mcuconf.h b/keyboards/mechwild/obe/f401/eeprom/mcuconf.h deleted file mode 100644 index da43021663..0000000000 --- a/keyboards/mechwild/obe/f401/eeprom/mcuconf.h +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright 2021 Kyle McCreery - * - * 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_next <mcuconf.h> - -#undef STM32_I2C_USE_I2C1 -#define STM32_I2C_USE_I2C1 TRUE diff --git a/keyboards/mechwild/obe/f401/eeprom/rules.mk b/keyboards/mechwild/obe/f401/eeprom/rules.mk deleted file mode 100644 index 4707020e58..0000000000 --- a/keyboards/mechwild/obe/f401/eeprom/rules.mk +++ /dev/null @@ -1,8 +0,0 @@ -# MCU name -MCU = STM32F401 -BOARD = BLACKPILL_STM32_F401 - -# Bootloader selection -BOOTLOADER = stm32-dfu - -EEPROM_DRIVER = i2c diff --git a/keyboards/mechwild/obe/f401/rules.mk b/keyboards/mechwild/obe/f401/rules.mk deleted file mode 100644 index 1b21bbaf77..0000000000 --- a/keyboards/mechwild/obe/f401/rules.mk +++ /dev/null @@ -1,6 +0,0 @@ -# MCU name -MCU = STM32F401 -BOARD = BLACKPILL_STM32_F401 - -# Bootloader selection -BOOTLOADER = stm32-dfu diff --git a/keyboards/mechwild/obe/f411/eeprom/config.h b/keyboards/mechwild/obe/f411/eeprom/config.h deleted file mode 100644 index 83eed90b99..0000000000 --- a/keyboards/mechwild/obe/f411/eeprom/config.h +++ /dev/null @@ -1,20 +0,0 @@ -/* -Copyright 2022 Kyle McCreery - -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 - -#define EEPROM_I2C_24LC64 diff --git a/keyboards/mechwild/obe/f411/eeprom/halconf.h b/keyboards/mechwild/obe/f411/eeprom/halconf.h deleted file mode 100644 index b57977316a..0000000000 --- a/keyboards/mechwild/obe/f411/eeprom/halconf.h +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright 2021 Kyle McCreery - * - * 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 - -#define HAL_USE_I2C TRUE - -#include_next <halconf.h> - diff --git a/keyboards/mechwild/obe/f411/eeprom/mcuconf.h b/keyboards/mechwild/obe/f411/eeprom/mcuconf.h deleted file mode 100644 index da43021663..0000000000 --- a/keyboards/mechwild/obe/f411/eeprom/mcuconf.h +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright 2021 Kyle McCreery - * - * 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_next <mcuconf.h> - -#undef STM32_I2C_USE_I2C1 -#define STM32_I2C_USE_I2C1 TRUE diff --git a/keyboards/mechwild/obe/f411/eeprom/rules.mk b/keyboards/mechwild/obe/f411/eeprom/rules.mk deleted file mode 100644 index 3d2f9bcf05..0000000000 --- a/keyboards/mechwild/obe/f411/eeprom/rules.mk +++ /dev/null @@ -1,8 +0,0 @@ -# MCU name -MCU = STM32F411 -BOARD = BLACKPILL_STM32_F411 - -# Bootloader selection -BOOTLOADER = stm32-dfu - -EEPROM_DRIVER = i2c diff --git a/keyboards/mechwild/obe/f411/rules.mk b/keyboards/mechwild/obe/f411/rules.mk deleted file mode 100644 index c25a64f4b3..0000000000 --- a/keyboards/mechwild/obe/f411/rules.mk +++ /dev/null @@ -1,6 +0,0 @@ -# MCU name -MCU = STM32F411 -BOARD = BLACKPILL_STM32_F411 - -# Bootloader selection -BOOTLOADER = stm32-dfu diff --git a/keyboards/mechwild/obe/info.json b/keyboards/mechwild/obe/info.json deleted file mode 100644 index fbae09e15c..0000000000 --- a/keyboards/mechwild/obe/info.json +++ /dev/null @@ -1,87 +0,0 @@ -{ - "keyboard_name": "OrangeBoyErgo", - "manufacturer": "MechWild", - "url": "mechwild.com", - "maintainer": "Kyle McCreery", - "usb": { - "vid": "0x6D77", - "pid": "0x1707", - "device_version": "2.0.1" - }, - "layouts": { - "LAYOUT": { - "layout": [ - {"label": "k55", "x": 0.3, "y": 0}, - {"label": "k54", "x": 1.72, "y": 0}, - {"label": "k53", "x": 2.72, "y": 0}, - {"label": "k52", "x": 4.00, "y": 0}, - {"label": "k51", "x": 5, "y": 0}, - {"label": "k50", "x": 6, "y": 0}, - {"label": "k00", "x": 7, "y": 0}, - {"label": "k01", "x": 8, "y": 0}, - {"label": "k02", "x": 10.75, "y": 0}, - {"label": "k03", "x": 11.75, "y": 0}, - {"label": "k04", "x": 12.75, "y": 0}, - {"label": "k05", "x": 13.75, "y": 0}, - {"label": "k06", "x": 15, "y": 0}, - {"label": "k07", "x": 16, "y": 0}, - {"label": "k08", "x": 17, "y": 0}, - {"label": "k09", "x": 18, "y": 0}, - {"label": "k65", "x": 0.2, "y": 1}, - {"label": "k59", "x": 1.47, "y": 1, "w": 1.5}, - {"label": "k58", "x": 2.97, "y": 1}, - {"label": "k57", "x": 4.50, "y": 1}, - {"label": "k56", "x": 5.5, "y": 1}, - {"label": "k10", "x": 6.5, "y": 1}, - {"label": "k11", "x": 7.5, "y": 1}, - {"label": "k12", "x": 10.25, "y": 1}, - {"label": "k13", "x": 11.25, "y": 1}, - {"label": "k14", "x": 12.25, "y": 1}, - {"label": "k15", "x": 13.25, "y": 1}, - {"label": "k16", "x": 14.75, "y": 1}, - {"label": "k17", "x": 15.75, "y": 1}, - {"label": "k18", "x": 16.75, "y": 1}, - {"label": "k19", "x": 17.75, "y": 1, "w": 1.5}, - {"label": "k64", "x": 0.1, "y": 2}, - {"label": "k69", "x": 1.40, "y": 2, "w": 1.75}, - {"label": "k68", "x": 3.12, "y": 2}, - {"label": "k63", "x": 4.75, "y": 2}, - {"label": "k20", "x": 5.75, "y": 2}, - {"label": "k21", "x": 6.75, "y": 2}, - {"label": "k22", "x": 7.75, "y": 2}, - {"label": "k23", "x": 10.5, "y": 2}, - {"label": "k24", "x": 11.5, "y": 2}, - {"label": "k25", "x": 12.5, "y": 2}, - {"label": "k26", "x": 13.5, "y": 2}, - {"label": "k27", "x": 15.1, "y": 2}, - {"label": "k28", "x": 16.1, "y": 2}, - {"label": "k29", "x": 17.1, "y": 2, "w": 2.25}, - {"label": "k62", "x": 1.22, "y": 3, "w": 2.25}, - {"label": "k60", "x": 3.47, "y": 3}, - {"label": "k67", "x": 5.25, "y": 3}, - {"label": "k66", "x": 6.25, "y": 3}, - {"label": "k30", "x": 7.25, "y": 3}, - {"label": "k31", "x": 8.25, "y": 3}, - {"label": "k32", "x": 10, "y": 3}, - {"label": "k33", "x": 11, "y": 3}, - {"label": "k34", "x": 12, "y": 3}, - {"label": "k35", "x": 13, "y": 3}, - {"label": "k36", "x": 14.75, "y": 3}, - {"label": "k37", "x": 15.75, "y": 3}, - {"label": "k38", "x": 16.75, "y": 3}, - {"label": "k39", "x": 17.75, "y": 3, "w": 1.75}, - {"label": "k61", "x": 1.25, "y": 4, "w": 1.25}, - {"label": "k40", "x": 2.72, "y": 4, "w": 1.25}, - {"label": "k41", "x": 5.25, "y": 4, "w": 1.25}, - {"label": "k42", "x": 6.50, "y": 4, "w": 2.25}, - {"label": "k43", "x": 8.75, "y": 4}, - {"label": "k44", "x": 10, "y": 4, "w": 2.75}, - {"label": "k45", "x": 12.75, "y": 4}, - {"label": "k46", "x": 14.75, "y": 4}, - {"label": "k47", "x": 15.75, "y": 4}, - {"label": "k48", "x": 16.75, "y": 4}, - {"label": "k49", "x": 17.75, "y": 4} - ] - } - } -} diff --git a/keyboards/mechwild/obe/keymaps/default/keymap.c b/keyboards/mechwild/obe/keymaps/default/keymap.c deleted file mode 100644 index 59f163cc9d..0000000000 --- a/keyboards/mechwild/obe/keymaps/default/keymap.c +++ /dev/null @@ -1,48 +0,0 @@ -/* Copyright 2021 Kyle McCreery - * - * 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 - -// Defines names for use in layer keycodes and the keymap -enum layer_names { - _BASE, - _FN1 -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* Base */ - [_BASE] = LAYOUT( - KC_MUTE, 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_TRNS, KC_BSPC, - KC_PGUP, 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, - KC_PGDN, MO(1), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_UP, KC_RSFT, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(1), KC_SPC, KC_RALT, MO(2), KC_LEFT, KC_DOWN, KC_RGHT - ), - [_FN1] = LAYOUT( - KC_TRNS, KC_TRNS, 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_DEL, - 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, - KC_TRNS, KC_CAPS, 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, 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, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ), -}; - -#ifdef ENCODER_MAP_ENABLE - const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = { - [_BASE] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) }, - [_FN1] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) }, - }; -#endif diff --git a/keyboards/mechwild/obe/keymaps/default/rules.mk b/keyboards/mechwild/obe/keymaps/default/rules.mk deleted file mode 100644 index ee32568148..0000000000 --- a/keyboards/mechwild/obe/keymaps/default/rules.mk +++ /dev/null @@ -1 +0,0 @@ -ENCODER_MAP_ENABLE = yes diff --git a/keyboards/mechwild/obe/keymaps/jonavin/config.h b/keyboards/mechwild/obe/keymaps/jonavin/config.h deleted file mode 100644 index 8a812f1550..0000000000 --- a/keyboards/mechwild/obe/keymaps/jonavin/config.h +++ /dev/null @@ -1,39 +0,0 @@ -/* Copyright 2021 Jonavin Eng - * - * 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 - -#define TAPPING_TOGGLE 2 -// TT set to two taps - -/* Handle GRAVESC combo keys */ -#define GRAVE_ESC_ALT_OVERRIDE - //Always send Escape if Alt is pressed -#define GRAVE_ESC_CTRL_OVERRIDE - //Always send Escape if Control is pressed - -#define TAPPING_TERM 180 - -#ifdef RGBLIGHT_ENABLE - // Redefine number of LED - #ifdef RGBLED_NUM - #undef RGBLED_NUM - #endif // DEBUG - #define RGBLED_NUM 20 - - #define RGBLIGHT_LAYERS - #define RGBLIGHT_SLEEP -#endif // RGBLIGHT_ENABLE diff --git a/keyboards/mechwild/obe/keymaps/jonavin/keymap.c b/keyboards/mechwild/obe/keymaps/jonavin/keymap.c deleted file mode 100644 index 5d68d9213d..0000000000 --- a/keyboards/mechwild/obe/keymaps/jonavin/keymap.c +++ /dev/null @@ -1,119 +0,0 @@ -/* Copyright 2021 Kyle McCreery - * - * 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 -#include "jonavin.h" - -#ifdef RGBLIGHT_ENABLE - // Custom RGB Colours - #define HSV_OBE_BOW 180, 100, 100 // colour for matching keycaps -#endif // RGBLIGHT_ENABLE - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* Base */ - [_BASE] = LAYOUT( - KC_TSTOG,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_DEL, - KC_PGUP, 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, - KC_PGDN, TT(_RAISE), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, - KC_LSFTCAPSWIN,KC_Z, KC_X, KC_C, KC_V, KC_B, LT(_LOWER,KC_B), KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_SFTUP,KC_RSFT, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(_FN1), KC_RAISESPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - [_FN1] = LAYOUT( - KC_MUTE, KC_ESC, 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_INS, - KC_HOME, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_PSCR, KC_SLCK, KC_PAUS, KC_NO, KC_NO, KC_NO, QK_BOOT, - KC_END, KC_CAPS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, KC_NLCK, KC_NO, KC_NO, KC_NO, KC_NO, KC_PGUP, KC_TRNS, - KC_TRNS,KC_WINLCK,KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_NO, KC_NO, KC_HOME, KC_PGDN, KC_END - ), - [_LOWER] = LAYOUT( - EEP_RST, KC_TILD, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, RGB_VAD, RGB_VAI, KC_TRNS, KC_DEL, - RGB_HUI, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, EMO_TEARS, EMO_SAD, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, RGB_TOG, - RGB_HUD, KC_NO, KC_NO, EMO_SHRUG,KC_NO, KC_NO, KC_NO, KC_NO, EMO_JOY, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, - KC_NO, KC_NO, KC_NO, EMO_CONFUSE,KC_NO,KC_NO,KC_TRNS,EMO_NERVOUS, KC_NO, KC_NO, KC_NO, KC_NO, RGB_MOD, KC_TRNS, - KC_TRNS, KC_APP, KC_TRNS, KC_BSPC, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RGB_SPD, RGB_RMOD,RGB_SPI - ), - [_RAISE] = LAYOUT( - KC_NO, KC_GRV, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_P7, KC_P8, KC_P9, KC_P0, KC_PMNS, KC_PPLS, KC_PSLS, KC_DEL, - KC_VOLU, KC_NO, KC_HOME,KC_UP, KC_END, KC_PGUP, KC_NO, KC_TAB, KC_P4, KC_P5, KC_P6, KC_NO, KC_NO, KC_NO, KC_PEQL, - KC_VOLD,TT(_RAISE),KC_LEFT,KC_DOWN,KC_RGHT, KC_PGDN, KC_NO, KC_NO, KC_P1, KC_P2, KC_P3, KC_NO, KC_PAST, KC_PENT, - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, KC_P0, KC_00, KC_NO, KC_PDOT, KC_PSLS, CT_PGUP, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_BSPC, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, CT_HOME, CT_PGDN, CT_END - ) -}; - -#ifdef RGBLIGHT_ENABLE - - enum custom_rgblight_layers - { - _rgbWINLOCK, _rgbFN, - _rgbLOWER, - _rgbRAISE - }; - - // Optional RGB Light Mapping Zones {LED Posiiton, Number of LEDs, Colour} - const rgblight_segment_t PROGMEM _rgb_winlock_layer[] = RGBLIGHT_LAYER_SEGMENTS( - {1, 3, HSV_RED}, - {15, 3, HSV_RED} - ); - const rgblight_segment_t PROGMEM _rgb_fn_layer[] = RGBLIGHT_LAYER_SEGMENTS( - {6, 6, HSV_PURPLE} - ); - // Light LEDs 9 & 10 in cyan when keyboard layer 1 is active - const rgblight_segment_t PROGMEM _rgb_lower_layer[] = RGBLIGHT_LAYER_SEGMENTS( - {4, 10, HSV_YELLOW} - ); - - const rgblight_segment_t PROGMEM _rgb_raise_layer[] = RGBLIGHT_LAYER_SEGMENTS( - {3, 5, HSV_GREEN}, - {10, 5, HSV_GREEN} - ); - - const rgblight_segment_t* const PROGMEM _rgb_layers[] = RGBLIGHT_LAYERS_LIST( - _rgb_winlock_layer, - _rgb_fn_layer, - _rgb_lower_layer, - _rgb_raise_layer - ); - - bool led_update_user(led_t led_state) { - rgblight_set_layer_state(_rgbWINLOCK, keymap_config.no_gui); - writePin(LED_CAPS_LOCK_PIN, led_state.caps_lock); - #ifdef INVERT_NUMLOCK_INDICATOR - writePin(LED_NUM_LOCK_PIN, !led_state.num_lock); // inverse numlock indicator override - #else - writePin(LED_NUM_LOCK_PIN, led_state.num_lock); // normal, light LED when numlock on - #endif // INVERT_NUMLOCK_INDICATOR - return false; - } - - layer_state_t layer_state_set_user(layer_state_t state) { - rgblight_set_layer_state(_rgbFN, layer_state_cmp(state, _FN1)); - rgblight_set_layer_state(_rgbLOWER, layer_state_cmp(state, _LOWER)); - rgblight_set_layer_state(_rgbRAISE, layer_state_cmp(state, _RAISE)); - return state; - } -#endif // RGBLIGHT_ENABLE - -void keyboard_post_init_keymap(void) { - // keyboard_post_init_user() moved to userspace - #ifdef RGBLIGHT_ENABLE - rgblight_enable_noeeprom(); - rgblight_mode_noeeprom(RGBLIGHT_MODE_STATIC_LIGHT); - rgblight_sethsv_noeeprom(HSV_OBE_BOW); // Default startup colour - rgblight_layers = _rgb_layers; - #endif -} - diff --git a/keyboards/mechwild/obe/keymaps/jonavin/readme.md b/keyboards/mechwild/obe/keymaps/jonavin/readme.md deleted file mode 100644 index ec17981caf..0000000000 --- a/keyboards/mechwild/obe/keymaps/jonavin/readme.md +++ /dev/null @@ -1,54 +0,0 @@ -# Jonavin's MechWild Orange Boy Ergo keymap - ---> This keymap makes use of user/jonavin userspace - -Features - - Split spacebars, Split Backspace - - Inverted Num Lock indicator (LED on when num lock if off) - - RGB Winlock indicator (requires LED stripto be installed) - - RGB Layer indicators: FN/MO1 - Purple; LOWER/MO2 - Yellow; RAISE/MO3/NumPad - Green - - quick demo https://youtu.be/gR1awbsouLk - -- Add PrtScr, Scroll Lock, Break, NumLock to Fn layer -- Implement Win key lock using Fn+Win -- Layer 2 (LOWER) when right B is held -- for emoticons -- Layer 2 RGB functions, and EEPROM Reset -- Layer 3 (RAISE) mod on Caps Lock with double-tap to switch to this layer, double tap to switch back - - provides arrows on WASD and additional nav keys + right hand numpad with 00; an be used for Alt Code entry - - left spacebar Backspace -- add double tap of Left Shift to toggle Caps Lock -- Up arrow is also Shift when held -- Pushing the encoder switches the default encoder scroll between volume control and Alt-Tab - - -rules.mk OPTIONS - Active features from userspace --------------------------------------------------- - -STARTUP_NUMLOCK_ON = yes -- turns on NUMLOCK by default - -ENCODER_DEFAULTACTIONS_ENABLE = yes -- Enables default encoder funtions - - holding Left shift, change layers - - holding right shift, Navigate page up/down - - holding Left Ctrl, navigate prev/next word - - holding Left Alt, change media prev/next track - - default is change volume - -TD_LSFT_CAPSLOCK_ENABLE = yes - - This will enable double tap on Left Shift to toggle CAPSLOCK when using KC_LSFTCAPS - -IDLE_TIMEOUT_ENABLE = yes - - Enables Timer functionality; for RGB idle timeouts that can be changed dynamically - -EMOTICON_ENABLE - - adds EMO_ keycodes for text emojis - -INVERT_NUMLOCK_INDICATOR - - inverts the Num lock indicator, LED is on when num lokc is off - -ALTTAB_SCROLL_ENABLE - - bind KS_TSTOG to a different key to change how this toggle happens - -## All layers diagram - diff --git a/keyboards/mechwild/obe/keymaps/jonavin/rules.mk b/keyboards/mechwild/obe/keymaps/jonavin/rules.mk deleted file mode 100644 index 6a9acf5d07..0000000000 --- a/keyboards/mechwild/obe/keymaps/jonavin/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -VIA_ENABLE = yes -LTO_ENABLE = yes -RGBLIGHT_ENABLE = yes - -MOUSEKEY_ENABLE = no -TAP_DANCE_ENABLE = yes - -TD_LSFT_CAPSLOCK_ENABLE = yes -STARTUP_NUMLOCK_ON = yes -ENCODER_DEFAULTACTIONS_ENABLE = yes -EMOTICON_ENABLE = yes -INVERT_NUMLOCK_INDICATOR = yes - -ALTTAB_SCROLL_ENABLE = yes diff --git a/keyboards/mechwild/obe/keymaps/via/keymap.c b/keyboards/mechwild/obe/keymaps/via/keymap.c deleted file mode 100644 index cd6dcda001..0000000000 --- a/keyboards/mechwild/obe/keymaps/via/keymap.c +++ /dev/null @@ -1,66 +0,0 @@ -/* Copyright 2021 Kyle McCreery - * - * 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. |