diff options
Diffstat (limited to 'quantum/config_common.h')
-rw-r--r-- | quantum/config_common.h | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/quantum/config_common.h b/quantum/config_common.h index 17c11faeb6..c88e02d918 100644 --- a/quantum/config_common.h +++ b/quantum/config_common.h @@ -1,9 +1,27 @@ +/* Copyright 2015-2017 Jack Humbert + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + #ifndef CONFIG_DEFINITIONS_H #define CONFIG_DEFINITIONS_H /* diode directions */ -#define COL2ROW 0 -#define ROW2COL 1 +#define COL2ROW 0 +#define ROW2COL 1 +#define CUSTOM_MATRIX 2 /* Disables built-in matrix scanning code */ + /* I/O pins */ #ifndef F0 #define B0 0x30 @@ -80,4 +98,6 @@ # endif #endif +#define API_SYSEX_MAX_SIZE 32 + #endif |