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.

15 lines
424 B

  1. // Copyright 2022 Nick Brassel (@tzarc)
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #pragma once
  4. #include <stdint.h>
  5. // Get the number of layers defined in the keymap
  6. uint8_t keymap_layer_count(void);
  7. #if defined(ENCODER_ENABLE) && defined(ENCODER_MAP_ENABLE)
  8. // Get the number of layers defined in the encoder map
  9. uint8_t encodermap_layer_count(void);
  10. #endif // defined(ENCODER_ENABLE) && defined(ENCODER_MAP_ENABLE)