config.h (1287B)
1 /* Copyright 2020 ZSA Technology Labs, Inc <@zsa> 2 * Copyright 2020 Jack Humbert <jack.humb@gmail.com> 3 * Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> 4 * 5 * This program is free software: you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation, either version 2 of the License, or 8 * (at your option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program. If not, see <http://www.gnu.org/licenses/>. 17 */ 18 19 #pragma once 20 21 /* key matrix size */ 22 #define MATRIX_ROWS 12 23 #define MATRIX_COLS 7 24 25 #define EEPROM_I2C_24LC128 26 27 #define IS31FL3731_I2C_ADDRESS_1 IS31FL3731_I2C_ADDRESS_GND 28 #define IS31FL3731_I2C_ADDRESS_2 IS31FL3731_I2C_ADDRESS_VCC 29 30 #define MUSIC_MAP 31 32 #define FIRMWARE_VERSION_SIZE 17 33 #define DYNAMIC_KEYMAP_EEPROM_ADDR (EECONFIG_SIZE + FIRMWARE_VERSION_SIZE) 34 35 #define AUDIO_PIN A5 36 #define AUDIO_PIN_ALT A4 37 #define AUDIO_PIN_ALT_AS_NEGATIVE