|
version 3.1, 1995/12/26 06:08:26
|
version 3.2, 1996/01/14 13:35:11
|
|
|
|
| /* Id: xf86Xinput.h,v 1.1 1995/12/20 14:01:23 lepied Exp */ |
|
| /* | /* |
| * Copyright 1995 by Frederic Lepied, France. <fred@sugix.frmug.fr.net> | * Copyright 1995 by Frederic Lepied, France. <fred@sugix.frmug.fr.net> |
| * | * |
|
|
|
| * | * |
| */ | */ |
| | |
| /* $XFree86: xc/programs/Xserver/hw/xfree86/common/xf86Xinput.h,v 3.0 1995/12/23 09:38:59 dawes Exp $ */ |
/* $XFree86: xc/programs/Xserver/hw/xfree86/common/xf86Xinput.h,v 3.1 1995/12/26 06:08:26 dawes Exp $ */ |
| | |
| #ifndef _xf86Xinput_h | #ifndef _xf86Xinput_h |
| #define _xf86Xinput_h | #define _xf86Xinput_h |
|
|
|
| | |
| typedef struct _LocalDeviceRec { | typedef struct _LocalDeviceRec { |
| char *name; | char *name; |
| char *config_section_name; |
|
| int flags; | int flags; |
| Bool (*device_config)( | Bool (*device_config)( |
| #if NeedNestedFunctionPrototypes | #if NeedNestedFunctionPrototypes |
| struct _LocalDeviceRec* /*device*/, |
LocalDevicePtr* /*array*/, |
| void* /*LexPtr*/ /*val*/ |
int /*index*/, |
| |
int /*max*/, |
| |
void * /*LexPtr val*/ |
| #endif | #endif |
| ); | ); |
| Bool (*device_control)( | Bool (*device_control)( |
|
|
|
| pointer private; | pointer private; |
| int private_flags; | int private_flags; |
| } LocalDeviceRec, *LocalDevicePtr; | } LocalDeviceRec, *LocalDevicePtr; |
| |
|
| |
typedef struct _DeviceAssocRec |
| |
{ |
| |
char *config_section_name; |
| |
LocalDevicePtr (*device_allocate)( |
| |
#if NeedNestedFunctionPrototypes |
| |
void |
| |
#endif |
| |
); |
| |
} DeviceAssocRec, *DeviceAssocPtr; |
| | |
| extern int DeviceButtonPress; | extern int DeviceButtonPress; |
| extern int DeviceButtonRelease; | extern int DeviceButtonRelease; |