diff options
Diffstat (limited to 'keyboards/lets_split/keymaps/zer09/config.h')
| -rw-r--r-- | keyboards/lets_split/keymaps/zer09/config.h | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/keyboards/lets_split/keymaps/zer09/config.h b/keyboards/lets_split/keymaps/zer09/config.h new file mode 100644 index 000000000..73438d8a9 --- /dev/null +++ b/keyboards/lets_split/keymaps/zer09/config.h | |||
| @@ -0,0 +1,59 @@ | |||
| 1 | /* | ||
| 2 | This is the c configuration file for the keymap | ||
| 3 | |||
| 4 | Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
| 5 | Copyright 2015 Jack Humbert | ||
| 6 | |||
| 7 | This program is free software: you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation, either version 2 of the License, or | ||
| 10 | (at your option) any later version. | ||
| 11 | |||
| 12 | This program is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 19 | */ | ||
| 20 | |||
| 21 | #ifndef CONFIG_USER_H | ||
| 22 | #define CONFIG_USER_H | ||
| 23 | |||
| 24 | #include "../../config.h" | ||
| 25 | |||
| 26 | /* key matrix size */ | ||
| 27 | /* Rows are doubled-up */ | ||
| 28 | #undef MATRIX_ROWS | ||
| 29 | #undef MATRIX_COLS | ||
| 30 | #define MATRIX_ROWS 10 | ||
| 31 | #define MATRIX_COLS 5 | ||
| 32 | |||
| 33 | #undef MATRIX_ROW_PINS | ||
| 34 | #undef MATRIX_COL_PINS | ||
| 35 | #define MATRIX_ROW_PINS { C6, D7, E6, B4, B5 } | ||
| 36 | #define MATRIX_COL_PINS { F7, B1, B3, B2, B6 } | ||
| 37 | |||
| 38 | #define CATERINA_BOOTLOADER | ||
| 39 | #define USB_MAX_POWER_CONSUMPTION 50 | ||
| 40 | |||
| 41 | /* Use I2C or Serial, not both */ | ||
| 42 | |||
| 43 | #define USE_SERIAL | ||
| 44 | // #define USE_I2C | ||
| 45 | |||
| 46 | /* Select hand configuration */ | ||
| 47 | |||
| 48 | /* #define MASTER_LEFT */ | ||
| 49 | // #define MASTER_RIGHT | ||
| 50 | #define EE_HANDS | ||
| 51 | |||
| 52 | /* ws2812 RGB LED */ | ||
| 53 | #undef RGBLED_NUM | ||
| 54 | #define RGB_DI_PIN D3 | ||
| 55 | #define RGBLIGHT_TIMER | ||
| 56 | #define RGBLED_NUM 50 | ||
| 57 | #define ws2812_PORTREG PORTD | ||
| 58 | #define ws2812_DDRREG DDRD | ||
| 59 | #endif | ||
