Implementation of event code filter for event devices.  
 More...
#include <eventCode.h>
 | 
| void  | onEvent (int code, int value, int eventTime) | 
|   | Supposed to be called by event type filter when new event is emitted.  More...
  | 
|   | 
 | 
| void  | on (int value, int eventTime) | 
|   | Emitted when there is new event with specific type and code in an event file.  More...
  | 
|   | 
Implementation of event code filter for event devices. 
 
  
  
      
        
          | EventCode::EventCode  | 
          ( | 
          int  | 
          code | ) | 
           | 
         
       
   | 
  
explicit   | 
  
 
Constructor. 
- Parameters
 - 
  
    | code | - code of the event to filter, see evtest output for a list of codes for specific device.  | 
  
   
 
 
  
  
      
        
          | void EventCode::onEvent  | 
          ( | 
          int  | 
          code,  | 
         
        
           | 
           | 
          int  | 
          value,  | 
         
        
           | 
           | 
          int  | 
          eventTime  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
slot   | 
  
 
Supposed to be called by event type filter when new event is emitted. 
Filters events of this type by code and re-emits signal. 
 
 
The documentation for this class was generated from the following files: