diff options
author | Daniel Stone <daniel.stone@nokia.com> | 2006-07-19 13:56:23 -0400 |
---|---|---|
committer | Daniel Stone <daniels@endtroducing.fooishbar.org> | 2006-07-21 15:19:51 -0400 |
commit | a274e7296b1bdd6f6c921f28b087610cec9548e0 (patch) | |
tree | 4966c52feb1b4a35cf2ba66b74b8e76804f1b2a9 /include/input.h | |
parent | b308dbf273f8c26361b0fee7aca64aec3245f60b (diff) |
add GetPointerEvents/GetKeyboardEvents framework
Add GetPointerEvents (with XFree86 pointer acceleration) and GetKeyboardEvents
to the DIX. Extend the ValuatorClass structure to account for same.
Diffstat (limited to 'include/input.h')
-rw-r--r-- | include/input.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/include/input.h b/include/input.h index 3e00be671..d550bbe97 100644 --- a/include/input.h +++ b/include/input.h @@ -372,6 +372,32 @@ extern void InitInput( int /*argc*/, char ** /*argv*/); +extern int GetPointerEvents( + xEvent **xE, + DeviceIntPtr pDev, + int type, + int buttons, + int flags, + int num_axes, + int *valuators); + +extern int GetKeyboardEvents( + xEvent **xE, + DeviceIntPtr pDev, + int type, + int key_code); + +extern int GetKeyboardValuatorEvents( + xEvent **xE, + DeviceIntPtr pDev, + int type, + int key_code, + int num_axes, + int *valuators); + +extern DeviceIntPtr LookupDeviceIntRec( + CARD8 deviceid); + /* Implemented by the DDX. */ extern int NewInputDeviceRequest( InputOption *options); |