Class: Vigilem::Evdev::Demultiplexer
- Inherits:
-
Core::Demultiplexer
- Object
- Core::Demultiplexer
- Vigilem::Evdev::Demultiplexer
- Defined in:
- lib/vigilem/evdev/demultiplexer.rb
Class Method Summary collapse
-
.acquire(outputs = []) ⇒ Demultiplexer
there should only be one demultiplexer for Evdev.
Class Method Details
.acquire(outputs = []) ⇒ Demultiplexer
TODO:
move away from singleton and look at the one used by x11
there should only be one demultiplexer for Evdev
16 17 18 |
# File 'lib/vigilem/evdev/demultiplexer.rb', line 16 def acquire(outputs=[]) @demultiplexer ||= new(nil, outputs || []) end |