diff options
Diffstat (limited to 'quantum/pointing_device_internal.h')
| -rw-r--r-- | quantum/pointing_device_internal.h | 14 | 
1 files changed, 14 insertions, 0 deletions
| diff --git a/quantum/pointing_device_internal.h b/quantum/pointing_device_internal.h new file mode 100644 index 0000000000..ef649407ca --- /dev/null +++ b/quantum/pointing_device_internal.h @@ -0,0 +1,14 @@ +// Copyright 2022 Stefan Kerkmann +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#ifdef POINTING_DEVICE_DEBUG +#    include "debug.h" +#    include "print.h" +#    define pd_dprintf(...) dprintf(__VA_ARGS__) +#else +#    define pd_dprintf(...) \ +        do {                \ +        } while (0) +#endif | 
