config.h (1734B)
1 /* 2 Copyright 2012 Jun Wako <wakojun@gmail.com> 3 Copyright 2013 Oleg Kostyuk <cub.uanic@gmail.com> 4 Copyright 2017 Erin Call <hello@erincall.com> 5 Copyright 2020 Marcus Young <myoung34@my.apsu.edu> 6 7 This program is free software: you can redistribute it and/or modify 8 it under the terms of the GNU General Public License as published by 9 the Free Software Foundation, either version 2 of the License, or 10 (at your option) any later version. 11 12 This program is distributed in the hope that it will be useful, 13 but WITHOUT ANY WARRANTY; without even the implied warranty of 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 GNU General Public License for more details. 16 17 You should have received a copy of the GNU General Public License 18 along with this program. If not, see <http://www.gnu.org/licenses/>. 19 */ 20 21 #pragma once 22 23 #define DIODE_DIRECTION COL2ROW 24 #define MATRIX_ROWS 6 25 #define MATRIX_COLS 12 26 #define COL_EXPANDED { true, true, true, true, true, true, false, false, false, false, false, false} 27 #define MATRIX_ONBOARD_ROW_PINS { F7, F6, F5, F4, F1, F0 } 28 #define MATRIX_ONBOARD_COL_PINS { 0, 0, 0, 0, 0, 0, B6, B7, D6, D2, D3, C6 } 29 #define EXPANDER_COL_REGISTER GPIOB 30 #define EXPANDER_ROW_REGISTER GPIOA 31 #define MATRIX_EXPANDER_COL_PINS {0, 1, 2, 3, 4, 5} 32 #define MATRIX_EXPANDER_ROW_PINS {0, 1, 2, 3, 4, 5} 33 34 #define MOUSEKEY_INTERVAL 20 35 #define MOUSEKEY_DELAY 0 36 #define MOUSEKEY_TIME_TO_MAX 60 37 #define MOUSEKEY_MAX_SPEED 7 38 #define MOUSEKEY_WHEEL_DELAY 0 39 40 /* key combination for command */ 41 #define IS_COMMAND() ( \ 42 get_mods() == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \ 43 get_mods() == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) \ 44 ) 45 46 /* fix space cadet rollover issue */ 47 #define DISABLE_SPACE_CADET_ROLLOVER