Document inline that PACKETDATA and PACKETMODE modify external headers to

discourage reducing their scope to the only place they're used internally.

Signed-off-by: Nicholas Rishel <rishel.nick@gmail.com>
This commit is contained in:
Nicholas Rishel 2020-05-22 16:58:03 -07:00
parent 538a2ac58f
commit 3281507f7b
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@
#include <vector>
#include <wintab.h>
// PACKETDATA and PACKETMODE modify structs in pktdef.h, so make sure they come first
#define PACKETDATA \
(PK_BUTTONS | PK_NORMAL_PRESSURE | PK_ORIENTATION | PK_CURSOR | PK_X | PK_Y | PK_TIME)
#define PACKETMODE 0