summaryrefslogtreecommitdiffstats
path: root/keyboards/aves65/config.h
diff options
context:
space:
mode:
authorHund <Hund@users.noreply.github.com>2020-05-13 20:43:28 +0200
committerGitHub <noreply@github.com>2020-05-13 19:43:28 +0100
commit30a6f231bfc6b447e9b2c45b39527f0c0b9c909f (patch)
tree3b667fea20f9b7b426672866de3c37500319448b /keyboards/aves65/config.h
parent44ff14f290833a72f32c06901826f014d22ea810 (diff)
[Keyboard] Added support for Aves 65 (#8880)
* First commit. * Apply suggestions from code review Co-Authored-By: Drashna Jaelre <drashna@live.com> Co-Authored-By: Ryan <fauxpark@gmail.com> * Update keyboards/aves65/rules.mk Co-Authored-By: Joel Challis <git@zvecr.com> * Update keyboards/aves65/aves65.h Co-Authored-By: Joel Challis <git@zvecr.com> * Update keyboards/aves65/keymaps/default/keymap.c Co-Authored-By: Joel Challis <git@zvecr.com> * Update keyboards/aves65/rules.mk Co-Authored-By: Joel Challis <git@zvecr.com> * Changes. * Changes * Changes * Update keyboards/aves65/rules.mk Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Hund <hund@ubuntu.com> Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Joel Challis <git@zvecr.com>
Diffstat (limited to 'keyboards/aves65/config.h')
-rw-r--r--keyboards/aves65/config.h61
1 files changed, 61 insertions, 0 deletions
diff --git a/keyboards/aves65/config.h b/keyboards/aves65/config.h
new file mode 100644
index 0000000000..033100b549
--- /dev/null
+++ b/keyboards/aves65/config.h
@@ -0,0 +1,61 @@
+/*
+Copyright 2019 I/O Keyboards <hello@iokeyboards.eu>
+
+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 0x9991
+#define PRODUCT_ID 0x9038
+#define DEVICE_VER 0x0001
+#define MANUFACTURER I/O Keyboards
+#define PRODUCT Aves65
+#define DESCRIPTION A 65% keyboard with underglow.
+
+/* key matrix size */
+#define MATRIX_ROWS 5
+#define MATRIX_COLS 15
+
+// ROWS: Top to bottom, COLS: Left to right
+
+#define MATRIX_ROW_PINS {D4,D6,D7,B4,E6}
+#define MATRIX_COL_PINS {D0,D1,D2,D3,D5,B5,F0,F1,F4,F5,F6,F7,C7,C6,B6}
+#define UNUSED_PINS {B7,B1,B2,B3}
+
+/* COL2ROW or ROW2COL */
+#define DIODE_DIRECTION COL2ROW
+
+/* define if matrix has ghost */
+//#define MATRIX_HAS_GHOST
+
+/* Set 0 if debouncing isn't 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
+
+/* Backlight configuration
+ */
+#define RGB_DI_PIN B0
+#define RGBLIGHT_ANIMATIONS
+#define RGBLED_NUM 9
+
+#define QMK_ESC_OUTPUT D0 // usually COL
+#define QMK_ESC_INPUT D4 // usually ROW