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

Classes | Public Member Functions | Private Member Functions | Private Attributes

Chatpad Class Reference

Collaboration diagram for Chatpad:
Collaboration graph
[legend]

List of all members.

Classes

struct  ChatpadKeyMsg
struct  ChatpadMsg

Public Member Functions

 Chatpad (struct usb_dev_handle *handle, uint16_t bcdDevice, bool no_init, bool debug)
bool get_led (unsigned int led)
void init_uinput ()
void process (const ChatpadKeyMsg &msg)
void send_init ()
void set_led (unsigned int led, bool state)
void start_threads ()

Private Member Functions

struct Chatpad::ChatpadMsg __attribute__ ((__packed__))
struct Chatpad::ChatpadKeyMsg __attribute__ ((__packed__))
 Chatpad (const Chatpad &)
void keep_alive_thread ()
Chatpadoperator= (const Chatpad &)
void read_thread ()

Private Attributes

uint16_t m_bcdDevice
bool m_debug
struct usb_dev_handle * m_handle
std::auto_ptr< boost::thread > m_keep_alive_thread
int m_keymap [256]
unsigned int m_led_state
bool m_no_init
bool m_quit_thread
std::auto_ptr< boost::thread > m_read_thread
bool m_state [256]
std::auto_ptr< LinuxUinputm_uinput

Detailed Description

Definition at line 95 of file chatpad.hpp.


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

Generated by  Doxygen 1.6.0   Back to index