Class Linux::Input
In: /home/oliver/dev/powermate/PowerMate.rb
Parent: Object
class to handle Linux's Input Event Interface (see linux/input.h), currently a minimal implementation for the PowerMate
Methods
dev_name    each_event    new    writable?    write_event   
Attributes
devnode  [R] 
Included modules
Linux::Ioctl Linux::InputConstants
Public Class methods
new( device )
open an Input Event Device
Public Instance methods
writable?()
does the permission on the device allow us to write?
dev_name()
device name as reported by EVIOCGNAME
each_event( &block ) {|event| ...}
iterator over each event being reported by the device yields event of struct Linux::InputConstants::Input_event
write_event( event )
write an event into the device, some device use this to set their status