Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (19 sloc) 0.507 kb
#define NETWORKTABLET_PORT 40117
#pragma pack(push)
#pragma pack(1)
#define EVENT_TYPE_MOTION 0
#define EVENT_TYPE_BUTTON 1
#define EVENT_TYPE_SET_RESOLUTION 2
typedef struct _EventPacket
{
char type; /* EVENT_TYPE_... */
struct { /* required */
short x, y;
short pressure;
};
struct { /* only required for EVENT_TYPE_BUTTON */
char button; /* number of button, beginning with 1 */
char down; /* 1 = button down, 0 = button up */
};
} EventPacket;
#pragma pack(pop)
Jump to Line
Something went wrong with that request. Please try again.