keystate protocol
org_kde_kwin_keystate interface version 3
Keeps track of the states of the different keys that have a state attached to it.
Requests
fetchStates
since version 0
fetchStates()
Events
stateChanged
since version 0
stateChanged(key uint, state uint)
Arguments
|
Name
|
Type
|
Description
|
| key |
uint |
|
| state |
uint |
|
Enums
key since version 0
enum key {
capslock = 0,
numlock = 1,
scrolllock = 2,
}
Entries
|
Name
|
Value
|
Description
|
| capslock |
0 |
|
| numlock |
1 |
|
| scrolllock |
2 |
|
state since version 0
enum state {
unlocked = 0,
latched = 1,
locked = 2,
}
Entries
|
Name
|
Value
|
Description
|
| unlocked |
0 |
|
| latched |
1 |
|
| locked |
2 |
|
SPDX-FileCopyrightText: 2019 Aleix Pol Gonzalez <aleixpol@kde.org>
SPDX-License-Identifier: LGPL-2.1-or-later