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

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

UInputDriver Class Reference

Inheritance diagram for UInputDriver:
Inheritance graph
Collaboration diagram for UInputDriver:
Collaboration graph

List of all members.

Public Member Functions

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 ()
 UInputDriver (const std::string &name)
virtual void update (float delta)
void add_abs (uint16_t code, int min, int max)
void add_btn (uint16_t code)
void add_rel (uint16_t code)
void finish ()

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

UInputDriveroperator= (const UInputDriver &)
 UInputDriver (const UInputDriver &)
void on_abs (AbsPortOut *port, uint16_t code)
void on_rel (RelPortOut *port, uint16_t code)
void on_btn (BtnPortOut *port, uint16_t code)

Private Attributes

bool abs_bit
int fd
bool key_bit
bool rel_bit
uinput_user_dev user_dev

Detailed Description

Definition at line 28 of file uinput_driver.hpp.

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

Generated by  Doxygen 1.6.0   Back to index