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>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user