config.h 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. #include "config_common.h"
  18. /* Defaults */
  19. #define VERSION "v1.1: ClayM"
  20. #define VERBOSE
  21. #define FORCE_NKRO
  22. #define NO_ACTION_FUNCTION
  23. #define NO_ACTION_ONESHOT
  24. #define NO_ACTION_MACRO
  25. #define IGNORE_MOD_TAP_INTERRUPT
  26. /* USB Device descriptor parameter */
  27. #define VENDOR_ID 0xFEED
  28. #define PRODUCT_ID 0x1337
  29. #define DEVICE_VER 0x0001
  30. #define MANUFACTURER g Heavy Industries
  31. #define PRODUCT Georgi
  32. /* key matrix size */
  33. #define MATRIX_ROWS 14
  34. #define MATRIX_ROWS_PER_SIDE (MATRIX_ROWS / 2)
  35. #define MATRIX_COLS 4
  36. #define MOUSEKEY_INTERVAL 20
  37. #define MOUSEKEY_DELAY 0
  38. #define MOUSEKEY_TIME_TO_MAX 60
  39. #define MOUSEKEY_MAX_SPEED 7
  40. #define MOUSEKEY_WHEEL_DELAY 0
  41. #define TAPPING_TOGGLE 2
  42. /* define if matrix has ghost */
  43. //#define MATRIX_HAS_GHOST
  44. #define TAPPING_TERM 200
  45. #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.)
  46. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  47. #define LOCKING_SUPPORT_ENABLE
  48. /* Locking resynchronize hack */
  49. #define LOCKING_RESYNC_ENABLE
  50. /* key combination for command */
  51. #define IS_COMMAND() ( \
  52. get_mods() == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \
  53. get_mods() == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) \
  54. )
  55. #define DEBOUNCE 5
  56. #define USB_MAX_POWER_CONSUMPTION 500