config.h 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. /* Copyright 2020 Pierre Chevalier <pierrechevalier83@gmail.com>
  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. #ifdef OLED_DRIVER_ENABLE
  18. #define OLED_DISPLAY_128X64
  19. #endif
  20. #ifdef RGBLIGHT_ENABLE
  21. #define RGBLIGHT_ANIMATIONS
  22. #define RGBLIGHT_HUE_STEP 8
  23. #define RGBLIGHT_SAT_STEP 8
  24. #define RGBLIGHT_VAL_STEP 8
  25. #endif
  26. #ifdef ENCODER_ENABLE
  27. #define ENCODER_DIRECTION_FLIP
  28. #define ENCODER_RESOLUTION 2
  29. #endif
  30. #define TAPPING_TERM 200
  31. #define PERMISSIVE_HOLD
  32. #define IGNORE_MOD_TAP_INTERRUPT
  33. #define TAPPING_FORCE_HOLD
  34. // Allows to use either side as the master. Look at the documentation for info:
  35. // https://docs.qmk.fm/#/config_options?id=setting-handedness
  36. #define EE_HANDS
  37. // Allows media codes to properly register in macros and rotary encoder code
  38. #define TAP_CODE_DELAY 10
  39. // If you are using an Elite C rev3 on the slave side, uncomment the lines below:
  40. // #define SPLIT_USB_DETECT
  41. // #define NO_USB_STARTUP_CHECK
  42. // Set the mouse settings to a comfortable speed/accuracy trade-off
  43. // Assume the screen refresh rate is 60 Htz or higher
  44. // The default is 50. This makes the mouse ~3 times faster and more accurate
  45. #define MOUSEKEY_INTERVAL 16
  46. // The default is 20. Since we made the mouse about 3 times faster with the previous setting,
  47. // give it more time to accelerate to max speed to retain precise control over short distances.
  48. #define MOUSEKEY_TIME_TO_MAX 40
  49. // The default is 300. Let's try and make this as low as possible while keeping the cursor responsive
  50. #define MOUSEKEY_DELAY 100
  51. // It makes sense to use the same delay for the mouseweel
  52. #define MOUSEKEY_WHEEL_DELAY 100
  53. // The default is 100
  54. #define MOUSEKEY_WHEEL_INTERVAL 50
  55. // The default is 40
  56. #define MOUSEKEY_WHEEL_TIME_TO_MAX 100