enum WaylandClient::Seat::Xkb::Modifiers::Modifier

Defined in:

seat/xkb.cr

Enum Members

SHIFT = 1_u32
CAPSLOCK = 2_u32
CTRL = 4_u32
ALT = 4104_u32
ALTGR = 128_u32
NUMLOCK = 16_u32
None = 0_u32
All = 4255_u32

Instance Method Summary

Instance Method Detail

def alt? #

Returns true if this enum value contains ALT


[View source]
def altgr? #

Returns true if this enum value contains ALTGR


[View source]
def capslock? #

Returns true if this enum value contains CAPSLOCK


[View source]
def ctrl? #

Returns true if this enum value contains CTRL


[View source]
def none? #

[View source]
def numlock? #

Returns true if this enum value contains NUMLOCK


[View source]
def shift? #

Returns true if this enum value contains SHIFT


[View source]