[Differential] [Requested Changes To] D1672: Add support for touch events in fakeinput protocol and interface.
    graesslin (Martin Gräßlin) 
    noreply at phabricator.kde.org
       
    Wed May 25 09:35:49 UTC 2016
    
    
  
graesslin requested changes to this revision.
graesslin added a reviewer: graesslin.
graesslin added inline comments.
This revision now requires changes to proceed.
INLINE COMMENTS
> fakeinput.h:133
> +     **/
> +    void requestTouchMotion(quint32 id, const QSizeF &delta);
> +    /**
why a delta? In KWin all touchMotion related code takes the new position.
> fake-input.xml:52-68
> +      <request name="touch_down" since="2">
> +         <arg name="id" type="uint"/>
> +         <arg name="x" type="fixed"/>
> +         <arg name="y" type="fixed"/>
> +      </request>
> +      <request name="touch_motion" since="2">
> +          <arg name="id" type="uint"/>
if you have a new enough wayland-scanner installed this should generate errors because it expects documentation. I'm aware that the existing interface is missing documentation, but I think for new code we should make sure that wayland-scanner is happy.
> fakeinput_interface.cpp:194
> +{
> +
> +    Q_UNUSED(client)
nitpick: empty line
> fakeinput_interface.h:139
> +     **/
> +    void touchMotionRequested(quint32 id, const QSizeF &delta);
> +    /**
same here
REPOSITORY
  rKWAYLAND KWayland
REVISION DETAIL
  https://phabricator.kde.org/D1672
EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/
To: bdhruve, bshah, Plasma, graesslin
Cc: bshah, graesslin, plasma-devel, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160525/980ee65e/attachment-0001.html>
    
    
More information about the Plasma-devel
mailing list