config.h (1456B)
1 /* Copyright 2019 Branden Byers 2 * 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 * 8 * This program is distributed in the hope that it will be useful, 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 * GNU General Public License for more details. 12 * 13 * You should have received a copy of the GNU General Public License 14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 15 */ 16 17 #pragma once 18 19 #define AUDIO_CLICKY 20 21 #define DAC_SAMPLE_MAX 65535U 22 23 // Audio Click 24 25 // Music Mode Polyphony 26 // NOTE: Must change polyphony_rate to a number higher than 0 in voices.c 27 #define AUDIO_VOICES 28 #define PITCH_STANDARD_A 880.0f 29 #define AUDIO_PIN A5 30 #define AUDIO_PIN_ALT A4 31 #define AUDIO_PIN_ALT_AS_NEGATIVE 32 33 // Mouse keys 34 #define MOUSEKEY_DELAY 0 35 #define MOUSEKEY_INTERVAL 20 36 #define MOUSEKEY_MAX_SPEED 2 37 #define MOUSEKEY_TIME_TO_MAX 5 38 #define MOUSEKEY_WHEEL_DELAY 0 39 40 /* 41 * Feature disable options 42 * These options are also useful to firmware size reduction. 43 */ 44 45 /* disable debug print */ 46 //#define NO_DEBUG 47 48 /* disable print */ 49 //#define NO_PRINT 50 51 /* disable action features */ 52 //#define NO_ACTION_LAYER 53 //#define NO_ACTION_TAPPING 54 //#define NO_ACTION_ONESHOT