key_is_modifier


Description:

[ Version ( since = "3.6" ) ]
public bool key_is_modifier (uint keycode)

Determines whether a particular key code represents a key that is a modifier.

That is, it’s a key that normally just affects the keyboard state and the behavior of other keys rather than producing a direct effect itself. This is only needed for code processing raw X events, since EventKey directly includes an is_modifier field.

Parameters:

this

a Keymap

keycode

the hardware keycode from a key event

Returns:

true if the hardware keycode is a modifier key




2022 vala-language.org