VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.3.0.0/usb-common.h@ 56743

Last change on this file since 56743 was 25078, checked in by vboxsync, 15 years ago

Additions/x11/x11include: exported and set eol-style on new headers

  • Property svn:eol-style set to native
File size: 1.9 KB
Line 
1/* $XFree86$ */
2/*
3 * Copyright 2002 Red Hat Inc., Durham, North Carolina.
4 *
5 * All Rights Reserved.
6 *
7 * Permission is hereby granted, free of charge, to any person obtaining
8 * a copy of this software and associated documentation files (the
9 * "Software"), to deal in the Software without restriction, including
10 * without limitation on the rights to use, copy, modify, merge,
11 * publish, distribute, sublicense, and/or sell copies of the Software,
12 * and to permit persons to whom the Software is furnished to do so,
13 * subject to the following conditions:
14 *
15 * The above copyright notice and this permission notice (including the
16 * next paragraph) shall be included in all copies or substantial
17 * portions of the Software.
18 *
19 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
20 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
21 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
22 * NON-INFRINGEMENT. IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
23 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
24 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
25 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26 * SOFTWARE.
27 */
28
29/*
30 * Authors:
31 * Rickard E. (Rik) Faith <faith@redhat.com>
32 *
33 */
34
35/** \file
36 * Interface to common USB support. \see usb-common.c \see usb-mouse.c
37 * \see usb-keyboard.c \see usb-other.c */
38
39#ifndef _USB_COMMON_H_
40#define _USB_COMMON_H_
41typedef enum {
42 usbMouse,
43 usbKeyboard,
44 usbOther
45} usbType;
46
47extern pointer usbCreatePrivate(DeviceIntPtr pDevice);
48extern void usbDestroyPrivate(pointer priv);
49extern void usbRead(DevicePtr pDev,
50 dmxMotionProcPtr motion,
51 dmxEnqueueProcPtr enqueue,
52 int minButton,
53 DMXBlockType block);
54extern void usbInit(DevicePtr pDev, usbType type);
55extern void usbOff(DevicePtr pDev);
56#endif
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette