summaryrefslogtreecommitdiffstats
path: root/keyboards/yatara/drink_me/config.h
diff options
context:
space:
mode:
authorYatara <43754086+yatara-cc@users.noreply.github.com>2020-01-30 23:37:23 +0100
committerGitHub <noreply@github.com>2020-01-30 14:37:23 -0800
commit31e4583f4a171823cfa639cc6a9795e892c0455f (patch)
treeb6c283d5f1782ef31ad8c89abf90351a759fd943 /keyboards/yatara/drink_me/config.h
parent17a089d21b261777f4fa48af34b6e012d69d3945 (diff)
[Keyboard] Add support for Drink Me (#8039)
* Add initial configuration and keymaps for Yatara Drink Me. * Apply suggestions from code review * Apply suggestions from code review * Add transparent layers in VIA layout so there are four layers in total. Amend closing bracket indentation in keymap.c files.
Diffstat (limited to 'keyboards/yatara/drink_me/config.h')
-rw-r--r--keyboards/yatara/drink_me/config.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/keyboards/yatara/drink_me/config.h b/keyboards/yatara/drink_me/config.h
new file mode 100644
index 0000000000..f2ab371f85
--- /dev/null
+++ b/keyboards/yatara/drink_me/config.h
@@ -0,0 +1,37 @@
+/* Copyright 2020 Yatara
+ *
+ * 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 0x1470
+#define DEVICE_VER 0x0001
+#define MANUFACTURER Yatara
+#define PRODUCT Drink Me
+#define DESCRIPTION 4% Ergo Macropad
+
+/* Key matrix size */
+#define MATRIX_ROWS 1
+#define MATRIX_COLS 4
+
+/* Pinout */
+#define DIRECT_PINS { \
+ {B4, B5, B6, B7} \
+}
+#define UNUSED_PINS