diff options
author | Zephaniah E. Hull <warp@agamemnon.b5> | 2006-09-10 06:47:15 -0400 |
---|---|---|
committer | Zephaniah E. Hull <warp@agamemnon.b5> | 2006-09-10 06:47:15 -0400 |
commit | ab65184d472614d2664e6cd7bca2d6dbc28fad07 (patch) | |
tree | d46152f30e9f75b7a4fc75ed0de1cfd236fb8b12 /src/evdev.h | |
parent | Replace the old two buffer approach to handling rel emulation of abs axes, (diff) | |
download | xf86-input-evdev-ab65184d472614d2664e6cd7bca2d6dbc28fad07.tar.gz xf86-input-evdev-ab65184d472614d2664e6cd7bca2d6dbc28fad07.tar.bz2 xf86-input-evdev-ab65184d472614d2664e6cd7bca2d6dbc28fad07.zip |
Fix compilation.
Diffstat (limited to 'src/evdev.h')
-rw-r--r-- | src/evdev.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/evdev.h b/src/evdev.h index db33546..0425482 100644 --- a/src/evdev.h +++ b/src/evdev.h @@ -117,6 +117,12 @@ #include <X11/extensions/XKB.h> #include <X11/extensions/XKBstr.h> +/* XInput 1.4+ compatability. */ +#ifndef SendCoreEvents +#define SendCoreEvents 59 +#define DontSendCoreEvents 60 +#endif + /* * Switch events @@ -264,7 +270,8 @@ int EvdevAxesNew0(InputInfoPtr pInfo); int EvdevAxesNew1(InputInfoPtr pInfo); void EvdevAxesAbsProcess (InputInfoPtr pInfo, struct input_event *ev); void EvdevAxesRelProcess (InputInfoPtr pInfo, struct input_event *ev); -void EvdevAxesSyn (InputInfoPtr pInfo); +void EvdevAxesSynRep (InputInfoPtr pInfo); +void EvdevAxesSynCfg (InputInfoPtr pInfo); int EvdevKeyInit (DeviceIntPtr device); int EvdevKeyNew (InputInfoPtr pInfo); |