diff options
author | mechanicalguy21 <63573424+mechanicalguy21@users.noreply.github.com> | 2020-04-18 19:58:58 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-18 17:58:58 -0700 |
commit | 23df763a310d739859e070f67b16018652531615 (patch) | |
tree | c9a79b0bf8961db28e1acd1e3f019c027f90be58 /keyboards/handwired/novem/config.h | |
parent | 7e1c0bd4c093b6a4ff637dc29faef6cfbcbedefe (diff) | |
download | firmware-23df763a310d739859e070f67b16018652531615.tar.gz firmware-23df763a310d739859e070f67b16018652531615.tar.bz2 firmware-23df763a310d739859e070f67b16018652531615.zip |
[Keyboard] Adding Novem keyboard (macropad) and demo layout (#8781)
* Adding Novem keyboard (macropad) and demo layout
* Making changes suggested during pull request
* Removing keyboards/novem/keymaps/default/config.h as suggested during the pull request
* Moving keyboard to the handwired folder and changing the build line from readme in order to reflect this new location
Diffstat (limited to 'keyboards/handwired/novem/config.h')
-rw-r--r-- | keyboards/handwired/novem/config.h | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/keyboards/handwired/novem/config.h b/keyboards/handwired/novem/config.h new file mode 100644 index 000000000..a8c012a45 --- /dev/null +++ b/keyboards/handwired/novem/config.h @@ -0,0 +1,60 @@ +/* +Copyright 2020 Jose I. Martinez + +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/>. +*/ + +#pragma once + +#include "config_common.h" + +/* USB Device descriptor parameter */ +#define VENDOR_ID 0xFEED +#define PRODUCT_ID 0x0000 +#define DEVICE_VER 0x0001 +#define MANUFACTURER Jose I. Martinez +#define PRODUCT novem +#define DESCRIPTION A custom keyboard + +/* key matrix size */ +#define MATRIX_ROWS 3 +#define MATRIX_COLS 3 + +/* + * Keyboard Matrix Assignments + * + * Change this to how you wired your keyboard + * COLS: AVR pins used for columns, left to right + * ROWS: AVR pins used for rows, top to bottom + * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) + * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) + * + */ +#define MATRIX_ROW_PINS { E6, B4, B5 } +#define MATRIX_COL_PINS { B3, B2, B6 } +#define UNUSED_PINS + +/* COL2ROW, ROW2COL*/ +#define DIODE_DIRECTION COL2ROW + +/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ +#define DEBOUNCE 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 + + + |