config.h (1512B)
1 /* 2 Copyright 201 Nicolas Poirey <nicolas.poirey@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 #pragma once 19 20 21 /* key matrix size */ 22 #define MATRIX_ROWS 16 23 #define MATRIX_COLS 6 24 25 #define LED_BRIGHTNESS_LO 15 26 #define LED_BRIGHTNESS_HI 255 27 28 #define MOUSEKEY_INTERVAL 20 29 #define MOUSEKEY_DELAY 0 30 #define MOUSEKEY_TIME_TO_MAX 5 31 #define MOUSEKEY_MAX_SPEED 2 32 #define MOUSEKEY_WHEEL_DELAY 0 33 34 /* key combination for command */ 35 #define IS_COMMAND() ( \ 36 get_mods() == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \ 37 get_mods() == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) \ 38 ) 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 55 56 //#define DEBUG_MATRIX_SCAN_RATE