Key States

Keeps track of the states of the different keys that have a state attached to it.

destroy
Type: destructorsince 4
destroy()
stateChanged(key: uint, state: uint)
Argument
Type
Description
keyuint
stateuint
Updates the state for a said key
Argument
Value
Description
capslock0
numlock1
scrolllock2
altsince 53
controlsince 54
shiftsince 55
metasince 56
altgrsince 57

Compositor Support

org_kde_kwin_keystate
Compositors
CageCage0.3.0
x
COSMICCOSMIC1.0.0~beta.8
x
GameScopeGameScope3.15.14
x
HyprlandHyprland0.52.1
x
Jay1.14.0
x
KWinKWin6.7
5
LabwcLabwc0.20.2
x
LouvreLouvre2.14.1
x
MirMir2.26
x
MuffinMuffin6.7.4
x
MutterMutter51
x
niriniri26.04
x
phocphoc0.55
x
riverriver0.3.13
x
SwaySway1.11
x
TreelandTreeland0.8.0
x
WayfireWayfire0.9.0
x
WestonWeston15.0.1
x

SPDX-FileCopyrightText: 2019 Aleix Pol Gonzalez <aleixpol@kde.org>

SPDX-License-Identifier: LGPL-2.1-or-later