diff options
author | Stuart Kreitman <stuart.kreitman@sun.com> | 2004-07-30 01:21:57 +0000 |
---|---|---|
committer | Stuart Kreitman <stuart.kreitman@sun.com> | 2004-07-30 01:21:57 +0000 |
commit | 71164d118c192e96eb2b0fc45514233e9563a568 (patch) | |
tree | e9b599d0e441e56e37723c100b50bd15fce28843 /include/input.h | |
parent | 82a6a659248bb66a0364eb9eaf331747834fb5c6 (diff) |
Integration of XEVIE branch to trunk
https://freedesktop.org/bugzilla/show_bug.cgi?id=947
Modified Files: cursorstr.h input.h inputstr.h windowstr.h
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; |