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.

88 lines
2.8 KiB

  1. /*
  2. This is the c configuration file for the keymap
  3. Copyright 2012 Jun Wako <wakojun@gmail.com>
  4. Copyright 2015 Jack Humbert
  5. This program is free software: you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation, either version 2 of the License, or
  8. (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  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. /* Select hand configuration */
  18. // #define MASTER_LEFT
  19. // #define MASTER_RIGHT
  20. #define EE_HANDS
  21. #define USE_SERIAL_PD2
  22. /* MIRYOKU specific configs */
  23. // Enable rapid switch from tap to hold, disables double tap hold auto-repeat.
  24. #define QUICK_TAP_TERM 0
  25. // default but important
  26. #define TAPPING_TERM 200
  27. // Recommended for heavy chording.
  28. //#define QMK_KEYS_PER_SCAN 4
  29. // Prevent normal rollover on alphas from accidentally triggering mods.
  30. // NOT NEEDED ANYMORE - IS DEFAULT NOW ANYWAYS
  31. //#define IGNORE_MOD_TAP_INTERRUPT
  32. // Consider a rapid key successions as a HOLD and not a TAP,
  33. // even if HOLD is shorter than TAPPING_TERM
  34. //#define PERMISSIVE_HOLD
  35. /* Mouse key speed and acceleration. */
  36. //// For use with QMK default mouse behavior: ////
  37. // #undef MOUSEKEY_DELAY
  38. // #define MOUSEKEY_DELAY 50
  39. // #undef MOUSEKEY_INTERVAL
  40. // #define MOUSEKEY_INTERVAL 16
  41. // #undef MOUSEKEY_WHEEL_DELAY
  42. // #define MOUSEKEY_WHEEL_DELAY 150
  43. // #undef MOUSEKEY_MAX_SPEED
  44. // #define MOUSEKEY_MAX_SPEED 7
  45. // #undef MOUSEKEY_WHEEL_MAX_SPEED
  46. // #define MOUSEKEY_WHEEL_MAX_SPEED 16
  47. // #undef MOUSEKEY_TIME_TO_MAX
  48. // #define MOUSEKEY_TIME_TO_MAX 64
  49. // #undef MOUSEKEY_WHEEL_TIME_TO_MAX
  50. // #define MOUSEKEY_WHEEL_TIME_TO_MAX 128
  51. //// For Inertia QMK mouse mode ////
  52. #define MOUSEKEY_INERTIA undefined //Enable Inertia mode
  53. #define MOUSEKEY_DELAY 150 //Delay between pressing a movement key and cursor movement
  54. #define MOUSEKEY_INTERVAL 16 //Time between cursor movements in milliseconds (16 = 60fps)
  55. #define MOUSEKEY_MAX_SPEED 32 //Maximum cursor speed at which acceleration stops
  56. #define MOUSEKEY_TIME_TO_MAX 64 //Number of frames until maximum cursor speed is reached
  57. #define MOUSEKEY_FRICTION 12 //How quickly the cursor stops after releasing a key
  58. #define MOUSEKEY_MOVE_DELTA 1 //How much to move on first frame (1 strongly recommended)
  59. /* How many combos do we use?! */
  60. #define COMBO_COUNT 2
  61. // Auto Shift
  62. // #define NO_AUTO_SHIFT_ALPHA
  63. // #define AUTO_SHIFT_TIMEOUT TAPPING_TERM
  64. // #define AUTO_SHIFT_NO_SETUP
  65. #define OLED_FONT_H "keyboards/crkbd/lib/glcdfont.c"