get_state_full


Description:

[ Version ( since = "1.16" ) ]
public void get_state_full (out ModifierType button_state, out ModifierType base_state, out ModifierType latched_state, out ModifierType locked_state, out ModifierType effective_state)

Retrieves the decomposition of the keyboard state into button, base, latched, locked and effective.

This can be used to transmit to other applications, for example when implementing a wayland compositor.

Parameters:

this

a Event

button_state

the pressed buttons as a mask

base_state

the regular pressed modifier keys

latched_state

the latched modifier keys (currently released but still valid for one key press/release)

locked_state

the locked modifier keys (valid until the lock key is pressed and released again)

effective_state

the logical OR of all the state bits above