aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/maartenwut/wonderland/config.h
diff options
context:
space:
mode:
authorYan-Fa Li <yanfali@gmail.com>2019-08-24 23:44:20 -0700
committernoroadsleft <18669334+noroadsleft@users.noreply.github.com>2019-08-24 23:44:20 -0700
commitf6da00b85d32f5bc451f5c89e26845434ae62bed (patch)
treec057e5e4cea14de4b7652feb93c499af89567702 /keyboards/maartenwut/wonderland/config.h
parent43b03099702265ef514cb84236d9031e04047837 (diff)
downloadfirmware-f6da00b85d32f5bc451f5c89e26845434ae62bed.tar.gz
firmware-f6da00b85d32f5bc451f5c89e26845434ae62bed.tar.bz2
firmware-f6da00b85d32f5bc451f5c89e26845434ae62bed.zip
[Keyboard] Maartenwut Wonderland PCB (#6492)
* Initial Commit * ID * Use current manu name * Fix define DEBOUNCE Co-Authored-By: fauxpark <fauxpark@gmail.com> * Fix NUM Lock LED detection Co-Authored-By: fauxpark <fauxpark@gmail.com> * Fix CAPs LED detection Co-Authored-By: fauxpark <fauxpark@gmail.com> * Fix Scroll Lock LED detection Co-Authored-By: fauxpark <fauxpark@gmail.com> * Use correct convention for setting pins * Move folder to maartenwut - enable velocikey * Fix columns size * Sync with homerowco * Add Keebs keymap * Best practices * Latest keymap changes from homerowco
Diffstat (limited to 'keyboards/maartenwut/wonderland/config.h')
-rwxr-xr-xkeyboards/maartenwut/wonderland/config.h55
1 files changed, 55 insertions, 0 deletions
diff --git a/keyboards/maartenwut/wonderland/config.h b/keyboards/maartenwut/wonderland/config.h
new file mode 100755
index 000000000..4da601257
--- /dev/null
+++ b/keyboards/maartenwut/wonderland/config.h
@@ -0,0 +1,55 @@
+/*
+Copyright 2012 Jun Wako <wakojun@gmail.com>
+
+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 0xA71C
+#define DEVICE_VER 0x0003
+#define MANUFACTURER Maartenwut
+#define PRODUCT Wonderland
+#define DESCRIPTION "QMK Firmware for the Wonderland"
+
+/* key matrix size */
+#define MATRIX_ROWS 5
+#define MATRIX_COLS 15
+
+// ROWS: Top to bottom, COLS: Left to right
+
+#define MATRIX_ROW_PINS {B0,D1,D2,D3,D5}
+#define MATRIX_COL_PINS {F0,F1,F4,F5,F6,F7,E6,C7,C6,B6,B5,B4,D7,D6,D4}
+#define UNUSED_PINS
+
+
+/* COL2ROW or ROW2COL */
+#define DIODE_DIRECTION COL2ROW
+
+/* Set 0 if debouncing isn't needed */
+#define DEBOUNCE 5
+
+/* Backlight configuration
+ */
+#define RGB_DI_PIN B7
+#define RGBLIGHT_ANIMATIONS
+#define RGBLED_NUM 12
+
+#define QMK_ESC_OUTPUT F0 // usually COL
+#define QMK_ESC_INPUT B0 // usually ROW
+#define QMK_LED B1