diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-12-14 14:57:46 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-12-20 13:01:03 +1000 |
commit | 5c63dc6dbcbebbb19d79575a9f1ec9878e6537f1 (patch) | |
tree | 3344348a4da6ff2af5145a8ab47f7533d741ce8c /include | |
parent | 7f8127d203394cae45c3ded0d063030d7c5fdb70 (diff) |
dix: add DIX API to create touchpoints
The DIX touchpoints are the ones used for event processing.
Co-authored-by: Daniel Stone <daniel@fooishbar.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/input.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/input.h b/include/input.h index e79a3ee84..834dd273d 100644 --- a/include/input.h +++ b/include/input.h @@ -594,6 +594,11 @@ extern DDXTouchPointInfoPtr TouchFindByDDXID(DeviceIntPtr dev, Bool create); extern Bool TouchInitTouchPoint(TouchClassPtr touch, ValuatorClassPtr v, int index); extern void TouchFreeTouchPoint(DeviceIntPtr dev, int index); +extern TouchPointInfoPtr TouchBeginTouch(DeviceIntPtr dev, int sourceid, + uint32_t touchid, Bool emulate_pointer); +extern TouchPointInfoPtr TouchFindByClientID(DeviceIntPtr dev, + uint32_t client_id); +extern void TouchEndTouch(DeviceIntPtr dev, TouchPointInfoPtr ti); /* misc event helpers */ extern Mask GetEventMask(DeviceIntPtr dev, xEvent* ev, InputClientsPtr clients); |