wayland-protocols: Add zcr_stylus_v2 protocol for touch based stylus

Desktop / Chromium - denniskempin [google.com] - 16 December 2016 16:44 UTC

The v2 version of the protocol will extend wl_touch instead of wl_pointer to provide the same functionality. Once the clients of this protocol have been updated to use v2, we can remove the v1 protocol from this file.

BUG=665499 TEST=None

Review-Url: https://codereview.chromium.org/2560493003 Cr-Commit-Position: refs/heads/master@{#439194}

405afdb wayland-protocols: Add zcr_stylus_v2 protocol for touch based stylus
third_party/wayland-protocols/BUILD.gn | 5 +-
third_party/wayland-protocols/README.chromium | 5 +-
.../protocol/stylus-unstable-v2-client-protocol.h | 302 +++++++++++++++++++++
.../protocol/stylus-unstable-v2-server-protocol.h | 241 ++++++++++++++++
.../{stylus-protocol.c => stylus-protocol-v1.c} | 0
.../protocol/stylus-protocol-v2.c | 67 +++++
.../unstable/stylus/stylus-unstable-v2.xml | 116 ++++++++
7 files changed, 734 insertions(+), 2 deletions(-)

Upstream: git.chromium.org


  • Share