diff options
Diffstat (limited to 'include/input.h')
-rw-r--r-- | include/input.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/include/input.h b/include/input.h index fa88febda..9bcdd9f58 100644 --- a/include/input.h +++ b/include/input.h @@ -45,7 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ -/* $XFree86: xc/programs/Xserver/include/input.h,v 3.7 2001/12/14 19:59:54 dawes Exp $ */ +/* $XFree86: xc/programs/Xserver/include/input.h,v 3.8 2003/04/27 21:31:04 herrb Exp $ */ #ifndef INPUT_H #define INPUT_H @@ -92,6 +92,17 @@ typedef void (*ProcessInputProc)( DeviceIntPtr /*device*/, int /*count*/); +typedef Bool (*DeviceHandleProc)( + DeviceIntPtr /*device*/, + void* /*data*/ + ); + +typedef void (*DeviceUnwrapProc)( + DeviceIntPtr /*device*/, + DeviceHandleProc /*proc*/, + void* /*data*/ + ); + typedef struct _DeviceRec { pointer devicePrivate; ProcessInputProc processInputProc; /* current */ @@ -145,6 +156,10 @@ typedef struct { unsigned char id; } LedCtrl; +extern int AllocateDevicePrivateIndex(void); +extern Bool AllocateDevicePrivate(DeviceIntPtr device, int index); +extern void ResetDevicePrivateIndex(void); + extern KeybdCtrl defaultKeyboardControl; extern PtrCtrl defaultPointerControl; |