diff options
Diffstat (limited to 'keyboards/keebio/iris/rev5/config.h')
| -rw-r--r-- | keyboards/keebio/iris/rev5/config.h | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/keyboards/keebio/iris/rev5/config.h b/keyboards/keebio/iris/rev5/config.h new file mode 100644 index 000000000..15eed8349 --- /dev/null +++ b/keyboards/keebio/iris/rev5/config.h | |||
| @@ -0,0 +1,83 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2019 Danny Nguyen <danny@keeb.io> | ||
| 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 0xCB10 | ||
| 22 | #define PRODUCT_ID 0x5256 | ||
| 23 | #define DEVICE_VER 0x0500 | ||
| 24 | #define MANUFACTURER Keebio | ||
| 25 | #define PRODUCT Iris Rev. 5 | ||
| 26 | |||
| 27 | /* key matrix size */ | ||
| 28 | // Rows are doubled-up | ||
| 29 | #define MATRIX_ROWS 10 | ||
| 30 | #define MATRIX_COLS 6 | ||
| 31 | |||
| 32 | // wiring of each half | ||
| 33 | #define MATRIX_ROW_PINS { B1, F0, F5, F6, F7 } | ||
| 34 | #define MATRIX_COL_PINS { F1, F4, D3, D2, B7, D4 } | ||
| 35 | #define MATRIX_ROW_PINS_RIGHT { B1, B2, D2, F1, F4 } | ||
| 36 | #define MATRIX_COL_PINS_RIGHT { D4, D7, D3, B7, F0, B3 } | ||
| 37 | #define SPLIT_HAND_PIN D5 | ||
| 38 | #define QMK_ESC_OUTPUT F1 | ||
| 39 | #define QMK_ESC_INPUT B1 | ||
| 40 | #define QMK_LED B0 | ||
| 41 | #define QMK_SPEAKER C6 | ||
| 42 | |||
| 43 | #define ENCODERS_PAD_A { B2 } | ||
| 44 | #define ENCODERS_PAD_B { B3 } | ||
| 45 | #define ENCODERS_PAD_A_RIGHT { F7 } | ||
| 46 | #define ENCODERS_PAD_B_RIGHT { F6 } | ||
| 47 | |||
| 48 | /* COL2ROW or ROW2COL */ | ||
| 49 | #define DIODE_DIRECTION COL2ROW | ||
| 50 | |||
| 51 | /* define if matrix has ghost */ | ||
| 52 | //#define MATRIX_HAS_GHOST | ||
| 53 | |||
| 54 | /* number of backlight levels */ | ||
| 55 | // #define BACKLIGHT_LEVELS 3 | ||
| 56 | |||
| 57 | /* Set 0 if debouncing isn't needed */ | ||
| 58 | #define DEBOUNCE 5 | ||
| 59 | |||
| 60 | /* serial.c configuration for split keyboard */ | ||
| 61 | #define SOFT_SERIAL_PIN D0 | ||
| 62 | |||
| 63 | |||
| 64 | #define BACKLIGHT_PIN B5 | ||
| 65 | #define BACKLIGHT_LEVELS 5 | ||
| 66 | #define BACKLIGHT_DEFAULT_LEVEL 3 | ||
| 67 | |||
| 68 | /* ws2812 RGB LED */ | ||
| 69 | #define RGB_DI_PIN D6 | ||
| 70 | #define RGBLED_NUM 12 // Number of LEDs | ||
| 71 | #define RGBLED_SPLIT { 6, 6 } | ||
| 72 | #define RGBLIGHT_EFFECT_BREATHING | ||
| 73 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 74 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 75 | #define RGBLIGHT_EFFECT_SNAKE | ||
| 76 | #define RGBLIGHT_EFFECT_KNIGHT | ||
| 77 | #define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 78 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 79 | #define RGBLIGHT_EFFECT_RGB_TEST | ||
| 80 | #define RGBLIGHT_EFFECT_ALTERNATING | ||
| 81 | #define RGBLIGHT_EFFECT_TWINKLE | ||
| 82 | #define RGBLIGHT_DEFAULT_VAL 128 | ||
| 83 | #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) | ||
