~ubuntu-branches/ubuntu/intrepid/xserver-xgl/intrepid

« back to all changes in this revision

Viewing changes to hw/xfree86/os-support/lynxos/lynx_mouse.c

  • Committer: Bazaar Package Importer
  • Author(s): Matthew Garrett
  • Date: 2006-02-13 14:21:43 UTC
  • Revision ID: james.westby@ubuntu.com-20060213142143-mad6z9xzem7hzxz9
Tags: upstream-7.0.0
ImportĀ upstreamĀ versionĀ 7.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/lynxos/lynx_mouse.c,v 1.1 1999/05/22 08:40:14 dawes Exp $ */
 
2
 
 
3
/*
 
4
 * Copyright 1999 by The XFree86 Project, Inc.
 
5
 */
 
6
 
 
7
#ifdef HAVE_XORG_CONFIG_H
 
8
#include <xorg-config.h>
 
9
#endif
 
10
 
 
11
#include <X11/X.h>
 
12
#include "xf86.h"
 
13
#include "xf86Xinput.h"
 
14
#include "xf86OSmouse.h"
 
15
 
 
16
static int
 
17
SupportedInterfaces(void)
 
18
{
 
19
    /* XXX Need to check this. */
 
20
    return MSE_SERIAL | MSE_BUS | MSE_PS2 | MSE_AUTO;
 
21
}
 
22
 
 
23
OSMouseInfoPtr
 
24
xf86OSMouseInit(int flags)
 
25
{
 
26
    OSMouseInfoPtr p;
 
27
 
 
28
    p = xcalloc(sizeof(OSMouseInfoRec), 1);
 
29
    if (!p)
 
30
        return NULL;
 
31
    p->SupportedInterfaces = SupportedInterfaces;
 
32
    return p;
 
33
}
 
34