vrpn
07.33
Virtual Reality Peripheral Network
|
Go to the documentation of this file. 1 #ifndef VRPN_SPACEBALL_H
2 #define VRPN_SPACEBALL_H
16 const char * port,
int baud);
23 virtual int reset(
void);
28 unsigned char buf[512];
38 struct timeval timestamp;
40 virtual void clear_values(
void);
44 virtual int get_report(
void);
48 (vrpn_uint32 class_of_service
53 (vrpn_uint32 class_of_service
virtual void report(vrpn_uint32 class_of_service=vrpn_CONNECTION_LOW_LATENCY, const struct timeval time=vrpn_ANALOG_NOW)
Send a report whether something has changed or not (for servers) Optionally, tell what time to stamp ...
int escapedchar
We're processing an escaped char.
const vrpn_uint32 vrpn_CONNECTION_LOW_LATENCY
int _numbuttons
How many buttons to open.
int spaceball4000
We found a Spaceball 4000.
int erroroccured
A device error has occurred.
int _numchannels
How many analog channels to open.
int bufpos
Current char pos in buffer.
virtual void mainloop()=0
Called once through each main loop iteration to handle updates. Remote object mainloop() should call ...
int leftymode4000
Spaceball 4000 is in lefty mode.
Generic connection class not specific to the transport mechanism.
int packlen
Expected packet length.
int packtype
What kind of packet we are decoding.
int resetoccured
A reset event has occurred.