8#ifndef VRPN_TRACKER_LIBERTY_H
9#define VRPN_TRACKER_LIBERTY_H
43 const char *port =
"/dev/ttyS0",
long baud = 115200,
45 const char *additional_reset_commands = NULL,
int whoamilen = 195);
50 int add_stylus_button(
const char *button_device_name,
51 int sensor,
int numbuttons = 1);
57 struct timeval reset_time;
61 char add_reset_cmd[2048];
65 struct timeval liberty_zerotime;
66 struct timeval liberty_timestamp;
72 int set_sensor_output_format(
int sensor);
75 int report_length(
int sensor);
Generic connection class not specific to the transport mechanism.
virtual void reset(void)=0
Reset the tracker.
virtual int get_report(void)=0
Gets a report if one is available, returns 0 if not, 1 if complete report.
const int vrpn_LIBERTY_MAX_STATIONS
const int vrpn_LIBERTY_MAX_WHOAMI_LEN