31 const char* evdev_name) :
39 fprintf( stderr,
"vrpn_Event_Analog(): Not yet implemented on this architecture.");
44 if (0 == evdev_name) {
46 fprintf(stderr,
"vrpn_Event_Analog: No file name.\n");
55 fprintf(stderr,
"vrpn_Event_Analog: Failed to open event interface file.\n");
78 fprintf( stderr,
"~vrpn_Event_Analog(): Not yet implemented on this architecture.");
vrpn_Analog(const char *name, vrpn_Connection *c=NULL)
Generic connection class not specific to the transport mechanism.
vrpn_Event_Analog(const char *name, vrpn_Connection *connection, const char *evdev_name)
event_vector_t event_data
std::vector< struct vrpn_Event::input_event > event_vector_t
int read_available_data()
unsigned long max_num_events
void vrpn_close_event(const int fd)
int vrpn_open_event(const char *file)
int vrpn_read_event(int fd, input_event *data, int max_elements)
const int vrpn_ANALOG_FAIL
const int vrpn_ANALOG_RESETTING
class VRPN_API vrpn_Connection
#define vrpn_gettimeofday