summaryrefslogtreecommitdiff
path: root/quantum
diff options
context:
space:
mode:
authorThomas Kriechbaumer <Kriechi@users.noreply.github.com>2022-06-26 18:15:25 +0200
committerGitHub <noreply@github.com>2022-06-26 09:15:25 -0700
commit0d013a21e1347fc38e742b2bd876329e86c153a9 (patch)
tree3ad433cc1bd90b294ea7e191caba88f591cd84a6 /quantum
parent01bc974365581da6563e2bbd2425233d97280fdd (diff)
downloadqmk_firmware-0d013a21e1347fc38e742b2bd876329e86c153a9.tar.gz
qmk_firmware-0d013a21e1347fc38e742b2bd876329e86c153a9.zip
[Split] Verify Split Pointing Device config (#17481)
Diffstat (limited to 'quantum')
-rw-r--r--quantum/pointing_device.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/quantum/pointing_device.c b/quantum/pointing_device.c
index 3c2e2bc09d..3aa4941687 100644
--- a/quantum/pointing_device.c
+++ b/quantum/pointing_device.c
@@ -25,6 +25,13 @@
#if (defined(POINTING_DEVICE_ROTATION_90) + defined(POINTING_DEVICE_ROTATION_180) + defined(POINTING_DEVICE_ROTATION_270)) > 1
# error More than one rotation selected. This is not supported.
#endif
+
+#if defined(POINTING_DEVICE_LEFT) || defined(POINTING_DEVICE_RIGHT) || defined(POINTING_DEVICE_COMBINED)
+# ifndef SPLIT_POINTING_ENABLE
+# error "Using POINTING_DEVICE_LEFT or POINTING_DEVICE_RIGHT or POINTING_DEVICE_COMBINED, then SPLIT_POINTING_ENABLE is required but has not been defined"
+# endif
+#endif
+
#if defined(SPLIT_POINTING_ENABLE)
# include "transactions.h"
# include "keyboard.h"