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.

60 lines
1.9 KiB

  1. /*
  2. Copyright 2012 Jun Wako <wakojun@gmail.com>
  3. Copyright 2013 Oleg Kostyuk <cub.uanic@gmail.com>
  4. This program is free software: you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation, either version 2 of the License, or
  7. (at your option) any later version.
  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. You should have received a copy of the GNU General Public License
  13. along with this program. If not, see <http://www.gnu.org/licenses/>.
  14. */
  15. // Copy and worked on with love from the EZ team
  16. #pragma once
  17. /* Defaults */
  18. #ifndef BALLSTEP
  19. #define BALLSTEP 20
  20. #endif
  21. #ifndef SCROLLSTEP
  22. #define SCROLLSTEP 1
  23. #endif
  24. #define VERBOSE
  25. /* key matrix size */
  26. #define MATRIX_ROWS 14
  27. #define MATRIX_ROWS_PER_SIDE (MATRIX_ROWS / 2)
  28. #define MATRIX_COLS 4
  29. #define MOUSEKEY_INTERVAL 20
  30. #define MOUSEKEY_DELAY 0
  31. #define MOUSEKEY_TIME_TO_MAX 60
  32. #define MOUSEKEY_MAX_SPEED 7
  33. #define MOUSEKEY_WHEEL_DELAY 0
  34. #define TAPPING_TOGGLE 1
  35. #define TAPPING_TERM 200
  36. #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.)
  37. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  38. #define LOCKING_SUPPORT_ENABLE
  39. /* Locking resynchronize hack */
  40. #define LOCKING_RESYNC_ENABLE
  41. /* key combination for command */
  42. #define IS_COMMAND() ( \
  43. get_mods() == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \
  44. get_mods() == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) \
  45. )
  46. #define USB_MAX_POWER_CONSUMPTION 500