keymap.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /* Copyright 2020 elijahblake81
  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 2 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. #include QMK_KEYBOARD_H
  17. // HID has not yet been implemented for this keyboard
  18. // #include "raw_hid.h"
  19. #define MILLISECONDS_IN_SECOND 1000
  20. // These are just to make it neater to use builtin HSV values in the keymap
  21. #define RED {HSV_RED}
  22. #define CORAL {HSV_CORAL}
  23. #define ORANGE {HSV_ORANGE}
  24. #define GOLDEN {HSV_GOLDENROD}
  25. #define GOLD {HSV_GOLD}
  26. #define YELLOW {HSV_YELLOW}
  27. #define CHART {HSV_CHARTREUSE}
  28. #define GREEN {HSV_GREEN}
  29. #define SPRING {HSV_SPRINGGREEN}
  30. #define TURQ {HSV_TURQUOISE}
  31. #define TEAL {HSV_TEAL}
  32. #define CYAN {HSV_CYAN}
  33. #define AZURE {HSV_AZURE}
  34. #define BLUE {HSV_BLUE}
  35. #define PURPLE {HSV_PURPLE}
  36. #define MAGENT {HSV_MAGENTA}
  37. #define PINK {HSV_PINK}
  38. //========================================================== CONFIGURABLE DEFAULTS ==========================================================
  39. extern bool g_suspend_state;
  40. extern rgb_config_t rgb_matrix_config;
  41. bool disable_layer_color;
  42. enum alt_keycodes {
  43. U_T_AUTO = SAFE_RANGE, // USB Extra Port Toggle Auto Detect / Always Active
  44. U_T_AGCR, // USB Toggle Automatic GCR control
  45. DBG_TOG, // DEBUG Toggle On / Off
  46. DBG_MTRX, // DEBUG Toggle Matrix Prints
  47. DBG_KBD, // DEBUG Toggle Keyboard Prints
  48. DBG_MOU, // DEBUG Toggle Mouse Prints
  49. MD_BOOT, // Restart into bootloader after hold timeout
  50. };