diff options
Diffstat (limited to 'keyboards/minidox/rev1')
| -rw-r--r-- | keyboards/minidox/rev1/Makefile | 3 | ||||
| -rw-r--r-- | keyboards/minidox/rev1/config.h | 38 | ||||
| -rw-r--r-- | keyboards/minidox/rev1/rev1.c | 1 | ||||
| -rw-r--r-- | keyboards/minidox/rev1/rev1.h | 28 | ||||
| -rw-r--r-- | keyboards/minidox/rev1/rules.mk | 5 |
5 files changed, 75 insertions, 0 deletions
diff --git a/keyboards/minidox/rev1/Makefile b/keyboards/minidox/rev1/Makefile new file mode 100644 index 000000000..4e2a6f00f --- /dev/null +++ b/keyboards/minidox/rev1/Makefile | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | ifndef MAKEFILE_INCLUDED | ||
| 2 | include ../../Makefile | ||
| 3 | endif \ No newline at end of file | ||
diff --git a/keyboards/minidox/rev1/config.h b/keyboards/minidox/rev1/config.h new file mode 100644 index 000000000..a858a5b90 --- /dev/null +++ b/keyboards/minidox/rev1/config.h | |||
| @@ -0,0 +1,38 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #ifndef REV1_CONFIG_H | ||
| 19 | #define REV1_CONFIG_H | ||
| 20 | |||
| 21 | #include "../config.h" | ||
| 22 | |||
| 23 | #define DEVICE_VER 0x0001 | ||
| 24 | |||
| 25 | // wiring of each half | ||
| 26 | #define MATRIX_ROW_PINS { B2, B6, B4, B5 } | ||
| 27 | #define MATRIX_COL_PINS { F4, D3, D2, D1, D4 } | ||
| 28 | |||
| 29 | #define CATERINA_BOOTLOADER | ||
| 30 | |||
| 31 | #define USE_SERIAL | ||
| 32 | |||
| 33 | // #define EE_HANDS | ||
| 34 | |||
| 35 | #define I2C_MASTER_LEFT | ||
| 36 | //#define I2C_MASTER_RIGHT | ||
| 37 | |||
| 38 | #endif | ||
diff --git a/keyboards/minidox/rev1/rev1.c b/keyboards/minidox/rev1/rev1.c new file mode 100644 index 000000000..72b473933 --- /dev/null +++ b/keyboards/minidox/rev1/rev1.c | |||
| @@ -0,0 +1 @@ | |||
| #include "minidox.h" | |||
diff --git a/keyboards/minidox/rev1/rev1.h b/keyboards/minidox/rev1/rev1.h new file mode 100644 index 000000000..379dbf64a --- /dev/null +++ b/keyboards/minidox/rev1/rev1.h | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | #ifndef REV1_H | ||
| 2 | #define REV1_H | ||
| 3 | |||
| 4 | #include "../minidox.h" | ||
| 5 | |||
| 6 | //void promicro_bootloader_jmp(bool program); | ||
| 7 | #include "quantum.h" | ||
| 8 | |||
| 9 | //void promicro_bootloader_jmp(bool program); | ||
| 10 | |||
| 11 | #define KEYMAP( \ | ||
| 12 | k01, k02, k03, k04, k05, k45, k44, k43, k42, k41, \ | ||
| 13 | k11, k12, k13, k14, k15, k55, k54, k53, k52, k51, \ | ||
| 14 | k21, k22, k23, k24, k25, k65, k64, k63, k62, k61, \ | ||
| 15 | k33, k34, k35, k75, k74, k73 \ | ||
| 16 | ) \ | ||
| 17 | { \ | ||
| 18 | { k01, k02, k03, k04, k05 }, \ | ||
| 19 | { k11, k12, k13, k14, k15 }, \ | ||
| 20 | { k21, k22, k23, k24, k25 }, \ | ||
| 21 | { KC_NO, KC_NO, k33, k34, k35 }, \ | ||
| 22 | { k41, k42, k43, k44, k45 }, \ | ||
| 23 | { k51, k52, k53, k54, k55 }, \ | ||
| 24 | { k61, k62, k63, k64, k65 }, \ | ||
| 25 | { KC_NO, KC_NO, k73, k74, k75 } \ | ||
| 26 | } | ||
| 27 | |||
| 28 | #endif \ No newline at end of file | ||
diff --git a/keyboards/minidox/rev1/rules.mk b/keyboards/minidox/rev1/rules.mk new file mode 100644 index 000000000..a0825b4ef --- /dev/null +++ b/keyboards/minidox/rev1/rules.mk | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | BACKLIGHT_ENABLE = no | ||
| 2 | |||
| 3 | ifndef QUANTUM_DIR | ||
| 4 | include ../../../Makefile | ||
| 5 | endif \ No newline at end of file | ||
