diff options
Diffstat (limited to 'keyboards/projectkb/alice/rev1/config.h')
| -rw-r--r-- | keyboards/projectkb/alice/rev1/config.h | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/keyboards/projectkb/alice/rev1/config.h b/keyboards/projectkb/alice/rev1/config.h new file mode 100644 index 000000000..549af2928 --- /dev/null +++ b/keyboards/projectkb/alice/rev1/config.h | |||
| @@ -0,0 +1,84 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2015 Jun Wako <wakojun@gmail.com> | ||
| 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 0x0159 | ||
| 22 | #define PRODUCT_ID 0xA71C | ||
| 23 | #define DEVICE_VER 0x0001 | ||
| 24 | #define MANUFACTURER ProjectKB | ||
| 25 | #define PRODUCT Alice | ||
| 26 | #define DESCRIPTION ProjectKB Alice | ||
| 27 | |||
| 28 | /* key matrix size */ | ||
| 29 | #define MATRIX_ROWS 5 | ||
| 30 | #define MATRIX_COLS 16 | ||
| 31 | |||
| 32 | #define MATRIX_COL_PINS { B2, B10, B11, A9, A15, B3, B4, B5, B6, B7, B8, B9, C13, C14, C15, B12 } | ||
| 33 | #define MATRIX_ROW_PINS { B1, B0, A7, A5, A4 } | ||
| 34 | #define DIODE_DIRECTION COL2ROW | ||
| 35 | |||
| 36 | #define BACKLIGHT_PIN A6 | ||
| 37 | #define BACKLIGHT_PWM_DRIVER PWMD3 | ||
| 38 | #define BACKLIGHT_PWM_CHANNEL 1 | ||
| 39 | #define BACKLIGHT_PAL_MODE 1 | ||
| 40 | #define BACKLIGHT_LEVELS 6 | ||
| 41 | #define BACKLIGHT_BREATHING | ||
| 42 | #define BREATHING_PERIOD 6 | ||
| 43 | |||
| 44 | /* define if matrix has ghost */ | ||
| 45 | //#define MATRIX_HAS_GHOST | ||
| 46 | |||
| 47 | /* Set 0 if debouncing isn't needed */ | ||
| 48 | #define DEBOUNCE 5 | ||
| 49 | |||
| 50 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 51 | #define LOCKING_SUPPORT_ENABLE | ||
| 52 | /* Locking resynchronize hack */ | ||
| 53 | #define LOCKING_RESYNC_ENABLE | ||
| 54 | |||
| 55 | #define RGBLIGHT_ANIMATIONS | ||
| 56 | #define RGB_DI_PIN B15 | ||
| 57 | #define RGBLED_NUM 14 | ||
| 58 | #define WS2812_SPI SPID2 | ||
| 59 | #define WS2812_SPI_MOSI_PAL_MODE 0 | ||
| 60 | |||
| 61 | #define INDICATOR_PIN_0 A0 | ||
| 62 | #define INDICATOR_PIN_1 A1 | ||
| 63 | #define INDICATOR_PIN_2 A2 | ||
| 64 | |||
| 65 | // 2 bits for 4 layout options | ||
| 66 | #define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 | ||
| 67 | |||
| 68 | /* | ||
| 69 | * Feature disable options | ||
| 70 | * These options are also useful to firmware size reduction. | ||
| 71 | */ | ||
| 72 | |||
| 73 | /* disable debug print */ | ||
| 74 | //#define NO_DEBUG | ||
| 75 | |||
| 76 | /* disable print */ | ||
| 77 | //#define NO_PRINT | ||
| 78 | |||
| 79 | /* disable action features */ | ||
| 80 | //#define NO_ACTION_LAYER | ||
| 81 | //#define NO_ACTION_TAPPING | ||
| 82 | //#define NO_ACTION_ONESHOT | ||
| 83 | //#define NO_ACTION_MACRO | ||
| 84 | //#define NO_ACTION_FUNCTION | ||
