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
- .dir4 ⇒ Object
- .dir8 ⇒ Object
- .press?(sym) ⇒ Boolean
- .repeat?(sym) ⇒ Boolean
- .trigger?(sym) ⇒ Boolean
- .update ⇒ Object
Class Method Details
.dir4 ⇒ Object
61 62 63 |
# File 'lib/input.rb', line 61 def dir4 fail NotImplementedError end |
.dir8 ⇒ Object
65 66 67 |
# File 'lib/input.rb', line 65 def dir8 fail NotImplementedError end |
.press?(sym) ⇒ Boolean
49 50 51 |
# File 'lib/input.rb', line 49 def press?(sym) fail NotImplementedError end |
.repeat?(sym) ⇒ Boolean
57 58 59 |
# File 'lib/input.rb', line 57 def repeat?(sym) fail NotImplementedError end |
.trigger?(sym) ⇒ Boolean
53 54 55 |
# File 'lib/input.rb', line 53 def trigger?(sym) fail NotImplementedError end |
.update ⇒ Object
45 46 47 |
# File 'lib/input.rb', line 45 def update fail NotImplementedError end |