summaryrefslogtreecommitdiff
path: root/keyboards/gowla/config.h
diff options
context:
space:
mode:
authorSam Gowland <10119462+SamGowland@users.noreply.github.com>2020-07-04 11:51:42 +0100
committerGitHub <noreply@github.com>2020-07-04 11:51:42 +0100
commit13a8d1681ca89b14931b0f9246dad4a4f60705fa (patch)
tree01a8d5ff855e0528688edecfee03b66b7eda8b99 /keyboards/gowla/config.h
parentb30d0361c52ac3b0c0ae2c4a6f90d1666a767a86 (diff)
[Keyboard] Gowla Macro Board (#9643)
Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Erovia <Erovia@users.noreply.github.com>
Diffstat (limited to 'keyboards/gowla/config.h')
-rw-r--r--keyboards/gowla/config.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/keyboards/gowla/config.h b/keyboards/gowla/config.h
new file mode 100644
index 0000000000..65fd8ca1e7
--- /dev/null
+++ b/keyboards/gowla/config.h
@@ -0,0 +1,38 @@
+/*
+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 0xE9B6
+#define DEVICE_VER 0x0001
+#define MANUFACTURER Gowla
+#define PRODUCT Gowla Macro Board
+#define DESCRIPTION 3x3 PCB
+
+/* Matrix size */
+#define MATRIX_ROWS 3
+#define MATRIX_COLS 3
+
+/* Pin-out */
+#define MATRIX_ROW_PINS { D1, D0, D4 }
+#define MATRIX_COL_PINS { B5, B4, E6 }
+#define UNUSED_PINS
+
+/* ROW2COL */
+#define DIODE_DIRECTION ROW2COL