1
0
Fork 0
qmk_firmware/quantum/pointing_device_internal.h

18 lines
491 B
C
Raw Normal View History

// Copyright 2022 Stefan Kerkmann
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#ifdef POINTING_DEVICE_DEBUG
# include "debug.h"
# include "print.h"
2024-10-19 14:10:45 -07:00
# define pd_dprintf(fmt, ...) \
do { \
if (debug_config.pointing) xprintf(fmt, ##__VA_ARGS__); \
} while (0)
#else
# define pd_dprintf(...) \
do { \
} while (0)
#endif