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.

19 lines
651 B

  1. // Copyright 2022 takashicompany (@takashicompany)
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #pragma once
  4. #define DYNAMIC_KEYMAP_LAYER_COUNT 7
  5. //------------------------------------------------------------------------------
  6. // Rotary Encoder
  7. //------------------------------------------------------------------------------
  8. // Encoder triggers specific key matrix position,
  9. // when turn knob clockwise or counterclockwise.
  10. // This is handy to assign key codes by VIA.
  11. // Number of endoder
  12. #define ENCODERS 1
  13. // Mappings of encoder rotation to key position in key matrix.
  14. #define ENCODERS_CW_KEY { { 0, 4 }}
  15. #define ENCODERS_CCW_KEY { { 6, 0 }}