Board.h 1.8 KB

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