diff options
Diffstat (limited to 'keyboards/yncognito/batpad/config.h')
| -rw-r--r-- | keyboards/yncognito/batpad/config.h | 120 |
1 files changed, 60 insertions, 60 deletions
diff --git a/keyboards/yncognito/batpad/config.h b/keyboards/yncognito/batpad/config.h index 31dab82dc..379fc886d 100644 --- a/keyboards/yncognito/batpad/config.h +++ b/keyboards/yncognito/batpad/config.h | |||
| @@ -1,60 +1,60 @@ | |||
| 1 | /* | 1 | /* |
| 2 | Copyright 2020 Yncognito | 2 | Copyright 2020 Yncognito |
| 3 | 3 | ||
| 4 | This program is free software: you can redistribute it and/or modify | 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 | 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 | 6 | the Free Software Foundation, either version 2 of the License, or |
| 7 | (at your option) any later version. | 7 | (at your option) any later version. |
| 8 | 8 | ||
| 9 | This program is distributed in the hope that it will be useful, | 9 | This program is distributed in the hope that it will be useful, |
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | GNU General Public License for more details. | 12 | GNU General Public License for more details. |
| 13 | 13 | ||
| 14 | You should have received a copy of the GNU General Public License | 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/>. | 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 16 | */ | 16 | */ |
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #include "config_common.h" | 20 | #include "config_common.h" |
| 21 | 21 | ||
| 22 | /* USB Device descriptor parameter */ | 22 | /* USB Device descriptor parameter */ |
| 23 | #define VENDOR_ID 0x7979 | 23 | #define VENDOR_ID 0x7979 |
| 24 | #define PRODUCT_ID 0x6602 | 24 | #define PRODUCT_ID 0x6602 |
| 25 | #define DEVICE_VER 0x0001 | 25 | #define DEVICE_VER 0x0001 |
| 26 | #define MANUFACTURER Yncognito | 26 | #define MANUFACTURER Yncognito |
| 27 | #define PRODUCT Batpad | 27 | #define PRODUCT Batpad |
| 28 | #define DESCRIPTION A bat with 8 keys | 28 | #define DESCRIPTION A bat with 8 keys |
| 29 | 29 | ||
| 30 | /* key matrix size */ | 30 | /* key matrix size */ |
| 31 | #define MATRIX_ROWS 2 | 31 | #define MATRIX_ROWS 2 |
| 32 | #define MATRIX_COLS 4 | 32 | #define MATRIX_COLS 4 |
| 33 | 33 | ||
| 34 | /* | 34 | /* |
| 35 | * Keyboard Matrix Assignments | 35 | * Keyboard Matrix Assignments |
| 36 | * | 36 | * |
| 37 | * Change this to how you wired your keyboard | 37 | * Change this to how you wired your keyboard |
| 38 | * COLS: AVR pins used for columns, left to right | 38 | * COLS: AVR pins used for columns, left to right |
| 39 | * ROWS: AVR pins used for rows, top to bottom | 39 | * ROWS: AVR pins used for rows, top to bottom |
| 40 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | 40 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) |
| 41 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | 41 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) |
| 42 | * | 42 | * |
| 43 | */ | 43 | */ |
| 44 | #define MATRIX_ROW_PINS { F4, C7 } | 44 | #define MATRIX_ROW_PINS { F4, C7 } |
| 45 | #define MATRIX_COL_PINS { F1, F0, D5, D3 } | 45 | #define MATRIX_COL_PINS { F1, F0, D5, D3 } |
| 46 | 46 | ||
| 47 | #define DIODE_DIRECTION COL2ROW | 47 | #define DIODE_DIRECTION COL2ROW |
| 48 | 48 | ||
| 49 | #define RGB_DI_PIN B5 | 49 | #define RGB_DI_PIN B5 |
| 50 | #define DRIVER_LED_TOTAL 8 | 50 | #define DRIVER_LED_TOTAL 8 |
| 51 | #define RGB_MATRIX_KEYPRESSES | 51 | #define RGB_MATRIX_KEYPRESSES |
| 52 | #define RGB_MATRIX_KEYRELEASES | 52 | #define RGB_MATRIX_KEYRELEASES |
| 53 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 53 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
| 54 | #define RGB_DISABLE_AFTER_TIMEOUT 0 | 54 | #define RGB_DISABLE_AFTER_TIMEOUT 0 |
| 55 | #define RGB_DISABLE_WHEN_USB_SUSPENDED false | 55 | #define RGB_DISABLE_WHEN_USB_SUSPENDED false |
| 56 | #define RGB_MATRIX_LED_FLUSH_LIMIT 16 | 56 | #define RGB_MATRIX_LED_FLUSH_LIMIT 16 |
| 57 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 255 | 57 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 255 |
| 58 | #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_ALL | 58 | #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_ALL |
| 59 | 59 | ||
| 60 | 60 | ||
