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

Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes

EvdevDriver Class Reference

Inheritance diagram for EvdevDriver:
Inheritance graph
Collaboration diagram for EvdevDriver:
Collaboration graph

List of all members.

Public Member Functions

 EvdevDriver (const std::string &filename)
AbsPortIn * get_abs_port_in (int idx)
int get_abs_port_in_count ()
AbsPortOut * get_abs_port_out (int idx)
int get_abs_port_out_count ()
BtnPortIn * get_btn_port_in (int idx)
int get_btn_port_in_count ()
BtnPortOut * get_btn_port_out (int idx)
int get_btn_port_out_count ()
std::string get_name () const
RelPortIn * get_rel_port_in (int idx)
int get_rel_port_in_count ()
RelPortOut * get_rel_port_out (int idx)
int get_rel_port_out_count ()
void update (float delta)

Protected Attributes

std::vector< AbsPortIn * > abs_port_in
std::vector< AbsPortOut * > abs_port_out
std::vector< BtnPortIn * > btn_port_in
std::vector< BtnPortOut * > btn_port_out
std::vector< RelPortIn * > rel_port_in
std::vector< RelPortOut * > rel_port_out

Private Member Functions

 EvdevDriver (const EvdevDriver &)
EvdevDriveroperator= (const EvdevDriver &)

Private Attributes

int abs2idx [ABS_MAX]
int fd
int key2idx [KEY_MAX]
std::string name
int rel2idx [REL_MAX]
int version

Detailed Description

Definition at line 26 of file evdev_driver.hpp.

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

Generated by  Doxygen 1.6.0   Back to index