Module: Input

Defined in:
lib/input.rb

Constant Summary collapse

LEFT =
:LEFT
UP =
:UP
RIGHT =
:RIGHT
DOWN =
:DOWN
A =
:A
B =
:B
C =
:C
X =
:X
Y =
:Y
Z =
:Z
L =
:L
R =
:R
SHIFT =
:SHIFT
CTRL =
:CTRL
ALT =
:ALT
F5 =
:F5
F6 =
:F6
F7 =
:F7
F8 =
:F8
F9 =
:F9

Class Method Summary collapse

Class Method Details

.dir4Object



61
62
63
# File 'lib/input.rb', line 61

def dir4
  fail NotImplementedError
end

.dir8Object



65
66
67
# File 'lib/input.rb', line 65

def dir8
  fail NotImplementedError
end

.press?(sym) ⇒ Boolean

Returns:

  • (Boolean)


49
50
51
# File 'lib/input.rb', line 49

def press?(sym)
  fail NotImplementedError
end

.repeat?(sym) ⇒ Boolean

Returns:

  • (Boolean)


57
58
59
# File 'lib/input.rb', line 57

def repeat?(sym)
  fail NotImplementedError
end

.trigger?(sym) ⇒ Boolean

Returns:

  • (Boolean)


53
54
55
# File 'lib/input.rb', line 53

def trigger?(sym)
  fail NotImplementedError
end

.updateObject



45
46
47
# File 'lib/input.rb', line 45

def update
  fail NotImplementedError
end