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