config.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. This is the c configuration file for the keymap
  3. Copyright 2012 Jun Wako <wakojun@gmail.com>
  4. Copyright 2015 Jack Humbert
  5. Copyright 2017 Art Ortenburger
  6. This program is free software: you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation, either version 2 of the License, or
  9. (at your option) any later version.
  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. 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. #pragma once
  18. /* key combination for magic key command */
  19. #undef IS_COMMAND
  20. #define IS_COMMAND() ( \
  21. get_mods() == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_LALT)) \
  22. )
  23. #ifdef RGBLIGHT_ENABLE
  24. # define RGB_DI_PIN D0
  25. # define RGBLED_NUM 4
  26. #endif // !RGBLIGHT_ENABLE
  27. /*
  28. #ifdef AUDIO_ENABLE
  29. # Timer 1: #define B5_AUDIO #define B6_AUDIO #define B7_AUDIO
  30. # Timer 3: #define C4_AUDIO #define C5_AUDIO #define C6_AUDIO
  31. //TODO: only D0 and D1 available
  32. #endif // !AUDIO_ENABLE
  33. */