Logo Search packages:      
Sourcecode: xboxdrv version File versions  Download package

Public Member Functions | Private Types | Private Member Functions | Private Attributes

EvdevController Class Reference

Inheritance diagram for EvdevController:
Inheritance graph
Collaboration diagram for EvdevController:
Collaboration graph

List of all members.

Public Member Functions

 EvdevController (const std::string &filename, const EvdevAbsMap &absmap, const std::map< int, XboxButton > &keyMap, bool grab, bool debug)
bool read (XboxGenericMsg &msg, bool verbose, int timeout)
void set_led (uint8_t status)
void set_rumble (uint8_t left, uint8_t right)

Private Types

typedef std::queue< struct
input_event > 
typedef std::map< int, XboxButton > KeyMap

Private Member Functions

bool apply (XboxGenericMsg &msg, const struct input_event &ev)
 EvdevController (const EvdevController &)
EvdevControlleroperator= (const EvdevController &)
void read_data_to_buffer ()

Private Attributes

std::vector< struct input_absinfo > m_absinfo
EvdevAbsMap m_absmap
bool m_debug
EventBuffer m_event_buffer
int m_fd
bool m_grab
KeyMap m_keymap
XboxGenericMsg m_msg
std::string m_name

Detailed Description

Definition at line 33 of file evdev_controller.hpp.

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index