Class: DevInput
- Inherits:
-
Object
- Object
- DevInput
- Defined in:
- lib/libdevinput.rb
Defined Under Namespace
Classes: Event
Constant Summary collapse
- TYPES =
[]
- EVENTS =
[]
- KEY_VALUES =
['Release', 'Press', 'Repeat']
Instance Method Summary collapse
- #each ⇒ Object
-
#initialize(filename) ⇒ DevInput
constructor
A new instance of DevInput.
- #read ⇒ Object
Constructor Details
#initialize(filename) ⇒ DevInput
Returns a new instance of DevInput.
481 482 483 |
# File 'lib/libdevinput.rb', line 481 def initialize(filename) @dev = File.open(filename) end |