mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-04 22:36:10 +00:00
dix: add touch to pointer event conversion helper
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
This commit is contained in:
parent
c3843f5498
commit
753c4dca1e
2 changed files with 64 additions and 0 deletions
|
|
@ -619,6 +619,8 @@ extern void TouchSetupListeners(DeviceIntPtr dev, TouchPointInfoPtr ti, Internal
|
|||
extern Bool TouchEnsureSprite(DeviceIntPtr sourcedev, TouchPointInfoPtr ti,
|
||||
InternalEvent *ev);
|
||||
extern Bool TouchBuildDependentSpriteTrace(DeviceIntPtr dev, SpritePtr sprite);
|
||||
extern int TouchConvertToPointerEvent(const InternalEvent *ev,
|
||||
InternalEvent *motion, InternalEvent *button);
|
||||
extern int TouchGetPointerEventType(const InternalEvent *ev);
|
||||
|
||||
/* misc event helpers */
|
||||
|
|
|
|||
Loading…
Reference in a new issue