muppetjones.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /* Copyright 2020 Stephen J. Bush @muppetjones
  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. #pragma once
  17. #include QMK_KEYBOARD_H
  18. #include "tapmods.h"
  19. #include "wrappers.h"
  20. #include "features/casemodes.h"
  21. #ifdef COMBO_ENABLE
  22. # include "features/combos.h"
  23. #endif
  24. #ifdef ENCODER_ENABLE
  25. # include "features/etchamouse.h"
  26. #endif
  27. #ifdef RGBLIGHT_ENABLE
  28. # include "features/rgblayers.h"
  29. #endif
  30. #ifdef TAP_DANCE_ENABLE
  31. # include "features/dancelayers.h"
  32. #endif
  33. /* Define layer names */
  34. enum userspace_layers {
  35. _CLMK_DH = 0,
  36. _QWERTY,
  37. _MOUSE, // Intended for encoders. Mostly pass through.
  38. _LOWER,
  39. _RAISE,
  40. _NAV,
  41. _ADJUST,
  42. };
  43. // for casemodes
  44. enum custom_keycodes {
  45. CLMK_DH = SAFE_RANGE,
  46. QWERTY,
  47. };