2003-11-14 17:48:57 +01:00
|
|
|
/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/lynxos/lynx_mouse.c,v 1.1 1999/05/22 08:40:14 dawes Exp $ */
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Copyright 1999 by The XFree86 Project, Inc.
|
|
|
|
*/
|
|
|
|
|
2005-07-03 09:02:09 +02:00
|
|
|
#ifdef HAVE_XORG_CONFIG_H
|
|
|
|
#include <xorg-config.h>
|
|
|
|
#endif
|
|
|
|
|
2005-04-20 14:25:48 +02:00
|
|
|
#include <X11/X.h>
|
2003-11-14 17:48:57 +01:00
|
|
|
#include "xf86.h"
|
|
|
|
#include "xf86Xinput.h"
|
|
|
|
#include "xf86OSmouse.h"
|
|
|
|
|
|
|
|
static int
|
|
|
|
SupportedInterfaces(void)
|
|
|
|
{
|
|
|
|
/* XXX Need to check this. */
|
|
|
|
return MSE_SERIAL | MSE_BUS | MSE_PS2 | MSE_AUTO;
|
|
|
|
}
|
|
|
|
|
2006-03-25 20:52:05 +01:00
|
|
|
_X_EXPORT OSMouseInfoPtr
|
2003-11-14 17:48:57 +01:00
|
|
|
xf86OSMouseInit(int flags)
|
|
|
|
{
|
|
|
|
OSMouseInfoPtr p;
|
|
|
|
|
|
|
|
p = xcalloc(sizeof(OSMouseInfoRec), 1);
|
|
|
|
if (!p)
|
|
|
|
return NULL;
|
|
|
|
p->SupportedInterfaces = SupportedInterfaces;
|
|
|
|
return p;
|
|
|
|
}
|
|
|
|
|