This website works better with JavaScript.
Home
Explore
Help
Sign In
mh
/
qmk_firmware
mirror of
https://github.com/qmk/qmk_firmware/
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
1.6k
Wiki
Activity
Browse Source
[Split] Verify Split Pointing Device config (
#17481
)
pull/16090/head
Thomas Kriechbaumer
1 year ago
committed by
GitHub
parent
01bc974365
commit
0d013a21e1
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
1 changed files
with
7 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+7
-0
quantum/pointing_device.c
+ 7
- 0
quantum/pointing_device.c
View File
@ -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"
Write
Preview
Loading…
Cancel
Save