class Sonicri::Keys

Defined in:

sonicri/keys.cr

Constant Summary

BACKSPACE = 127
DEBUG = false
KEY_DOWN = 66
KEY_LEFT = 68
KEY_RIGHT = 67
KEY_UP = 65
LETTER_q = 81
LETTER_Q = 113
MOUSE_KEY_LEFT = 32
MOUSE_KEY_RIGHT = 34
SCROLL_WHEEL_BACKWARD = 97
SCROLL_WHEEL_FORWARD = 96
SCROLL_WHEEL_SWITCH = 33

Constructors

Instance Method Summary

Constructor Detail

def self.new(win : NCurses::Window) #

[View source]

Instance Method Detail

def check_input #

[View source]
def close #

[View source]
def debug_puts(x) #

[View source]
def key_available? #

[View source]
def next_key #

[View source]
def try_key(win) #

[View source]