util_names.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /*
  2. Copyright 2018-2022 Eric Gebhart <e.a.gebhart@gmail.com>
  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. // transient layers which are language agnostic.
  15. #ifdef NAV_LAYER_ENABLE
  16. _NAV,
  17. #ifdef MOUSEKEY_ENABLE
  18. _NAVm,
  19. #endif
  20. #endif
  21. #ifdef MEDIA_LAYER_ENABLE
  22. _MEDIA,
  23. #endif
  24. #ifdef FUNC_LAYER_ENABLE
  25. _FUN,
  26. #endif
  27. #ifdef RGB_LAYER_ENABLE
  28. _RGB,
  29. #define TO_RGB MO(_RGB)
  30. #else
  31. #define TO_RGB ___
  32. #endif
  33. #ifdef ADJUST_LAYER_ENABLE
  34. _ADJUST,
  35. #define MO_ADJUST MO(_ADJUST)
  36. #else
  37. #define MO_ADJUST ___
  38. #endif
  39. #ifdef COMBO_REF_LAYER_ENABLE
  40. _COMBO_REF,
  41. // set the combo reference layer if we have one.
  42. #undef COMBO_REF_DEFAULT
  43. #define COMBO_REF_DEFAULT _COMBO_REF
  44. #endif
  45. #ifdef COMBO_REF_LAYER_TWO_ENABLE
  46. _COMBO_REF2,
  47. #endif