keyboard_key


Description:

public void keyboard_key (bool keysym, int key, KeyState state)

Changes the state of the key to state.

May only be called on a remote desktop session with `XDP_DEVICE_KEYBOARD` access.

Parameters:

this

a remote desktop [class@Session]

keysym

whether to interpret key as a keysym instead of a keycode

key

the keysym or keycode to change

state

the new state