diff options
author | coderkun <olli@coderkun.de> | 2017-04-01 10:56:29 +0200 |
---|---|---|
committer | coderkun <olli@coderkun.de> | 2017-04-01 10:56:29 +0200 |
commit | 605c4129cc89e8fe647881108b0c9c79d4da1aea (patch) | |
tree | 9af55a60d567bd66b5c8572c04ab63b62abb5a02 /quantum/config_common.h | |
parent | b0ade6dc9838d4112cbc3093ac3033aa81ef172d (diff) | |
parent | 3448d5d4874a2775f85320a2be69edd241575d46 (diff) | |
download | firmware-605c4129cc89e8fe647881108b0c9c79d4da1aea.tar.gz firmware-605c4129cc89e8fe647881108b0c9c79d4da1aea.tar.bz2 firmware-605c4129cc89e8fe647881108b0c9c79d4da1aea.zip |
Merge branch 'master' into coderkun_neo2
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 17c11faeb..c88e02d91 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 |