enum Termbox::Key

Overview

Key constants.

Defined in:

termbox2/input.cr

Enum Members

CTRL_TILDE = 0_u16
CTRL_2 = 0_u16
CTRL_A = 1_u16
CTRL_B = 2_u16
CTRL_C = 3_u16
CTRL_D = 4_u16
CTRL_E = 5_u16
CTRL_F = 6_u16
CTRL_G = 7_u16
BACKSPACE = 8_u16
CTRL_H = 8_u16
TAB = 9_u16
CTRL_I = 9_u16
CTRL_J = 10_u16
CTRL_K = 11_u16
CTRL_L = 12_u16
ENTER = 13_u16
CTRL_M = 13_u16
CTRL_N = 14_u16
CTRL_O = 15_u16
CTRL_P = 16_u16
CTRL_Q = 17_u16
CTRL_R = 18_u16
CTRL_S = 19_u16
CTRL_T = 20_u16
CTRL_U = 21_u16
CTRL_V = 22_u16
CTRL_W = 23_u16
CTRL_X = 24_u16
CTRL_Y = 25_u16
CTRL_Z = 26_u16
ESC = 27_u16
CTRL_LSQ_BRACKET = 27_u16
CTRL_3 = 27_u16
CTRL_4 = 28_u16
CTRL_BACKSLASH = 28_u16
CTRL_5 = 29_u16
CTRL_RSQ_BRACKET = 29_u16
CTRL_6 = 30_u16
CTRL_7 = 31_u16
CTRL_SLASH = 31_u16
CTRL_UNDERSCORE = 31_u16
SPACE = 32_u16
BACKSPACE2 = 127_u16
CTRL_8 = 127_u16
F1 = 65535_u16
F2 = 65534_u16
F3 = 65533_u16
F4 = 65532_u16
F5 = 65531_u16
F6 = 65530_u16
F7 = 65529_u16
F8 = 65528_u16
F9 = 65527_u16
F10 = 65526_u16
F11 = 65525_u16
F12 = 65524_u16
INSERT = 65523_u16
DELETE = 65522_u16
HOME = 65521_u16
END = 65520_u16
PGUP = 65519_u16
PGDN = 65518_u16
ARROW_UP = 65517_u16
ARROW_DOWN = 65516_u16
ARROW_LEFT = 65515_u16
ARROW_RIGHT = 65514_u16
BACK_TAB = 65513_u16
MOUSE_LEFT = 65512_u16
MOUSE_RIGHT = 65511_u16
MOUSE_MIDDLE = 65510_u16
MOUSE_RELEASE = 65509_u16
MOUSE_WHEEL_UP = 65508_u16
MOUSE_WHEEL_DOWN = 65507_u16

Instance Method Summary

Instance Method Detail

def arrow_down? #

[View source]
def arrow_left? #

[View source]
def arrow_right? #

[View source]
def arrow_up? #

[View source]
def back_tab? #

[View source]
def backspace2? #

[View source]
def backspace? #

[View source]
def ctrl_2? #

[View source]
def ctrl_3? #

[View source]
def ctrl_4? #

[View source]
def ctrl_5? #

[View source]
def ctrl_6? #

[View source]
def ctrl_7? #

[View source]
def ctrl_8? #

[View source]
def ctrl_a? #

[View source]
def ctrl_b? #

[View source]
def ctrl_backslash? #

[View source]
def ctrl_c? #

[View source]
def ctrl_d? #

[View source]
def ctrl_e? #

[View source]
def ctrl_f? #

[View source]
def ctrl_g? #

[View source]
def ctrl_h? #

[View source]
def ctrl_i? #

[View source]
def ctrl_j? #

[View source]
def ctrl_k? #

[View source]
def ctrl_l? #

[View source]
def ctrl_lsq_bracket? #

[View source]
def ctrl_m? #

[View source]
def ctrl_n? #

[View source]
def ctrl_o? #

[View source]
def ctrl_p? #

[View source]
def ctrl_q? #

[View source]
def ctrl_r? #

[View source]
def ctrl_rsq_bracket? #

[View source]
def ctrl_s? #

[View source]
def ctrl_slash? #

[View source]
def ctrl_t? #

[View source]
def ctrl_tilde? #

[View source]
def ctrl_u? #

[View source]
def ctrl_underscore? #

[View source]
def ctrl_v? #

[View source]
def ctrl_w? #

[View source]
def ctrl_x? #

[View source]
def ctrl_y? #

[View source]
def ctrl_z? #

[View source]
def delete? #

[View source]
def end? #

[View source]
def enter? #

[View source]
def esc? #

[View source]
def f10? #

[View source]
def f11? #

[View source]
def f12? #

[View source]
def f1? #

[View source]
def f2? #

[View source]
def f3? #

[View source]
def f4? #

[View source]
def f5? #

[View source]
def f6? #

[View source]
def f7? #

[View source]
def f8? #

[View source]
def f9? #

[View source]
def home? #

[View source]
def insert? #

[View source]
def mouse_left? #

[View source]
def mouse_middle? #

[View source]
def mouse_release? #

[View source]
def mouse_right? #

[View source]
def mouse_wheel_down? #

[View source]
def mouse_wheel_up? #

[View source]
def pgdn? #

[View source]
def pgup? #

[View source]
def space? #

[View source]
def tab? #

[View source]