You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.6 KiB

  1. /**
  2. * Copyright (C) 2021 Jerrell, Jacob <@jjerrell>
  3. *
  4. * This file is part of qmk_firmware.
  5. *
  6. * qmk_firmware 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 3 of the License, or
  9. * (at your option) any later version.
  10. *
  11. * qmk_firmware is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with qmk_firmware. If not, see <http://www.gnu.org/licenses/>.
  18. */
  19. #pragma once
  20. #include QMK_KEYBOARD_H
  21. /** QMK Includes **/
  22. #include "version.h"
  23. #include "eeprom.h"
  24. #include "muse.h"
  25. #include "process_records.h"
  26. #include "wrappers.h"
  27. /************************* Userspace Layers *************************
  28. * Keymaps can define additional layers by making the first case
  29. * equal to `LAYER_SAFE_RANGE`
  30. ********************************************************************/
  31. enum userspace_layers {
  32. _WORKMAN,
  33. _QWERTY,
  34. _LOWER,
  35. _RAISE,
  36. _ADJUST,
  37. _SPECIAL,
  38. _GAME,
  39. LAYER_SAFE_RANGE,
  40. };
  41. void matrix_scan_keymap(void);
  42. layer_state_t layer_state_set_keymap(layer_state_t state);
  43. void dip_switch_update_keymap(uint8_t index, bool active);
  44. bool music_mask_keymap(uint16_t keycode);
  45. layer_state_t default_layer_state_set_keymap(layer_state_t state);
  46. void startup_keymap(void);
  47. void shutdown_keymap(void);
  48. void music_on_keymap(void);