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

Public Member Functions | Static Public Member Functions | Private Attributes | Static Private Attributes

KeyButtonEventHandler Class Reference

Inheritance diagram for KeyButtonEventHandler:
Inheritance graph
Collaboration diagram for KeyButtonEventHandler:
Collaboration graph

List of all members.

Public Member Functions

void init (uInput &uinput) const
 KeyButtonEventHandler (int code)
void send (uInput &uinput, bool value)
std::string str () const
void update (uInput &uinput, int msec_delta)

Static Public Member Functions

static KeyButtonEventHandlerfrom_string (const std::string &str)

Private Attributes

UIEvent m_codes [MAX_MODIFIER+1]
int m_hold_counter
int m_hold_threshold
UIEvent m_secondary_codes [MAX_MODIFIER+1]
bool m_state

Static Private Attributes

static const int MAX_MODIFIER = 4

Detailed Description

Definition at line 77 of file button_event.hpp.

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

Generated by  Doxygen 1.6.0   Back to index