diff options
Diffstat (limited to 'keyboards/hineybush/h60/config.h')
| -rw-r--r-- | keyboards/hineybush/h60/config.h | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/keyboards/hineybush/h60/config.h b/keyboards/hineybush/h60/config.h new file mode 100644 index 000000000..ef14fdd4f --- /dev/null +++ b/keyboards/hineybush/h60/config.h | |||
| @@ -0,0 +1,89 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 hineybush | ||
| 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 0x04D8 | ||
| 24 | #define PRODUCT_ID 0xEBBE | ||
| 25 | #define DEVICE_VER 0x0001 | ||
| 26 | #define MANUFACTURER hineybush keyboards | ||
| 27 | #define PRODUCT h60 | ||
| 28 | #define DESCRIPTION A 60% PCB. | ||
| 29 | |||
| 30 | /* key matrix size */ | ||
| 31 | #define MATRIX_ROWS 5 | ||
| 32 | #define MATRIX_COLS 14 | ||
| 33 | |||
| 34 | #define MATRIX_ROW_PINS { B6, B5, B4, D7, E6 } | ||
| 35 | #define MATRIX_COL_PINS { B3, D0, D1, D2, D3, D5, D6, C7, F0, F1, F4, F5, F6, F7 } | ||
| 36 | #define UNUSED_PINS | ||
| 37 | |||
| 38 | /* COL2ROW, ROW2COL*/ | ||
| 39 | #define DIODE_DIRECTION COL2ROW | ||
| 40 | |||
| 41 | #define BACKLIGHT_PIN B7 | ||
| 42 | #define BACKLIGHT_BREATHING | ||
| 43 | #define BACKLIGHT_LEVELS 3 | ||
| 44 | |||
| 45 | // leaving this here if I decide to add RGB down the line | ||
| 46 | |||
| 47 | // #define RGB_DI_PIN E2 | ||
| 48 | // #ifdef RGB_DI_PIN | ||
| 49 | // #define RGBLED_NUM 16 | ||
| 50 | // #define RGBLIGHT_HUE_STEP 8 | ||
| 51 | // #define RGBLIGHT_SAT_STEP 8 | ||
| 52 | // #define RGBLIGHT_VAL_STEP 8 | ||
| 53 | // #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ | ||
| 54 | // #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | ||
| 55 | // /*== all animations enable ==*/ | ||
| 56 | // #define RGBLIGHT_ANIMATIONS | ||
| 57 | // /*== or choose animations ==*/ | ||
| 58 | // #define RGBLIGHT_EFFECT_BREATHING | ||
| 59 | // #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 60 | // #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 61 | // #define RGBLIGHT_EFFECT_SNAKE | ||
| 62 | // #define RGBLIGHT_EFFECT_KNIGHT | ||
| 63 | // #define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 64 | // #define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 65 | // #define RGBLIGHT_EFFECT_RGB_TEST | ||
| 66 | // #define RGBLIGHT_EFFECT_ALTERNATING | ||
| 67 | // /*== customize breathing effect ==*/ | ||
| 68 | // /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/ | ||
| 69 | // #define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64 | ||
| 70 | // /*==== use exp() and sin() ====*/ | ||
| 71 | // #define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7 | ||
| 72 | // #define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 | ||
| 73 | // #endif | ||
| 74 | |||
| 75 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 76 | #define DEBOUNCE 5 | ||
| 77 | |||
| 78 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 79 | #define LOCKING_SUPPORT_ENABLE | ||
| 80 | /* Locking resynchronize hack */ | ||
| 81 | #define LOCKING_RESYNC_ENABLE | ||
| 82 | |||
| 83 | /* disable these deprecated features by default */ | ||
| 84 | #define NO_ACTION_MACRO | ||
| 85 | #define NO_ACTION_FUNCTION | ||
| 86 | |||
| 87 | /* Bootmagic Lite key configuration */ | ||
| 88 | #define BOOTMAGIC_LITE_ROW 0 | ||
| 89 | #define BOOTMAGIC_LITE_COLUMN 0 | ||
