#include <JoystickEvent.h>
JoystickEvent Class.  
 More...
|  | 
| class | AxisEvent | 
|  | Implements an event that notifies about axis positions (like analog controls of a joystick). The axis position is normalized so values are always in the range [-1, 1].  More... 
 | 
|  | 
| class | ButtonEvent | 
|  | Implements the button event for joysticks.  More... 
 | 
|  | 
| class | HatEvent | 
|  | Implements an event notifying changes about a directionnal hat on a device (like a joystick).  More... 
 | 
|  | 
◆ axisEvents
  
  | 
        
          | std::vector< AxisEvent* > sofa::core::objectmodel::JoystickEvent::axisEvents |  | protected | 
 
State of the Analogic Pad. 
 
 
◆ buttonEvent
  
  | 
        
          | ButtonEvent* sofa::core::objectmodel::JoystickEvent::buttonEvent |  | protected | 
 
State of the Joystick Buttons. 
 
 
◆ hatEvents
  
  | 
        
          | std::vector< HatEvent* > sofa::core::objectmodel::JoystickEvent::hatEvents |  | protected | 
 
State of the directional cross. 
 
 
◆ JoystickEvent()
      
        
          | sofa::core::objectmodel::JoystickEvent::JoystickEvent | ( |  | ) |  | 
      
 
 
◆ ~JoystickEvent()
  
  | 
        
          | sofa::core::objectmodel::JoystickEvent::~JoystickEvent | ( |  | ) |  |  | override | 
 
 
◆ addAxisEvent()
◆ addHatEvent()
◆ getAxisEvent()
◆ getAxisEvents()
◆ getAxisEventsSize()
      
        
          | unsigned int sofa::core::objectmodel::JoystickEvent::getAxisEventsSize | ( | void |  | ) | const | 
      
 
 
◆ getButton()
      
        
          | bool sofa::core::objectmodel::JoystickEvent::getButton | ( | unsigned int | buttonIndex | ) | const | 
      
 
 
◆ getButtonEvent()
◆ GetClassName()
  
  | 
        
          | static const char* sofa::core::objectmodel::JoystickEvent::GetClassName | ( |  | ) |  |  | inlinestatic | 
 
 
◆ getHatEvent()
◆ getHatEvents()
      
        
          | const std::vector< JoystickEvent::HatEvent * > & sofa::core::objectmodel::JoystickEvent::getHatEvents | ( | void |  | ) | const | 
      
 
 
◆ getHatEventsSize()
      
        
          | unsigned int sofa::core::objectmodel::JoystickEvent::getHatEventsSize | ( | void |  | ) | const | 
      
 
 
◆ setButtonEvent()