#endif
#include <sys/types.h>
#include "xf86Version.h"
#if XORG_VERSION_CURRENT >= XF86_VERSION_NUMERIC(3,9,0,0,0)
#define XFREE86_V4 1
#include "misc.h"
#include "xf86.h"
#include "xf86_OSproc.h"
#define SYSCALL(call) while(((call) == -1) && (errno == EINTR))
#ifdef XFREE86_V4
struct hiddev_event
{
unsigned hid;
return !Success;
if (InitProximityClassDeviceStruct(pJS_X) == FALSE)
if (InitValuatorClassDeviceStruct(pJS_X, nbaxes, xf86GetMotionEvents,
if (InitValuatorClassDeviceStruct(pJS_X, nbaxes, local->history_size,
local->history_size,
Absolute | OutOfProximity) == FALSE)
else
xf86JS_XUnplug
};