Warning, /libraries/plasma-wayland-protocols/src/protocols/keystate.xml is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0" encoding="UTF-8"?>
0002 <protocol name="keystate">
0003   <copyright><![CDATA[
0004     SPDX-FileCopyrightText: 2019 Aleix Pol Gonzalez <aleixpol@kde.org>
0005 
0006     SPDX-License-Identifier: LGPL-2.1-or-later
0007   ]]></copyright>
0008 
0009   <interface  name="org_kde_kwin_keystate" version="4">
0010       <description summary="Key States">
0011         Keeps track of the states of the different keys that have a state attached to it.
0012       </description>
0013       <enum name="key">
0014         <entry name="capslock" value="0" />
0015         <entry name="numlock" value="1"/>
0016         <entry name="scrolllock" value="2"/>
0017       </enum>
0018       <enum name="state">
0019         <entry name="unlocked" value="0" />
0020         <entry name="latched" value="1"/>
0021         <entry name="locked" value="2"/>
0022       </enum>
0023       <request name="fetchStates">
0024       </request>
0025 
0026       <event name="stateChanged">
0027         <description summary="Updates the state for a said key" />
0028         <arg name="key" type="uint"/>
0029         <arg name="state" type="uint"/>
0030       </event>
0031 
0032       <request name="destroy" type="destructor" since="4">
0033       </request>
0034   </interface>
0035 </protocol>