Skip to content

Commit

Permalink
[Split] Verify Split Pointing Device config (qmk#17481)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kriechi authored and nolanseaton committed Jan 23, 2023
1 parent 0ab9043 commit d2eec3e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions quantum/pointing_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d2eec3e

Please sign in to comment.