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.

56 lines
1.7 KiB

  1. /* Copyright 2020
  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 "config_common.h"
  18. /* USB Device descriptor parameter */
  19. #define FW_VER QMK_DM3T
  20. #define VENDOR_ID 0x9D5B
  21. #define PRODUCT_ID 0x2163
  22. #define DEVICE_VER 0x0001
  23. #define MANUFACTURER YDKB
  24. #define PRODUCT Mountain (FW_VER)
  25. /* key matrix size */
  26. #define MATRIX_ROWS 5
  27. #define MATRIX_COLS 16
  28. #define MOUSEKEY_INTERVAL 20
  29. #define MOUSEKEY_DELAY 0
  30. #define MOUSEKEY_TIME_TO_MAX 60
  31. #define MOUSEKEY_MAX_SPEED 7
  32. #define MOUSEKEY_WHEEL_DELAY 0
  33. #define TAPPING_TOGGLE 1
  34. #define TAPPING_TERM 200
  35. #define IGNORE_MOD_TAP_INTERRUPT // this makes it possible to do rolling combos (zx) with keys that convert to other keys on hold (z becomes ctrl when you hold it, and when this option isn't enabled, z rapidly followed by x actually sends Ctrl-x. That's bad.)
  36. /* key combination for command */
  37. #define IS_COMMAND() ( \
  38. get_mods() == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) \
  39. )
  40. /* fix space cadet rollover issue */
  41. #define DISABLE_SPACE_CADET_ROLLOVER
  42. /* NKRO */
  43. #ifndef FORCE_NKRO
  44. #define FORCE_NKRO // Depends on NKRO_ENABLE.
  45. #endif