diff options
| author | Stefan Kerkmann <karlk90@pm.me> | 2022-08-29 19:16:49 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-29 19:16:49 +0200 |
| commit | e99ec28f5fffc41ce2662e883f7e9b56383d758b (patch) | |
| tree | 121c7473da8a04ebffa8d848bdaca22b7b3ec5e6 /quantum/pointing_device_internal.h | |
| parent | d910e8df77150bab0b9cc2c3794554b4c8c81d71 (diff) | |
[Core] Introduce pointing device specific debug messages (#17663)
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 @@ | |||
| 1 | // Copyright 2022 Stefan Kerkmann | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #pragma once | ||
| 5 | |||
| 6 | #ifdef POINTING_DEVICE_DEBUG | ||
| 7 | # include "debug.h" | ||
| 8 | # include "print.h" | ||
| 9 | # define pd_dprintf(...) dprintf(__VA_ARGS__) | ||
| 10 | #else | ||
| 11 | # define pd_dprintf(...) \ | ||
| 12 | do { \ | ||
| 13 | } while (0) | ||
| 14 | #endif | ||
