aboutsummaryrefslogtreecommitdiff
path: root/quantum/mousekey.h
diff options
context:
space:
mode:
authorフィルターペーパー <[email protected]>2024-08-19 10:18:28 +0800
committerGitHub <[email protected]>2024-08-19 03:18:28 +0100
commit21b84596e7c372eeeedcf41a32c6c25379cd8f0e (patch)
tree163aca400e9e96033b934bf068a55d3c240affec /quantum/mousekey.h
parente9cb9f42a511afd24a47812b5cf83895e8936744 (diff)
downloadqmk_firmware-21b84596e7c372eeeedcf41a32c6c25379cd8f0e.tar.gz
qmk_firmware-21b84596e7c372eeeedcf41a32c6c25379cd8f0e.zip
Enhance overlapping mouse keys control (#23341)
Enhance the overlapping mouse key press acceleration (introduced in #21494) with user preprocessor controls.
Diffstat (limited to 'quantum/mousekey.h')
-rw-r--r--quantum/mousekey.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/quantum/mousekey.h b/quantum/mousekey.h
index 73380b743a..e7a790b9a9 100644
--- a/quantum/mousekey.h
+++ b/quantum/mousekey.h
@@ -174,6 +174,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#endif /* #ifndef MK_3_SPEED */
+#ifndef MOUSEKEY_OVERLAP_MOVE_DELTA
+# define MOUSEKEY_OVERLAP_MOVE_DELTA MOUSEKEY_MOVE_DELTA
+#endif
+#ifndef MOUSEKEY_OVERLAP_WHEEL_DELTA
+# define MOUSEKEY_OVERLAP_WHEEL_DELTA MOUSEKEY_WHEEL_DELTA
+#endif
+#ifndef MOUSEKEY_OVERLAP_INTERVAL
+# define MOUSEKEY_OVERLAP_INTERVAL MOUSEKEY_INTERVAL
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif