enum Modifiers

Defined in:

input.cr

Enum Members

SHIFT = 1

If this bit is set, one or more shift keys were held down.

CONTROL = 2

If this bit is set, one or more control keys were held down.

ALT = 4

If this bit is set, one or more alt keys were held down.

SUPER = 8

If this bit is set, one or more super keys were held down.

Instance Method Summary

Instance Method Detail

def alt? #

[View source]
def control? #

[View source]
def shift? #

[View source]
def super? #

[View source]