diff options
author | Cole Markham <github@ccmcomputing.net> | 2018-01-18 22:59:00 -0600 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2018-04-11 18:11:42 -0400 |
commit | e8082b5f9ecc8cc000823091273576ae58c8411f (patch) | |
tree | 1329966a75a244d2de18fdf03ac9302aab292f64 /keyboards/novelpad/config.h | |
parent | 4cfd1e30fc320dee84840b7af9ed474a6afcfaa6 (diff) | |
download | qmk_firmware-e8082b5f9ecc8cc000823091273576ae58c8411f.tar.gz |
Add support for NovelPad/NumChoc by NovelKeys and Woodkeys
Diffstat (limited to 'keyboards/novelpad/config.h')
-rwxr-xr-x | keyboards/novelpad/config.h | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/keyboards/novelpad/config.h b/keyboards/novelpad/config.h new file mode 100755 index 000000000..0d6a71343 --- /dev/null +++ b/keyboards/novelpad/config.h @@ -0,0 +1,68 @@ +/* +Copyright 2018 Cole Markham + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ +#ifndef CONFIG_H +#define CONFIG_H + +#include "config_common.h" + +/* USB Device descriptor parameter */ +#define VENDOR_ID 0xFEED +#define PRODUCT_ID 0x6070 +#define DEVICE_VER 0x0001 +#define MANUFACTURER NovelKeys.xyz +#define PRODUCT Novelpad +#define DESCRIPTION 5x4 Hotswap MX numpad + +/* key matrix size */ +#define MATRIX_ROWS 5 +#define MATRIX_COLS 4 + +/* key matrix pins */ +#define MATRIX_ROW_PINS { C2, C4, C5, C6, C7 } +#define MATRIX_COL_PINS { D7, D6, D5, D4 } +#define UNUSED_PINS + +/* COL2ROW or ROW2COL */ +#define DIODE_DIRECTION COL2ROW + +/* Set 0 if debouncing isn't needed */ +#define DEBOUNCING_DELAY 5 + +/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ +#define LOCKING_SUPPORT_ENABLE + +/* Locking resynchronize hack */ +#define LOCKING_RESYNC_ENABLE + +/* key combination for command */ +#define IS_COMMAND() ( \ + false \ +) + +/* prevent stuck modifiers */ +#define PREVENT_STUCK_MODIFIERS + +#define BACKLIGHT_LEVELS 10 +#define BACKLIGHT_PIN B7 + +#ifdef RGBLIGHT_ENABLE +#define RGB_DI_PIN D3 +#define RGBLIGHT_ANIMATIONS +#define RGBLED_NUM 4 +#endif + +#endif |