5#include "vrpn_Analog.h"
7#include "vrpn_Button.h"
8#include "vrpn_Configure.h"
9#include "vrpn_Connection.h"
11#include "vrpn_HumanInterface.h"
12#include "vrpn_Shared.h"
13#include "vrpn_Types.h"
15#if defined(VRPN_USE_HID)
41 virtual void decodePacket(
size_t bytes, vrpn_uint8 *buffer) = 0;
42 struct timeval _timestamp;
58 void report_changes (vrpn_uint32 class_of_service = vrpn_CONNECTION_LOW_LATENCY);
60 void report (vrpn_uint32 class_of_service = vrpn_CONNECTION_LOW_LATENCY);
62 void decodePacket(
size_t bytes, vrpn_uint8 *buffer);
74 void report_changes (vrpn_uint32 class_of_service = vrpn_CONNECTION_LOW_LATENCY);
76 void report (vrpn_uint32 class_of_service = vrpn_CONNECTION_LOW_LATENCY);
78 void decodePacket(
size_t bytes, vrpn_uint8 *buffer);
90 void report_changes (vrpn_uint32 class_of_service = vrpn_CONNECTION_LOW_LATENCY);
92 void report (vrpn_uint32 class_of_service = vrpn_CONNECTION_LOW_LATENCY);
94 void decodePacket(
size_t bytes, vrpn_uint8 *buffer);
116 void report_changes (vrpn_uint32 class_of_service = vrpn_CONNECTION_LOW_LATENCY);
118 void report (vrpn_uint32 class_of_service = vrpn_CONNECTION_LOW_LATENCY);
120 void decodePacket(
size_t bytes, vrpn_uint8 *buffer);
123 vrpn_uint8 _lastDial;
定义 vrpn_Microsoft_Controller_Raw.h:142
Generic connection class not specific to the transport mechanism.
定义 vrpn_Connection.h:562
定义 vrpn_HumanInterface.h:56
定义 vrpn_HumanInterface.h:70
vrpn_uint16 product() const
vrpn_uint16 vendor() const
定义 vrpn_Microsoft_Controller_Raw.h:135
定义 vrpn_Microsoft_Controller_Raw.h:105
virtual void mainloop(void)
定义 vrpn_Microsoft_Controller_Raw.h:128
定义 vrpn_Microsoft_Controller_Raw.h:82
virtual void mainloop(void)
定义 vrpn_Microsoft_Controller_Raw.h:26
virtual void mainloop(void)=0
void on_data_received(size_t bytes, vrpn_uint8 *buffer)
Derived class reimplements this callback. It is called whenever a read returns some data.
int register_types(void)
定义 vrpn_Microsoft_Controller_Raw.h:46
定义 vrpn_Microsoft_Controller_Raw.h:50
virtual void mainloop(void)
定义 vrpn_Microsoft_Controller_Raw.h:66
virtual void mainloop(void)
This structure is what is passed to a vrpn_Connection message callback.
定义 vrpn_Connection.h:41