bootmagic.h (1264B)
1 /* Copyright 2021 QMK 2 * 3 * This program is free software: you can redistribute it and/or modify 4 * it under the terms of the GNU General Public License as published by 5 * the Free Software Foundation, either version 3 of the License, or 6 * (at your option) any later version. 7 * 8 * This program is distributed in the hope that it will be useful, 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 * GNU General Public License for more details. 12 * 13 * You should have received a copy of the GNU General Public License 14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 15 */ 16 #pragma once 17 18 // ======== DEPRECATED DEFINES - DO NOT USE ======== 19 #ifdef BOOTMAGIC_LITE_ROW 20 # define BOOTMAGIC_ROW BOOTMAGIC_LITE_ROW 21 #endif 22 #ifdef BOOTMAGIC_LITE_COLUMN 23 # define BOOTMAGIC_COLUMN BOOTMAGIC_LITE_COLUMN 24 #endif 25 #ifdef BOOTMAGIC_LITE_ROW_RIGHT 26 # define BOOTMAGIC_ROW_RIGHT BOOTMAGIC_LITE_ROW_RIGHT 27 #endif 28 #ifdef BOOTMAGIC_LITE_COLUMN_RIGHT 29 # define BOOTMAGIC_COLUMN_RIGHT BOOTMAGIC_LITE_COLUMN_RIGHT 30 #endif 31 // ======== 32 33 #ifndef BOOTMAGIC_COLUMN 34 # define BOOTMAGIC_COLUMN 0 35 #endif 36 #ifndef BOOTMAGIC_ROW 37 # define BOOTMAGIC_ROW 0 38 #endif 39 40 void bootmagic(void);