diff options
Diffstat (limited to 'keyboards/naiping/np64/config.h')
| -rw-r--r-- | keyboards/naiping/np64/config.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/keyboards/naiping/np64/config.h b/keyboards/naiping/np64/config.h new file mode 100644 index 000000000..f2eb83a9a --- /dev/null +++ b/keyboards/naiping/np64/config.h | |||
| @@ -0,0 +1,52 @@ | |||
| 1 | /* Copyright 2021 Weirdo | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 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 | #include "config_common.h" | ||
| 18 | |||
| 19 | /* USB Device descriptor parameter */ | ||
| 20 | #define VENDOR_ID 0x7764 | ||
| 21 | #define PRODUCT_ID 0x7064 | ||
| 22 | #define DEVICE_VER 0x0001 | ||
| 23 | #define MANUFACTURER Weirdo | ||
| 24 | #define PRODUCT NP64 | ||
| 25 | |||
| 26 | |||
| 27 | /* key matrix size */ | ||
| 28 | #define MATRIX_ROWS 5 | ||
| 29 | #define MATRIX_COLS 15 | ||
| 30 | |||
| 31 | #define MATRIX_ROW_PINS { E6, B7, F7, F4, F5 } | ||
| 32 | #define MATRIX_COL_PINS { F6, B0, F1, C7, C6, B6, B5, B4, D7, D6, D4, D5, D3, D2, D1 } | ||
| 33 | #define DIODE_DIRECTION ROW2COL | ||
| 34 | #define DEBOUNCE 5 | ||
| 35 | |||
| 36 | |||
| 37 | |||
| 38 | #define RGB_DI_PIN B1 | ||
| 39 | #define RGBLED_NUM 80 | ||
| 40 | //#define RGBLIGHT_DISABLE_KEYCODES | ||
| 41 | |||
| 42 | |||
| 43 | |||
| 44 | |||
| 45 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 46 | #define LOCKING_SUPPORT_ENABLE | ||
| 47 | |||
| 48 | /* Locking resynchronize hack */ | ||
| 49 | #define LOCKING_RESYNC_ENABLE | ||
| 50 | |||
| 51 | |||
| 52 | |||
