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

Cage
Cage
0.2.0
COSMIC
COSMIC
1.0.0~beta.8
GameScope
GameScope
3.15.14
Hyprland
Hyprland
0.52.1
Jay
1.11.0
KWin
KWin
6.6
Labwc
Labwc
0.9.2
Louvre
Louvre
2.14.1
Mir
Mir
2.19
Muffin
Muffin
6.6.0
Mutter
Mutter
49.2
niri
niri
25.11
phoc
phoc
0.52
river
river
0.3.13
Sway
Sway
1.11
Treeland
Treeland
0.8.0
Wayfire
Wayfire
0.9.0
Weston
Weston
14.0.2
org_kde_kwin_keystate
x
x
x
x
x
5
x
x
x
x
x
x
x
x
x
x
x
x

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

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