]> git.donarmstrong.com Git - qmk_firmware.git/blob - LUFA/Drivers/Board/AVR8/QMK/Board.h
19a0f2dfeea9ace10209d3f7875778b3aeeb8c6c
[qmk_firmware.git] / LUFA / Drivers / Board / AVR8 / QMK / Board.h
1 /*\r
2 Copyright 2017 Jack Humbert\r
3 \r
4 This program is free software: you can redistribute it and/or modify\r
5 it under the terms of the GNU General Public License as published by\r
6 the Free Software Foundation, either version 2 of the License, or\r
7 (at your option) any later version.\r
8 \r
9 This program is distributed in the hope that it will be useful,\r
10 but WITHOUT ANY WARRANTY; without even the implied warranty of\r
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
12 GNU General Public License for more details.\r
13 \r
14 You should have received a copy of the GNU General Public License\r
15 along with this program.  If not, see <http://www.gnu.org/licenses/>.\r
16 */\r
17 \r
18 /** \file\r
19  *  \brief General driver header for QMK-powered keyboards.\r
20  *  \copydetails Group_BoardInfo_QMK\r
21  *\r
22  *  \note This file should not be included directly. It is automatically included as needed by the Board driver\r
23  *        dispatch header located in LUFA/Drivers/Board/Board.h.\r
24  */\r
25 \r
26 /** \ingroup Group_BoardInfo\r
27  *  \defgroup Group_BoardInfo_QMK QMK\r
28  *  \brief General driver header for QMK-powered keyboards.\r
29  *\r
30  *  General driver header for QMK-powered keyboards (http://qmk.fm).\r
31  *\r
32  *  @{\r
33  */\r
34 \r
35 #ifndef __BOARD_QMK_H__\r
36 #define __BOARD_QMK_H__\r
37 \r
38         /* Includes: */\r
39                 #include "../../../../Common/Common.h"\r
40                 #include "../../LEDs.h"\r
41 \r
42         /* Enable C linkage for C++ Compilers: */\r
43                 #if defined(__cplusplus)\r
44                         extern "C" {\r
45                 #endif\r
46 \r
47         /* Preprocessor Checks: */\r
48                 #if !defined(__INCLUDE_FROM_BOARD_H)\r
49                         #error Do not include this file directly. Include LUFA/Drivers/Board/Board.h instead.\r
50                 #endif\r
51 \r
52         /* Public Interface - May be used in end-application: */\r
53                 /* Macros: */\r
54                         /** Indicates the board has hardware LEDs mounted. */\r
55                         #define BOARD_HAS_LEDS\r
56 \r
57         /* Disable C linkage for C++ Compilers: */\r
58                 #if defined(__cplusplus)\r
59                         }\r
60                 #endif\r
61 \r
62 #endif\r
63 \r
64 /** @} */\r
65 \r