summaryrefslogtreecommitdiffstats
path: root/keyboards/minidox/rev1/config.h
diff options
context:
space:
mode:
authorThat-Canadian <poole.chris.11@gmail.com>2017-07-10 06:46:19 +0200
committerThat-Canadian <poole.chris.11@gmail.com>2017-07-10 06:46:19 +0200
commit9312b9db6c94f0ed5e17d4cc9904bd0b72de5298 (patch)
tree4022f27eafc7a94b30b31bca4074b775176b57ac /keyboards/minidox/rev1/config.h
parent707f4efd99f4dfd7213540f7ee86f0fe8e6ad634 (diff)
downloadqmk_firmware-9312b9db6c94f0ed5e17d4cc9904bd0b72de5298.tar.gz
qmk_firmware-9312b9db6c94f0ed5e17d4cc9904bd0b72de5298.tar.xz
Added MiniDox keyboard folder / configs / and some keymaps
Diffstat (limited to 'keyboards/minidox/rev1/config.h')
-rw-r--r--keyboards/minidox/rev1/config.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/keyboards/minidox/rev1/config.h b/keyboards/minidox/rev1/config.h
new file mode 100644
index 000000000..4370e7d73
--- /dev/null
+++ b/keyboards/minidox/rev1/config.h
@@ -0,0 +1,45 @@
+/*
+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/>.
+*/
+
+#ifndef REV1_CONFIG_H
+#define REV1_CONFIG_H
+
+#include "config_common.h"
+
+#define DEVICE_VER 0x0001
+
+// wiring of each half
+#define MATRIX_ROW_PINS { B2, B6, B4, B5 }
+#define MATRIX_COL_PINS { F4, D3, D2, D1, D4 }
+
+#define CATERINA_BOOTLOADER
+
+#define USE_SERIAL
+
+// #define EE_HANDS
+
+#define I2C_MASTER_LEFT
+//#define I2C_MASTER_RIGHT
+
+/* ws2812 RGB LED */
+#define RGB_DI_PIN D3
+#define RGBLIGHT_TIMER
+#define RGBLED_NUM 12 // Number of LEDs
+#define ws2812_PORTREG PORTD
+#define ws2812_DDRREG DDRD
+
+#endif