summaryrefslogtreecommitdiff
path: root/keyboards/2_milk/config.h
diff options
context:
space:
mode:
authorSpaceman <rionlion100@gmail.com>2019-07-30 18:24:11 -0400
committernoroadsleft <18669334+noroadsleft@users.noreply.github.com>2019-07-30 15:24:11 -0700
commit45950bb3b65fe7c499e653f0e68a0acae73d3029 (patch)
tree4a3ed7b2bb82ad6e492b83c8ed583488878cd194 /keyboards/2_milk/config.h
parenta8427447bc2204df5a21372e129fcfa5ff87e634 (diff)
[Keyboard] 2% Milk addition (#5796)
* Create README.md * Update README.md * Create info.json * Create config.h * Create rules.mk * Create 2_milk.c * Create 2_milk.h * Create keymap.c * Create README.md * Create config.h * Update info.json * Update config.h * Update rules.mk * Update 2_milk.h * Update 2_milk.c * Delete config.h * Update keymap.c * Update rules.mk * added pragma once * Add files via upload * Update keyboards/2_milk/rules.mk Co-Authored-By: Rionlion100 <rionlion100@gmail.com> * Update config.h * changed default to OSU! * Create README.md * Update README.md * Create keymap.c * Update keymap.c * Create README.md * Create keymap.c * Update keymap.c * Update keymap.c * Update README.md * Update README.md * Update README.md * Update README.md * fixed pins for PCB revision * fixed maybe * Create README.md * add mouse keymap * added ExcessBread's keymap * Update README.md * Create keymap.c * Create README.md * Create keymap.c * Update rules.mk * Rename README.md to readme.md * Rename README.md to readme.md * Rename README.md to readme.md * Rename README.md to readme.md * Rename README.md to readme.md * Rename README.md to readme.md * Rename README.md to readme.md * Update keyboards/2_milk/config.h Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/2_milk/rules.mk Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update info.json * Update info.json * Update info.json * Update info.json * Update info.json * Add files via upload * Update readme.md * fix copyright * Update 2_milk.c * Update 2_milk.h * Update rules.mk * Update rules.mk * Update config.h * Update config.h * Update feature_bluetooth.md * Update feature_bluetooth.md * Update readme.md
Diffstat (limited to 'keyboards/2_milk/config.h')
-rw-r--r--keyboards/2_milk/config.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/keyboards/2_milk/config.h b/keyboards/2_milk/config.h
new file mode 100644
index 0000000000..9e7228b17e
--- /dev/null
+++ b/keyboards/2_milk/config.h
@@ -0,0 +1,41 @@
+/* Copyright 2019 Sebastian Williams
+ *
+ * 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 0xB195
+#define DEVICE_VER 0x0001
+#define MANUFACTURER rionlion100
+#define PRODUCT 2% Milk
+#define DESCRIPTION A milk themed 2% Keyboard
+
+/* key matrix size */
+#define MATRIX_ROWS 2
+#define MATRIX_COLS 1
+
+/* Milk default pinout */
+#define DIRECT_PINS { \
+ {D4}, \
+ {C6} \
+}
+#define UNUSED_PINS
+
+#ifdef RGBLIGHT_ENABLE
+#define RGB_DI_PIN B6
+#define RGBLED_NUM 1
+#endif