diff options
author | Chase Douglas <chase.douglas@canonical.com> | 2012-01-19 13:05:50 -0800 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2012-01-26 15:54:29 +1000 |
commit | d15c391544e9ba094b17c9217a837c58d88879f8 (patch) | |
tree | e8597f873357e6562e9e35bc8e39df0bcadc7754 /test | |
parent | efdc34859bdbcf0622e88aaf8af99944c1fc2141 (diff) |
eventcomm: Add touch event handling
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'test')
-rw-r--r-- | test/fake-symbols.c | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/test/fake-symbols.c b/test/fake-symbols.c index 2d94622..389c3c8 100644 --- a/test/fake-symbols.c +++ b/test/fake-symbols.c @@ -450,3 +450,34 @@ Bool QueueWorkProc ( { return FALSE; } + +#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 12 +_X_EXPORT ValuatorMask *valuator_mask_new(int num_valuators) +{ + return NULL; +} + +_X_EXPORT void valuator_mask_free(ValuatorMask **mask) +{ +} + +_X_EXPORT void valuator_mask_set(ValuatorMask *mask, int valuator, int data) +{ +} + +_X_EXPORT void valuator_mask_zero(ValuatorMask *mask) +{ +} + +_X_EXPORT void valuator_mask_copy(ValuatorMask *dest, const ValuatorMask *src) +{ +} +#endif + +#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 16 +_X_EXPORT void xf86PostTouchEvent(DeviceIntPtr dev, uint32_t touchid, + uint16_t type, uint32_t flags, + const ValuatorMask *mask) +{ +} +#endif |