diff options
Diffstat (limited to 'keyboards/kmac/config.h')
| -rw-r--r-- | keyboards/kmac/config.h | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/keyboards/kmac/config.h b/keyboards/kmac/config.h index 110a7ac0f..652263d2b 100644 --- a/keyboards/kmac/config.h +++ b/keyboards/kmac/config.h | |||
| @@ -15,17 +15,16 @@ 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/>. | 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 16 | */ | 16 | */ |
| 17 | 17 | ||
| 18 | #ifndef CONFIG_H | 18 | #pragma once |
| 19 | #define CONFIG_H | ||
| 20 | 19 | ||
| 21 | #include "config_common.h" | 20 | #include "config_common.h" |
| 22 | 21 | ||
| 23 | /* USB Device descriptor parameter */ | 22 | /* USB Device descriptor parameter */ |
| 24 | #define VENDOR_ID 0xFEED | 23 | #define VENDOR_ID 0xFEED |
| 25 | #define PRODUCT_ID 0x6050 | 24 | #define PRODUCT_ID 0x6050 |
| 26 | #define DEVICE_VER 0x0104 | 25 | #define DEVICE_VER 0x0104 |
| 27 | #define MANUFACTURER KBDMania | 26 | #define MANUFACTURER KBDMania |
| 28 | #define PRODUCT KMAC | 27 | #define PRODUCT KMAC |
| 29 | #define DESCRIPTION QMK keyboard firmware for KMAC | 28 | #define DESCRIPTION QMK keyboard firmware for KMAC |
| 30 | 29 | ||
| 31 | /* key matrix size */ | 30 | /* key matrix size */ |
| @@ -36,9 +35,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 36 | * Keyboard Matrix Assignments | 35 | * Keyboard Matrix Assignments |
| 37 | * The KMAC uses demultiplexers for the cols, they are only included here as documentation. | 36 | * The KMAC uses demultiplexers for the cols, they are only included here as documentation. |
| 38 | * See matrix.c for more details. | 37 | * See matrix.c for more details. |
| 39 | */ | 38 | */ |
| 40 | #define MATRIX_ROW_PINS { D0, D1, D2, D3, D5, B7 } | 39 | #define MATRIX_ROW_PINS \ |
| 41 | #define MATRIX_COL_PINS { C6, B6, F0, F1, C7, B5 } | 40 | { D0, D1, D2, D3, D5, B7 } |
| 41 | #define MATRIX_COL_PINS \ | ||
| 42 | { B6, C6, C7, F1, F0, B5 } | ||
| 42 | #define UNUSED_PINS | 43 | #define UNUSED_PINS |
| 43 | 44 | ||
| 44 | /* COL2ROW, ROW2COL*/ | 45 | /* COL2ROW, ROW2COL*/ |
| @@ -169,5 +170,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 169 | 170 | ||
| 170 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ | 171 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ |
| 171 | //#define MIDI_TONE_KEYCODE_OCTAVES 1 | 172 | //#define MIDI_TONE_KEYCODE_OCTAVES 1 |
| 172 | |||
| 173 | #endif | ||
