| <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="array" /> |
| <arg name="pointerType" type="int" /> |
| <arg name="down" type="int" /> |
| <arg name="globalX" type="fixed" /> |
| <arg name="globalY" type="fixed" /> |
| <arg name="xTilt" type="int" /> |
| <arg name="yTilt" type="int" /> |
| <arg name="pressure" type="fixed" /> |
| <arg name="rotation" type="fixed" /> |
| </event> |
| |
| </interface> |
| </protocol> |