config.h (1370B)
1 /* 2 Copyright 2020 LFKeyboards 3 This program is free software: you can redistribute it and/or modify 4 it under the terms of the GNU General Public License as published by 5 the Free Software Foundation, either version 2 of the License, or 6 (at your option) any later version. 7 This program is distributed in the hope that it will be useful, 8 but WITHOUT ANY WARRANTY; without even the implied warranty of 9 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 GNU General Public License for more details. 11 You should have received a copy of the GNU General Public License 12 along with this program. If not, see <http://www.gnu.org/licenses/>. 13 */ 14 15 #pragma once 16 17 18 // RevA 19 // #define DIODE_DIRECTION COL2ROW 20 // #define MATRIX_ROW_PINS {B7, F7, F6, F5, F4} 21 // #define MATRIX_COL_PINS {F0, F1, D2, D3, D5, D4, D6, D7, B4, B5, B6, C7, B3, B2, B1, B0} 22 23 // RevB 24 #define DIODE_DIRECTION COL2ROW 25 #define MATRIX_ROW_PINS {D6, D7, E0, C3, C4} 26 #define MATRIX_COL_PINS {F2, C5, E5, E4, B7, B6, B5, B4, B3, B2, B1, B0, E1, C0, C1, C2} 27 28 //RevB only: 29 30 #define AUDIO_VOICES 31 #define AUDIO_PIN C6 32 33 /* 34 * Feature disable options 35 * These options are also useful to firmware size reduction. 36 */ 37 38 /* disable debug print */ 39 //#define NO_DEBUG 40 41 /* disable print */ 42 //#define NO_PRINT 43 44 /* disable action features */ 45 //#define NO_ACTION_LAYER 46 //#define NO_ACTION_TAPPING 47 //#define NO_ACTION_ONESHOT