2 #ifndef VRPN_VPJOYSTICK 3 #define VRPN_VPJOYSTICK 1 11 #define vrpn_VPJOY_MESSAGE_LENGTH (4) 12 #define vrpn_VPJOY_NUM_BUTTONS (8) 18 const char *port=
"/dev/ttyS0",
long baud=9600);
29 unsigned int bytes_read;
35 #endif // #ifndef VRPN_VPJOYSTICK
#define vrpn_VPJOY_NUM_BUTTONS
Generic connection class not specific to the transport mechanism.
virtual void mainloop()=0
Called once through each main loop iteration to handle updates. Remote object mainloop() should call ...
#define vrpn_VPJOY_MESSAGE_LENGTH