Protocol for tablet event

Change-Id: Id8bcd07e253e4838d8c7769eac97c537be736053
diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt
index 35104d2..c855455 100644
--- a/client/CMakeLists.txt
+++ b/client/CMakeLists.txt
@@ -25,6 +25,7 @@
 wayland_client_protocol(${CMAKE_SOURCE_DIR}/protocol/webos-input-manager.xml SOURCES webos-input-manager)
 wayland_client_protocol(${CMAKE_SOURCE_DIR}/protocol/webos-extension.xml SOURCES webos-extension)
 wayland_client_protocol(${CMAKE_SOURCE_DIR}/protocol/webos-foreign.xml SOURCES webos-foreign)
+wayland_client_protocol(${CMAKE_SOURCE_DIR}/protocol/webos-tablet.xml SOURCES webos-tablet)
 
 webos_add_linker_options(ALL --no-undefined)
 
diff --git a/protocol/webos-tablet.xml b/protocol/webos-tablet.xml
new file mode 100644
index 0000000..9827048
--- /dev/null
+++ b/protocol/webos-tablet.xml
@@ -0,0 +1,44 @@
+<protocol name="webos_tablet">
+  <copyright>
+    Copyright (c) 2018 LG Electronics, Inc.
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+    SPDX-License-Identifier: Apache-2.0
+  </copyright>
+
+  <interface name="wl_webos_tablet" version="1">
+
+    <enum name="pointer_type">
+      <description summary="different method to set the surface fullscreen">
+      </description>
+      <entry name="unknown" value="0"/>
+      <entry name="pen" value="1" />
+      <entry name="cursor" value="2"/>
+      <entry name="erase" value="3"/>
+    </enum>
+
+    <event name="tablet_event">
+      <arg name="uniqueId" type="int" />
+      <arg name="pointerType" type="int" />
+      <arg name="down" type="int" />
+      <arg name="globalX" type="fixed" />
+      <arg name="globalY" type="fixed" />
+      <arg name="xTilt" type="uint" />
+      <arg name="yTilt" type="uint" />
+      <arg name="pressure" type="fixed" />
+      <arg name="rotation" type="fixed" />
+    </event>
+
+  </interface>
+</protocol>
diff --git a/server/CMakeLists.txt b/server/CMakeLists.txt
index 0f68f29..ae01b61 100644
--- a/server/CMakeLists.txt
+++ b/server/CMakeLists.txt
@@ -1,4 +1,4 @@
-# Copyright (c) 2013-2019 LG Electronics, Inc.
+# Copyright (c) 2013-2020 LG Electronics, Inc.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -25,6 +25,7 @@
 wayland_server_protocol(${CMAKE_SOURCE_DIR}/protocol/webos-input-manager.xml SOURCES webos-input-manager)
 wayland_server_protocol(${CMAKE_SOURCE_DIR}/protocol/webos-extension.xml SOURCES webos-extension)
 wayland_server_protocol(${CMAKE_SOURCE_DIR}/protocol/webos-foreign.xml SOURCES webos-foreign)
+wayland_server_protocol(${CMAKE_SOURCE_DIR}/protocol/webos-tablet.xml SOURCES webos-tablet)
 
 webos_add_linker_options(ALL --no-undefined)