diff options
Diffstat (limited to 'keyboards/runner3680/5x6_5x8/config.h')
| -rw-r--r-- | keyboards/runner3680/5x6_5x8/config.h | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/keyboards/runner3680/5x6_5x8/config.h b/keyboards/runner3680/5x6_5x8/config.h new file mode 100644 index 000000000..815da2495 --- /dev/null +++ b/keyboards/runner3680/5x6_5x8/config.h | |||
| @@ -0,0 +1,84 @@ | |||
| 1 | /* Copyright 2021 omkbd | ||
| 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 | /* USB Device descriptor parameter */ | ||
| 20 | #define VENDOR_ID 0x3680 | ||
| 21 | #define PRODUCT_ID 0x5658 | ||
| 22 | #define DEVICE_VER 0x0005 | ||
| 23 | #define MANUFACTURER Omkbd | ||
| 24 | #define PRODUCT runner3680 | ||
| 25 | |||
| 26 | /* key matrix size */ | ||
| 27 | // Rows are doubled-up | ||
| 28 | #define MATRIX_ROWS 10 | ||
| 29 | #define MATRIX_COLS 8 | ||
| 30 | |||
| 31 | // wiring of each half | ||
| 32 | #define MATRIX_ROW_PINS { D4, C6, D7, E6, B4 } | ||
| 33 | #define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2 ,B6 } | ||
| 34 | // #define MATRIX_COL_PINS { B6, B2, B3, B1, F7, F6, F5, F4 } //uncomment this line and comment line above if you need to reverse left-to-right key order | ||
| 35 | |||
| 36 | #define DIODE_DIRECTION COL2ROW | ||
| 37 | |||
| 38 | /* define tapping term */ | ||
| 39 | #define TAPPING_TERM 120 | ||
| 40 | |||
| 41 | /* define if matrix has ghost */ | ||
| 42 | //#define MATRIX_HAS_GHOST | ||
| 43 | |||
| 44 | /* Set 0 if debouncing isn't needed */ | ||
| 45 | #define DEBOUNCE 5 | ||
| 46 | |||
| 47 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 48 | #define LOCKING_SUPPORT_ENABLE | ||
| 49 | /* Locking resynchronize hack */ | ||
| 50 | #define LOCKING_RESYNC_ENABLE | ||
| 51 | |||
| 52 | /* ws2812 RGB LED */ | ||
| 53 | #define RGB_DI_PIN D3 | ||
| 54 | #ifdef RGBLIGHT_ENABLE | ||
| 55 | #define RGBLIGHT_EFFECT_BREATHING | ||
| 56 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 57 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 58 | #define RGBLIGHT_EFFECT_SNAKE | ||
| 59 | #define RGBLIGHT_EFFECT_KNIGHT | ||
| 60 | #define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 61 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 62 | #define RGBLIGHT_EFFECT_RGB_TEST | ||
| 63 | #define RGBLIGHT_EFFECT_ALTERNATING | ||
| 64 | #define RGBLIGHT_EFFECT_TWINKLE | ||
| 65 | #define RGBLED_NUM 70 | ||
| 66 | #define RGBLIGHT_SPLIT | ||
| 67 | #define RGBLED_SPLIT { 30, 40 } // Number of LEDs | ||
| 68 | #define RGBLIGHT_LIMIT_VAL 100 | ||
| 69 | #endif | ||
| 70 | #ifdef RGB_MATRIX_ENABLE | ||
| 71 | #define DRIVER_LED_TOTAL 70 | ||
| 72 | #define RGB_MATRIX_SPLIT { 30, 40 } // Number of LEDs | ||
| 73 | #endif | ||
| 74 | |||
| 75 | #define SOFT_SERIAL_PIN D2 | ||
| 76 | #define SELECT_SOFT_SERIAL_SPEED 1 | ||
| 77 | /*Sets the protocol speed when using serial communication*/ | ||
| 78 | //Speeds: | ||
| 79 | //0: about 189kbps (Experimental only) | ||
| 80 | //1: about 137kbps (default) | ||
| 81 | //2: about 75kbps | ||
| 82 | //3: about 39kbps | ||
| 83 | //4: about 26kbps | ||
| 84 | //5: about 20kbps | ||
