diff options
Diffstat (limited to 'keyboards/latin64ble/config.h')
| -rw-r--r-- | keyboards/latin64ble/config.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/keyboards/latin64ble/config.h b/keyboards/latin64ble/config.h new file mode 100644 index 000000000..ddae1e149 --- /dev/null +++ b/keyboards/latin64ble/config.h | |||
| @@ -0,0 +1,51 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 latincompass | ||
| 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 | You should have received a copy of the GNU General Public License | ||
| 14 | along with this program. If not, see <http://www.gnu.org/licenses/>.*/ | ||
| 15 | |||
| 16 | #pragma once | ||
| 17 | |||
| 18 | #include "config_common.h" | ||
| 19 | #define VENDOR_ID 0x6C63 // "lc" = latincompass | ||
| 20 | #define PRODUCT_ID 0x6C71 // "lp" = latin64BLE | ||
| 21 | #define DEVICE_VER 0x0001 | ||
| 22 | #define MANUFACTURER latincompass | ||
| 23 | #define PRODUCT Latin64BLE | ||
| 24 | |||
| 25 | /* key matrix size */ | ||
| 26 | #define MATRIX_ROWS 8 | ||
| 27 | #define MATRIX_COLS 8 | ||
| 28 | #define MATRIX_ROW_PINS { D0, D1, D2, D3, D6, D7, B5, B6 } | ||
| 29 | #define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, C7, C6 } | ||
| 30 | #define UNUSED_PINS | ||
| 31 | |||
| 32 | #define DIODE_DIRECTION ROW2COL | ||
| 33 | |||
| 34 | |||
| 35 | #define RGB_DI_PIN B7 | ||
| 36 | |||
| 37 | #define RGBLED_NUM 2 | ||
| 38 | #define DRIVER_LED_TOTAL RGBLED_NUM | ||
| 39 | |||
| 40 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 41 | #define DEBOUNCE 5 | ||
| 42 | |||
| 43 | |||
| 44 | #define RGBLIGHT_VAL_STEP 25 | ||
| 45 | #define RGBLIGHT_LIMIT_VAL 255 | ||
| 46 | #define RGBLIGHT_EFFECT_KNIGHT_OFFSET 20 | ||
| 47 | #define RGBLIGHT_ANIMATIONS // Run RGB animations | ||
| 48 | |||
| 49 | |||
| 50 | |||
| 51 | |||
