diff options
Diffstat (limited to 'keyboards/yosino58/rev1/config.h')
-rw-r--r-- | keyboards/yosino58/rev1/config.h | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/keyboards/yosino58/rev1/config.h b/keyboards/yosino58/rev1/config.h new file mode 100644 index 000000000..a9f4f666e --- /dev/null +++ b/keyboards/yosino58/rev1/config.h | |||
@@ -0,0 +1,72 @@ | |||
1 | /* | ||
2 | Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
3 | Copyright 2015 Jack Humbert | ||
4 | |||
5 | This program is free software: you can redistribute it and/or modify | ||
6 | it under the terms of the GNU General Public License as published by | ||
7 | the Free Software Foundation, either version 2 of the License, or | ||
8 | (at your option) any later version. | ||
9 | |||
10 | This program is distributed in the hope that it will be useful, | ||
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | GNU General Public License for more details. | ||
14 | |||
15 | You should have received a copy of the GNU General Public License | ||
16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
17 | */ | ||
18 | |||
19 | #pragma once | ||
20 | |||
21 | /* USB Device descriptor parameter */ | ||
22 | #define VENDOR_ID 0x0F6A | ||
23 | #define PRODUCT_ID 0x01B8 | ||
24 | #define DEVICE_VER 0x0001 | ||
25 | #define MANUFACTURER sakuranbo0046 | ||
26 | #define PRODUCT yosino58 | ||
27 | #define DESCRIPTION yosino58 is 6~4+5keys column-staggered split keyboard. | ||
28 | |||
29 | /* key matrix size */ | ||
30 | // Rows are doubled-up | ||
31 | #define MATRIX_ROWS 10 | ||
32 | #define MATRIX_COLS 6 | ||
33 | |||
34 | // wiring of each half | ||
35 | #define MATRIX_ROW_PINS { D4, C6, D7, E6, B4 } | ||
36 | #define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3 } | ||
37 | |||
38 | /* define if matrix has ghost */ | ||
39 | //#define MATRIX_HAS_GHOST | ||
40 | |||
41 | /* number of backlight levels */ | ||
42 | // #define BACKLIGHT_LEVELS 3 | ||
43 | |||
44 | /* Set 0 if debouncing isn't needed */ | ||
45 | #define DEBOUNCING_DELAY 5 | ||
46 | |||
47 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
48 | //#define LOCKING_SUPPORT_ENABLE | ||
49 | /* Locking resynchronize hack */ | ||
50 | //#define LOCKING_RESYNC_ENABLE | ||
51 | |||
52 | /* ws2812 RGB LED */ | ||
53 | #define RGB_DI_PIN D3 | ||
54 | #define RGBLED_NUM 12 // Number of LEDs | ||
55 | |||
56 | /* | ||
57 | * Feature disable options | ||
58 | * These options are also useful to firmware size reduction. | ||
59 | */ | ||
60 | |||
61 | /* disable debug print */ | ||
62 | // #define NO_DEBUG | ||
63 | |||
64 | /* disable print */ | ||
65 | // #define NO_PRINT | ||
66 | |||
67 | /* disable action features */ | ||
68 | //#define NO_ACTION_LAYER | ||
69 | //#define NO_ACTION_TAPPING | ||
70 | //#define NO_ACTION_ONESHOT | ||
71 | //#define NO_ACTION_MACRO | ||
72 | //#define NO_ACTION_FUNCTION | ||