Test whether a modifier is active in a given keyboard state by index.
@returns 1 if the modifier is active, 0 if it is not. If the modifier index is invalid in the keymap, returns -1.
@memberof xkb_state
See Implementation
Test whether a modifier is active in a given keyboard state by index.
@returns 1 if the modifier is active, 0 if it is not. If the modifier index is invalid in the keymap, returns -1.
@memberof xkb_state