implement eraser detection on windows
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
#include "WinTab/msgpack.h"
|
||||
#include "WinTab/wintab.h"
|
||||
#define PACKETDATA (PK_X | PK_Y | PK_BUTTONS | PK_NORMAL_PRESSURE)
|
||||
#define PACKETDATA (PK_X | PK_Y | PK_BUTTONS | PK_NORMAL_PRESSURE | PK_STATUS)
|
||||
#define PACKETMODE PK_BUTTONS
|
||||
#include "WinTab/pktdef.h"
|
||||
#include "WinTab/Utils.h"
|
||||
@@ -18,6 +18,8 @@ public:
|
||||
bool m_pen_down = false;
|
||||
int m_pen_idle = 0;
|
||||
bool m_mouse_down = false;
|
||||
bool m_stylus = false;
|
||||
bool m_eraser = false;
|
||||
|
||||
HCTX TabletInit(HWND hWnd);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user