diff options
author | That-Canadian <poole.chris.11@gmail.com> | 2017-07-10 00:46:19 -0400 |
---|---|---|
committer | That-Canadian <poole.chris.11@gmail.com> | 2017-07-10 00:46:19 -0400 |
commit | 9312b9db6c94f0ed5e17d4cc9904bd0b72de5298 (patch) | |
tree | 4022f27eafc7a94b30b31bca4074b775176b57ac /keyboards/minidox/rev1/config.h | |
parent | 707f4efd99f4dfd7213540f7ee86f0fe8e6ad634 (diff) |
Added MiniDox keyboard folder / configs / and some keymaps
Diffstat (limited to 'keyboards/minidox/rev1/config.h')
-rw-r--r-- | keyboards/minidox/rev1/config.h | 45 |
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 0000000000..4370e7d736 --- /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 |