logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

post_config.h (3427B)


  1. /*
  2. * Copyright 2012 Jun Wako <wakojun@gmail.com>
  3. * Copyright 2015 Jack Humbert
  4. * Copyright 2021 Quentin LEBASTARD <qlebastard@gmail.com>
  5. * Copyright 2021 Charly Delay <charly@codesink.dev> (@0xcharly)
  6. *
  7. * This program is free software: you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License as published by
  9. * the Free Software Foundation, either version 2 of the License, or
  10. * (at your option) any later version.
  11. *
  12. * This program is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. * GNU General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU General Public License
  18. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  19. */
  20. #pragma once
  21. // Enable syncing of charybdis config
  22. #ifdef CHARYBDIS_CONFIG_SYNC
  23. # define SPLIT_TRANSACTION_IDS_KB RPC_ID_KB_CONFIG_SYNC
  24. #endif
  25. /* Mouse config. */
  26. #ifndef MOUSEKEY_MOVE_DELTA
  27. # ifndef MK_KINETIC_SPEED
  28. # define MOUSEKEY_MOVE_DELTA 5
  29. # else // MK_KINETIC_SPEED
  30. # define MOUSEKEY_MOVE_DELTA 25
  31. # endif // !MK_KINETIC_SPEED
  32. #endif // !MOUSEKEY_MOVE_DELTA
  33. #ifndef MOUSEKEY_DELAY
  34. # ifndef MK_KINETIC_SPEED
  35. # define MOUSEKEY_DELAY 300
  36. # else // MK_KINETIC_SPEED
  37. # define MOUSEKEY_DELAY 8
  38. # endif // !MK_KINETIC_SPEED
  39. #endif // !MOUSEKEY_DELAY
  40. #ifndef MOUSEKEY_INTERVAL
  41. # ifndef MK_KINETIC_SPEED
  42. # define MOUSEKEY_INTERVAL 50
  43. # else // MK_KINETIC_SPEED
  44. # define MOUSEKEY_INTERVAL 20
  45. # endif // !MK_KINETIC_SPEED
  46. #endif // !MOUSEKEY_INTERNAL
  47. #ifndef MOUSEKEY_MAX_SPEED
  48. # define MOUSEKEY_MAX_SPEED 7
  49. #endif // !MOUSEKEY_MAX_SPEED
  50. #ifndef MOUSEKEY_TIME_TO_MAX
  51. # define MOUSEKEY_TIME_TO_MAX 60
  52. #endif // !MOUSEKEY_TIME_TO_MAX
  53. #ifndef MOUSEKEY_INITIAL_SPEED
  54. # define MOUSEKEY_INITIAL_SPEED 100
  55. #endif // !MOUSEKEY_INITIAL_SPEED
  56. #ifndef MOUSEKEY_BASE_SPEED
  57. # define MOUSEKEY_BASE_SPEED 1000
  58. #endif // !MOUSEKEY_BASE_SPEED
  59. #ifndef MOUSEKEY_DECELERATED_SPEED
  60. # define MOUSEKEY_DECELERATED_SPEED 400
  61. #endif // !MOUSEKEY_DECELERATED_SPEED
  62. #ifndef MOUSEKEY_ACCELERATED_SPEED
  63. # define MOUSEKEY_ACCELERATED_SPEED 3000
  64. #endif // !MOUSEKEY_ACCELERATED_SPEED
  65. /* Mouse scroll config. */
  66. #ifndef MOUSEKEY_WHEEL_DELAY
  67. # define MOUSEKEY_WHEEL_DELAY 15
  68. #endif // !MOUSEKEY_WHEEL_DELAY
  69. #ifndef MOUSEKEY_WHEEL_DELTA
  70. # define MOUSEKEY_WHEEL_DELTA 1
  71. #endif // !MOUSEKEY_WHEEL_DELTA
  72. #ifndef MOUSEKEY_WHEEL_INTERVAL
  73. # define MOUSEKEY_WHEEL_INTERVAL 50
  74. #endif // !MOUSEKEY_WHEEL_INTERVAL
  75. #ifndef MOUSEKEY_WHEEL_MAX_SPEED
  76. # define MOUSEKEY_WHEEL_MAX_SPEED 8
  77. #endif // !MOUSEKEY_WHEEL_MAX_SPEED
  78. #ifndef MOUSEKEY_WHEEL_TIME_TO_MAX
  79. # define MOUSEKEY_WHEEL_TIME_TO_MAX 80
  80. #endif // !MOUSEKEY_WHEEL_TIME_TO_MAX
  81. #ifndef MOUSEKEY_WHEEL_INITIAL_MOVEMENTS
  82. # define MOUSEKEY_WHEEL_INITIAL_MOVEMENTS 8
  83. #endif // !MOUSEKEY_WHEEL_INITIAL_MOVEMENTS
  84. #ifndef MOUSEKEY_WHEEL_BASE_MOVEMENTS
  85. # define MOUSEKEY_WHEEL_BASE_MOVEMENTS 48
  86. #endif // !MOUSEKEY_WHEEL_BASE_MOVEMENTS
  87. #ifndef MOUSEKEY_WHEEL_ACCELERATED_MOVEMENTS
  88. # define MOUSEKEY_WHEEL_ACCELERATED_MOVEMENTS 48
  89. #endif // !MOUSEKEY_WHEEL_ACCELERATED_MOVEMENTS
  90. #ifndef MOUSEKEY_WHEEL_DECELERATED_MOVEMENTS
  91. # define MOUSEKEY_WHEEL_DECELERATED_MOVEMENTS 8
  92. #endif // !MOUSEKEY_WHEEL_DECELERATED_MOVEMENTS