1#ifndef __TRACKER_3DMOUSE_H
2#define __TRACKER_3DMOUSE_H
16 const char *port =
"/dev/ttyS1",
18 int filtering_count = 1);
Generic connection class not specific to the transport mechanism.
unsigned char _buffer[2048]
vrpn_Tracker_3DMouse(const char *name, vrpn_Connection *c, const char *port="/dev/ttyS1", long baud=19200, int filtering_count=1)
bool set_filtering_count(int count)
virtual void clear_values(void)
virtual void reset(void)=0
Reset the tracker.
virtual void mainloop()
Uses the get_report, send_report, and reset routines to implement a server.
virtual int get_report(void)=0
Gets a report if one is available, returns 0 if not, 1 if complete report.
vrpn_Tracker_Serial(const char *name, vrpn_Connection *c, const char *port="/dev/ttyS1", long baud=38400)
class VRPN_API vrpn_Connection