Commit | Line | Data |
---|---|---|
f360c27f S |
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 | ||
737bca8e | 21 | |
f360c27f S |
22 | /* USB Device descriptor parameter */ |
23 | #define VENDOR_ID 0xFEED | |
24 | #define PRODUCT_ID 0x3060 | |
25 | #define DEVICE_VER 0x0002 | |
26 | #define MANUFACTURER Salicylic_Acid | |
27 | #define PRODUCT naked60 | |
28 | #define DESCRIPTION Ortholinear 60 Keys Keyboard | |
29 | ||
f360c27f S |
30 | /* key matrix size */ |
31 | #define MATRIX_ROWS 10 | |
737bca8e | 32 | #define MATRIX_COLS 12 |
f360c27f S |
33 | |
34 | // Rows are doubled-up | |
35 | #define MATRIX_ROW_PINS { B6, D1, D0, D4, C6 } | |
f360c27f | 36 | #define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2, D7, E6, B4, B5, D3 } |
737bca8e S |
37 | // When using Setta21 |
38 | #define MATRIX_ROW_PINS_RIGHT { D4, C6, D7, E6, B2 } | |
39 | #define MATRIX_COL_PINS_RIGHT { F4, F5, F6, F7, B1, B3, B2, B6, B4, B5, B2, B2 } | |
40 | // When using Nafuda | |
41 | //#define MATRIX_ROW_PINS_RIGHT { D1, D0, D4, C6, B6 } | |
42 | //#define MATRIX_COL_PINS_RIGHT { F4, F5, F6, F7, B1, B3, B2, D7, E6, B4, B5, D3 } | |
f360c27f S |
43 | |
44 | /* Set 0 if debouncing isn't needed */ | |
45 | #define DEBOUNCE 5 | |
46 | ||
737bca8e S |
47 | /* serial.c configuration for split keyboard */ |
48 | #define SOFT_SERIAL_PIN D2 | |
49 | ||
f360c27f | 50 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
737bca8e | 51 | #define LOCKING_SUPPORT_ENABLE |
f360c27f | 52 | /* Locking resynchronize hack */ |
737bca8e | 53 | #define LOCKING_RESYNC_ENABLE |