2003-11-14 16:54:54 +01:00
|
|
|
/*
|
2003-11-14 17:49:22 +01:00
|
|
|
* Copyright 1995-1999 by Frederic Lepied, France. <Lepied@XFree86.org>
|
2003-11-14 16:54:54 +01:00
|
|
|
*
|
|
|
|
* Permission to use, copy, modify, distribute, and sell this software and its
|
|
|
|
* documentation for any purpose is hereby granted without fee, provided that
|
|
|
|
* the above copyright notice appear in all copies and that both that
|
|
|
|
* copyright notice and this permission notice appear in supporting
|
|
|
|
* documentation, and that the name of Frederic Lepied not be used in
|
|
|
|
* advertising or publicity pertaining to distribution of the software without
|
|
|
|
* specific, written prior permission. Frederic Lepied makes no
|
|
|
|
* representations about the suitability of this software for any purpose. It
|
|
|
|
* is provided "as is" without express or implied warranty.
|
|
|
|
*
|
|
|
|
* FREDERIC LEPIED DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
|
|
|
|
* INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
|
|
|
|
* EVENT SHALL FREDERIC LEPIED BE LIABLE FOR ANY SPECIAL, INDIRECT OR
|
|
|
|
* CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
|
|
|
|
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
|
|
|
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2003-11-25 20:29:01 +01:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2000-2002 by The XFree86 Project, Inc.
|
|
|
|
*
|
|
|
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
|
|
|
* copy of this software and associated documentation files (the "Software"),
|
|
|
|
* to deal in the Software without restriction, including without limitation
|
|
|
|
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
|
|
* and/or sell copies of the Software, and to permit persons to whom the
|
|
|
|
* Software is furnished to do so, subject to the following conditions:
|
|
|
|
*
|
|
|
|
* The above copyright notice and this permission notice shall be included in
|
|
|
|
* all copies or substantial portions of the Software.
|
|
|
|
*
|
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
|
|
* THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
|
|
|
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
|
|
|
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
|
|
* OTHER DEALINGS IN THE SOFTWARE.
|
|
|
|
*
|
|
|
|
* Except as contained in this notice, the name of the copyright holder(s)
|
|
|
|
* and author(s) shall not be used in advertising or otherwise to promote
|
|
|
|
* the sale, use or other dealings in this Software without prior written
|
|
|
|
* authorization from the copyright holder(s) and author(s).
|
|
|
|
*/
|
|
|
|
|
2003-11-14 16:54:54 +01:00
|
|
|
|
|
|
|
#ifndef _xf86Xinput_h
|
|
|
|
#define _xf86Xinput_h
|
|
|
|
|
2003-11-14 17:49:22 +01:00
|
|
|
#include "xf86str.h"
|
2003-11-14 16:54:54 +01:00
|
|
|
#include "inputstr.h"
|
2005-04-20 14:25:48 +02:00
|
|
|
#include <X11/extensions/XI.h>
|
|
|
|
#include <X11/extensions/XIproto.h>
|
2003-11-14 16:54:54 +01:00
|
|
|
#include "XIstubs.h"
|
2003-11-14 17:49:22 +01:00
|
|
|
|
|
|
|
/* Input device flags */
|
|
|
|
#define XI86_ALWAYS_CORE 0x04 /* device always controls the pointer */
|
|
|
|
/* the device sends Xinput and core pointer events */
|
|
|
|
#define XI86_SEND_CORE_EVENTS XI86_ALWAYS_CORE
|
2006-11-16 03:21:08 +01:00
|
|
|
|
2003-11-14 17:49:22 +01:00
|
|
|
/* This holds the input driver entry and module information. */
|
|
|
|
typedef struct _InputDriverRec {
|
|
|
|
int driverVersion;
|
|
|
|
char * driverName;
|
|
|
|
void (*Identify)(int flags);
|
2010-07-21 08:00:26 +02:00
|
|
|
int (*PreInit)(struct _InputDriverRec *drv,
|
2010-07-23 06:16:38 +02:00
|
|
|
struct _InputInfoRec* pInfo, int flags);
|
2003-11-14 17:49:22 +01:00
|
|
|
void (*UnInit)(struct _InputDriverRec *drv,
|
2010-07-23 06:16:38 +02:00
|
|
|
struct _InputInfoRec *pInfo,
|
2003-11-14 17:49:22 +01:00
|
|
|
int flags);
|
|
|
|
pointer module;
|
2010-07-21 08:00:26 +02:00
|
|
|
char ** default_options;
|
2003-11-14 17:49:22 +01:00
|
|
|
} InputDriverRec, *InputDriverPtr;
|
|
|
|
|
|
|
|
/* This is to input devices what the ScrnInfoRec is to screens. */
|
|
|
|
|
2010-07-23 06:16:38 +02:00
|
|
|
typedef struct _InputInfoRec {
|
|
|
|
struct _InputInfoRec *next;
|
2003-11-14 17:49:22 +01:00
|
|
|
char * name;
|
2010-09-02 06:30:11 +02:00
|
|
|
char * driver;
|
|
|
|
|
2003-11-14 17:49:22 +01:00
|
|
|
int flags;
|
2006-10-18 10:57:22 +02:00
|
|
|
|
2003-11-14 17:49:22 +01:00
|
|
|
Bool (*device_control)(DeviceIntPtr device, int what);
|
2010-07-23 06:16:38 +02:00
|
|
|
void (*read_input)(struct _InputInfoRec *local);
|
|
|
|
int (*control_proc)(struct _InputInfoRec *local,
|
2003-11-14 17:49:22 +01:00
|
|
|
xDeviceCtl *control);
|
|
|
|
int (*switch_mode)(ClientPtr client, DeviceIntPtr dev,
|
|
|
|
int mode);
|
2006-10-18 10:57:22 +02:00
|
|
|
int (*set_device_valuators)
|
2010-07-23 06:16:38 +02:00
|
|
|
(struct _InputInfoRec *local,
|
2006-10-18 10:57:22 +02:00
|
|
|
int *valuators, int first_valuator,
|
|
|
|
int num_valuators);
|
|
|
|
|
2003-11-14 17:49:22 +01:00
|
|
|
int fd;
|
|
|
|
DeviceIntPtr dev;
|
|
|
|
pointer private;
|
|
|
|
char * type_name;
|
|
|
|
InputDriverPtr drv;
|
|
|
|
pointer module;
|
|
|
|
pointer options;
|
2010-05-25 09:15:32 +02:00
|
|
|
InputAttributes *attrs;
|
2010-09-02 06:30:11 +02:00
|
|
|
} *InputInfoPtr;
|
2003-11-14 16:54:54 +01:00
|
|
|
|
2003-11-14 17:49:22 +01:00
|
|
|
/* xf86Globals.c */
|
2010-09-02 06:52:30 +02:00
|
|
|
extern InputInfoPtr xf86InputDevs;
|
2003-11-14 17:49:22 +01:00
|
|
|
|
|
|
|
/* xf86Xinput.c */
|
Rework symbol visibility for easier maintenance
Save in a few special cases, _X_EXPORT should not be used in C source
files. Instead, it should be used in headers, and the proper C source
include that header. Some special cases are symbols that need to be
shared between modules, but not expected to be used by external drivers,
and symbols that are accessible via LoaderSymbol/dlopen.
This patch also adds conditionally some new sdk header files, depending
on extensions enabled. These files were added to match pattern for
other extensions/modules, that is, have the headers "deciding" symbol
visibility in the sdk. These headers are:
o Xext/panoramiXsrv.h, Xext/panoramiX.h
o fbpict.h (unconditionally)
o vidmodeproc.h
o mioverlay.h (unconditionally, used only by xaa)
o xfixes.h (unconditionally, symbols required by dri2)
LoaderSymbol and similar functions now don't have different prototypes,
in loaderProcs.h and xf86Module.h, so that both headers can be included,
without the need of defining IN_LOADER.
xf86NewInputDevice() device prototype readded to xf86Xinput.h, but
not exported (and with a comment about it).
2008-12-03 08:43:34 +01:00
|
|
|
extern _X_EXPORT void xf86PostMotionEvent(DeviceIntPtr device, int is_absolute,
|
2003-11-14 17:49:22 +01:00
|
|
|
int first_valuator, int num_valuators, ...);
|
Rework symbol visibility for easier maintenance
Save in a few special cases, _X_EXPORT should not be used in C source
files. Instead, it should be used in headers, and the proper C source
include that header. Some special cases are symbols that need to be
shared between modules, but not expected to be used by external drivers,
and symbols that are accessible via LoaderSymbol/dlopen.
This patch also adds conditionally some new sdk header files, depending
on extensions enabled. These files were added to match pattern for
other extensions/modules, that is, have the headers "deciding" symbol
visibility in the sdk. These headers are:
o Xext/panoramiXsrv.h, Xext/panoramiX.h
o fbpict.h (unconditionally)
o vidmodeproc.h
o mioverlay.h (unconditionally, used only by xaa)
o xfixes.h (unconditionally, symbols required by dri2)
LoaderSymbol and similar functions now don't have different prototypes,
in loaderProcs.h and xf86Module.h, so that both headers can be included,
without the need of defining IN_LOADER.
xf86NewInputDevice() device prototype readded to xf86Xinput.h, but
not exported (and with a comment about it).
2008-12-03 08:43:34 +01:00
|
|
|
extern _X_EXPORT void xf86PostMotionEventP(DeviceIntPtr device, int is_absolute,
|
2010-08-10 07:19:20 +02:00
|
|
|
int first_valuator, int num_valuators, const int *valuators);
|
2010-10-19 05:37:46 +02:00
|
|
|
extern _X_EXPORT void xf86PostMotionEventM(DeviceIntPtr device, int is_absolute,
|
|
|
|
const ValuatorMask *mask);
|
Rework symbol visibility for easier maintenance
Save in a few special cases, _X_EXPORT should not be used in C source
files. Instead, it should be used in headers, and the proper C source
include that header. Some special cases are symbols that need to be
shared between modules, but not expected to be used by external drivers,
and symbols that are accessible via LoaderSymbol/dlopen.
This patch also adds conditionally some new sdk header files, depending
on extensions enabled. These files were added to match pattern for
other extensions/modules, that is, have the headers "deciding" symbol
visibility in the sdk. These headers are:
o Xext/panoramiXsrv.h, Xext/panoramiX.h
o fbpict.h (unconditionally)
o vidmodeproc.h
o mioverlay.h (unconditionally, used only by xaa)
o xfixes.h (unconditionally, symbols required by dri2)
LoaderSymbol and similar functions now don't have different prototypes,
in loaderProcs.h and xf86Module.h, so that both headers can be included,
without the need of defining IN_LOADER.
xf86NewInputDevice() device prototype readded to xf86Xinput.h, but
not exported (and with a comment about it).
2008-12-03 08:43:34 +01:00
|
|
|
extern _X_EXPORT void xf86PostProximityEvent(DeviceIntPtr device, int is_in,
|
2003-11-14 17:49:22 +01:00
|
|
|
int first_valuator, int num_valuators, ...);
|
2009-07-28 07:20:37 +02:00
|
|
|
extern _X_EXPORT void xf86PostProximityEventP(DeviceIntPtr device, int is_in, int first_valuator,
|
2010-08-10 07:19:20 +02:00
|
|
|
int num_valuators, const int *valuators);
|
2010-10-19 05:37:46 +02:00
|
|
|
extern _X_EXPORT void xf86PostProximityEventM(DeviceIntPtr device, int is_in,
|
|
|
|
const ValuatorMask *mask);
|
Rework symbol visibility for easier maintenance
Save in a few special cases, _X_EXPORT should not be used in C source
files. Instead, it should be used in headers, and the proper C source
include that header. Some special cases are symbols that need to be
shared between modules, but not expected to be used by external drivers,
and symbols that are accessible via LoaderSymbol/dlopen.
This patch also adds conditionally some new sdk header files, depending
on extensions enabled. These files were added to match pattern for
other extensions/modules, that is, have the headers "deciding" symbol
visibility in the sdk. These headers are:
o Xext/panoramiXsrv.h, Xext/panoramiX.h
o fbpict.h (unconditionally)
o vidmodeproc.h
o mioverlay.h (unconditionally, used only by xaa)
o xfixes.h (unconditionally, symbols required by dri2)
LoaderSymbol and similar functions now don't have different prototypes,
in loaderProcs.h and xf86Module.h, so that both headers can be included,
without the need of defining IN_LOADER.
xf86NewInputDevice() device prototype readded to xf86Xinput.h, but
not exported (and with a comment about it).
2008-12-03 08:43:34 +01:00
|
|
|
extern _X_EXPORT void xf86PostButtonEvent(DeviceIntPtr device, int is_absolute, int button,
|
2003-11-14 17:49:22 +01:00
|
|
|
int is_down, int first_valuator, int num_valuators,
|
|
|
|
...);
|
2009-07-28 07:20:37 +02:00
|
|
|
extern _X_EXPORT void xf86PostButtonEventP(DeviceIntPtr device, int is_absolute, int button,
|
|
|
|
int is_down, int first_valuator, int num_valuators,
|
2010-08-10 07:19:20 +02:00
|
|
|
const int *valuators);
|
2010-10-19 05:37:46 +02:00
|
|
|
extern _X_EXPORT void xf86PostButtonEventM(DeviceIntPtr device, int is_absolute, int button,
|
|
|
|
int is_down, const ValuatorMask *mask);
|
Rework symbol visibility for easier maintenance
Save in a few special cases, _X_EXPORT should not be used in C source
files. Instead, it should be used in headers, and the proper C source
include that header. Some special cases are symbols that need to be
shared between modules, but not expected to be used by external drivers,
and symbols that are accessible via LoaderSymbol/dlopen.
This patch also adds conditionally some new sdk header files, depending
on extensions enabled. These files were added to match pattern for
other extensions/modules, that is, have the headers "deciding" symbol
visibility in the sdk. These headers are:
o Xext/panoramiXsrv.h, Xext/panoramiX.h
o fbpict.h (unconditionally)
o vidmodeproc.h
o mioverlay.h (unconditionally, used only by xaa)
o xfixes.h (unconditionally, symbols required by dri2)
LoaderSymbol and similar functions now don't have different prototypes,
in loaderProcs.h and xf86Module.h, so that both headers can be included,
without the need of defining IN_LOADER.
xf86NewInputDevice() device prototype readded to xf86Xinput.h, but
not exported (and with a comment about it).
2008-12-03 08:43:34 +01:00
|
|
|
extern _X_EXPORT void xf86PostKeyEvent(DeviceIntPtr device, unsigned int key_code, int is_down,
|
2003-11-14 17:49:22 +01:00
|
|
|
int is_absolute, int first_valuator, int num_valuators,
|
|
|
|
...);
|
2010-10-19 05:37:46 +02:00
|
|
|
extern _X_EXPORT void xf86PostKeyEventM(DeviceIntPtr device, unsigned int key_code, int is_down,
|
|
|
|
int is_absolute, const ValuatorMask *mask);
|
2009-07-28 07:20:37 +02:00
|
|
|
extern _X_EXPORT void xf86PostKeyEventP(DeviceIntPtr device, unsigned int key_code, int is_down,
|
|
|
|
int is_absolute, int first_valuator, int num_valuators,
|
2010-08-10 07:19:20 +02:00
|
|
|
const int *valuators);
|
Rework symbol visibility for easier maintenance
Save in a few special cases, _X_EXPORT should not be used in C source
files. Instead, it should be used in headers, and the proper C source
include that header. Some special cases are symbols that need to be
shared between modules, but not expected to be used by external drivers,
and symbols that are accessible via LoaderSymbol/dlopen.
This patch also adds conditionally some new sdk header files, depending
on extensions enabled. These files were added to match pattern for
other extensions/modules, that is, have the headers "deciding" symbol
visibility in the sdk. These headers are:
o Xext/panoramiXsrv.h, Xext/panoramiX.h
o fbpict.h (unconditionally)
o vidmodeproc.h
o mioverlay.h (unconditionally, used only by xaa)
o xfixes.h (unconditionally, symbols required by dri2)
LoaderSymbol and similar functions now don't have different prototypes,
in loaderProcs.h and xf86Module.h, so that both headers can be included,
without the need of defining IN_LOADER.
xf86NewInputDevice() device prototype readded to xf86Xinput.h, but
not exported (and with a comment about it).
2008-12-03 08:43:34 +01:00
|
|
|
extern _X_EXPORT void xf86PostKeyboardEvent(DeviceIntPtr device, unsigned int key_code,
|
2003-11-14 17:49:22 +01:00
|
|
|
int is_down);
|
2010-07-23 06:16:38 +02:00
|
|
|
extern _X_EXPORT InputInfoPtr xf86FirstLocalDevice(void);
|
Rework symbol visibility for easier maintenance
Save in a few special cases, _X_EXPORT should not be used in C source
files. Instead, it should be used in headers, and the proper C source
include that header. Some special cases are symbols that need to be
shared between modules, but not expected to be used by external drivers,
and symbols that are accessible via LoaderSymbol/dlopen.
This patch also adds conditionally some new sdk header files, depending
on extensions enabled. These files were added to match pattern for
other extensions/modules, that is, have the headers "deciding" symbol
visibility in the sdk. These headers are:
o Xext/panoramiXsrv.h, Xext/panoramiX.h
o fbpict.h (unconditionally)
o vidmodeproc.h
o mioverlay.h (unconditionally, used only by xaa)
o xfixes.h (unconditionally, symbols required by dri2)
LoaderSymbol and similar functions now don't have different prototypes,
in loaderProcs.h and xf86Module.h, so that both headers can be included,
without the need of defining IN_LOADER.
xf86NewInputDevice() device prototype readded to xf86Xinput.h, but
not exported (and with a comment about it).
2008-12-03 08:43:34 +01:00
|
|
|
extern _X_EXPORT int xf86ScaleAxis(int Cx, int Sxhigh, int Sxlow, int Rxhigh, int Rxlow);
|
2010-07-23 06:16:38 +02:00
|
|
|
extern _X_EXPORT void xf86XInputSetScreen(InputInfoPtr pInfo, int screen_number, int x, int y);
|
Rework symbol visibility for easier maintenance
Save in a few special cases, _X_EXPORT should not be used in C source
files. Instead, it should be used in headers, and the proper C source
include that header. Some special cases are symbols that need to be
shared between modules, but not expected to be used by external drivers,
and symbols that are accessible via LoaderSymbol/dlopen.
This patch also adds conditionally some new sdk header files, depending
on extensions enabled. These files were added to match pattern for
other extensions/modules, that is, have the headers "deciding" symbol
visibility in the sdk. These headers are:
o Xext/panoramiXsrv.h, Xext/panoramiX.h
o fbpict.h (unconditionally)
o vidmodeproc.h
o mioverlay.h (unconditionally, used only by xaa)
o xfixes.h (unconditionally, symbols required by dri2)
LoaderSymbol and similar functions now don't have different prototypes,
in loaderProcs.h and xf86Module.h, so that both headers can be included,
without the need of defining IN_LOADER.
xf86NewInputDevice() device prototype readded to xf86Xinput.h, but
not exported (and with a comment about it).
2008-12-03 08:43:34 +01:00
|
|
|
extern _X_EXPORT void xf86ProcessCommonOptions(InputInfoPtr pInfo, pointer options);
|
2009-06-16 08:38:11 +02:00
|
|
|
extern _X_EXPORT void xf86InitValuatorAxisStruct(DeviceIntPtr dev, int axnum, Atom label, int minval,
|
2003-11-14 17:49:22 +01:00
|
|
|
int maxval, int resolution, int min_res,
|
2010-07-16 15:21:19 +02:00
|
|
|
int max_res, int mode);
|
Rework symbol visibility for easier maintenance
Save in a few special cases, _X_EXPORT should not be used in C source
files. Instead, it should be used in headers, and the proper C source
include that header. Some special cases are symbols that need to be
shared between modules, but not expected to be used by external drivers,
and symbols that are accessible via LoaderSymbol/dlopen.
This patch also adds conditionally some new sdk header files, depending
on extensions enabled. These files were added to match pattern for
other extensions/modules, that is, have the headers "deciding" symbol
visibility in the sdk. These headers are:
o Xext/panoramiXsrv.h, Xext/panoramiX.h
o fbpict.h (unconditionally)
o vidmodeproc.h
o mioverlay.h (unconditionally, used only by xaa)
o xfixes.h (unconditionally, symbols required by dri2)
LoaderSymbol and similar functions now don't have different prototypes,
in loaderProcs.h and xf86Module.h, so that both headers can be included,
without the need of defining IN_LOADER.
xf86NewInputDevice() device prototype readded to xf86Xinput.h, but
not exported (and with a comment about it).
2008-12-03 08:43:34 +01:00
|
|
|
extern _X_EXPORT void xf86InitValuatorDefaults(DeviceIntPtr dev, int axnum);
|
|
|
|
extern _X_EXPORT void xf86AddEnabledDevice(InputInfoPtr pInfo);
|
|
|
|
extern _X_EXPORT void xf86RemoveEnabledDevice(InputInfoPtr pInfo);
|
|
|
|
extern _X_EXPORT void xf86DisableDevice(DeviceIntPtr dev, Bool panic);
|
|
|
|
extern _X_EXPORT void xf86EnableDevice(DeviceIntPtr dev);
|
|
|
|
/* not exported */
|
2010-09-02 06:30:11 +02:00
|
|
|
int xf86NewInputDevice(InputInfoPtr pInfo, DeviceIntPtr *pdev, BOOL is_auto);
|
2003-11-14 17:49:22 +01:00
|
|
|
|
|
|
|
/* xf86Helper.c */
|
Rework symbol visibility for easier maintenance
Save in a few special cases, _X_EXPORT should not be used in C source
files. Instead, it should be used in headers, and the proper C source
include that header. Some special cases are symbols that need to be
shared between modules, but not expected to be used by external drivers,
and symbols that are accessible via LoaderSymbol/dlopen.
This patch also adds conditionally some new sdk header files, depending
on extensions enabled. These files were added to match pattern for
other extensions/modules, that is, have the headers "deciding" symbol
visibility in the sdk. These headers are:
o Xext/panoramiXsrv.h, Xext/panoramiX.h
o fbpict.h (unconditionally)
o vidmodeproc.h
o mioverlay.h (unconditionally, used only by xaa)
o xfixes.h (unconditionally, symbols required by dri2)
LoaderSymbol and similar functions now don't have different prototypes,
in loaderProcs.h and xf86Module.h, so that both headers can be included,
without the need of defining IN_LOADER.
xf86NewInputDevice() device prototype readded to xf86Xinput.h, but
not exported (and with a comment about it).
2008-12-03 08:43:34 +01:00
|
|
|
extern _X_EXPORT void xf86AddInputDriver(InputDriverPtr driver, pointer module, int flags);
|
|
|
|
extern _X_EXPORT void xf86DeleteInputDriver(int drvIndex);
|
|
|
|
extern _X_EXPORT InputDriverPtr xf86LookupInputDriver(const char *name);
|
|
|
|
extern _X_EXPORT InputInfoPtr xf86LookupInput(const char *name);
|
|
|
|
extern _X_EXPORT void xf86DeleteInput(InputInfoPtr pInp, int flags);
|
2010-07-23 06:16:38 +02:00
|
|
|
extern _X_EXPORT void xf86MotionHistoryAllocate(InputInfoPtr pInfo);
|
|
|
|
extern _X_EXPORT void xf86IDrvMsgVerb(InputInfoPtr dev,
|
2010-06-07 03:17:10 +02:00
|
|
|
MessageType type, int verb,
|
|
|
|
const char *format, ...) _X_ATTRIBUTE_PRINTF(4,5);
|
2010-07-23 06:16:38 +02:00
|
|
|
extern _X_EXPORT void xf86IDrvMsg(InputInfoPtr dev,
|
2010-06-07 03:17:10 +02:00
|
|
|
MessageType type,
|
|
|
|
const char *format, ...) _X_ATTRIBUTE_PRINTF(3,4);
|
2010-07-23 06:16:38 +02:00
|
|
|
extern _X_EXPORT void xf86VIDrvMsgVerb(InputInfoPtr dev,
|
2010-06-07 03:17:10 +02:00
|
|
|
MessageType type,
|
|
|
|
int verb,
|
|
|
|
const char *format,
|
|
|
|
va_list args);
|
2003-11-14 17:49:22 +01:00
|
|
|
|
|
|
|
/* xf86Option.c */
|
2010-09-02 06:04:50 +02:00
|
|
|
extern void xf86CollectInputOptions(InputInfoPtr pInfo, const char **defaultOpts);
|
2003-11-14 16:54:54 +01:00
|
|
|
|
|
|
|
#endif /* _xf86Xinput_h */
|