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

Public Member Functions | Private Member Functions | Private Attributes

Xbox360Controller Class Reference

Inheritance diagram for Xbox360Controller:
Inheritance graph
Collaboration diagram for Xbox360Controller:
Collaboration graph

List of all members.

Public Member Functions

bool read (XboxGenericMsg &msg, bool verbose, int timeout)
void set_led (uint8_t status)
void set_rumble (uint8_t left, uint8_t right)
 Xbox360Controller (struct usb_device *dev, bool chatpad, bool chatpad_no_init, bool chatpad_debug, bool headset, bool headset_debug, const std::string &headset_dump, const std::string &headset_play, bool try_detach)

Private Member Functions

void find_endpoints ()
Xbox360Controlleroperator= (const Xbox360Controller &)
 Xbox360Controller (const Xbox360Controller &)

Private Attributes

struct usb_device * dev
int endpoint_in
int endpoint_out
struct usb_dev_handle * handle
std::auto_ptr< Chatpadm_chatpad
std::auto_ptr< Headsetm_headset
std::auto_ptr< USBReadThreadread_thread

Detailed Description

Definition at line 30 of file xbox360_controller.hpp.

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

Generated by  Doxygen 1.6.0   Back to index