Пример #1
0
vrpn_Xkeys::vrpn_Xkeys(vrpn_HidAcceptor *filter, const char *name, vrpn_Connection *c)
  : _filter(filter)
  , vrpn_HidInterface(_filter)
  , vrpn_BaseClass(name, c)
{
	init_hid();
}
Пример #2
0
vrpn_Griffin::vrpn_Griffin(vrpn_HidAcceptor *filter, const char *name, vrpn_Connection *c)
  : vrpn_BaseClass(name, c)
  , vrpn_HidInterface(filter)
  , _filter(filter)
{
	init_hid();
}
Пример #3
0
//////////////////////////////////////////////////////////////////////////
// Common base class
//////////////////////////////////////////////////////////////////////////
vrpn_Microsoft_Controller_Raw::vrpn_Microsoft_Controller_Raw(vrpn_HidAcceptor *filter, const char *name, vrpn_Connection *c)
  : _filter(filter)
  , vrpn_HidInterface(_filter)
  , vrpn_BaseClass(name, c)
{
	init_hid();
}
Пример #4
0
vrpn_Griffin::vrpn_Griffin(vrpn_HidAcceptor *filter, const char *name, vrpn_Connection *c,
    vrpn_uint16 vendor, vrpn_uint16 product)
  : vrpn_BaseClass(name, c)
  , vrpn_HidInterface(filter, vendor, product)
  , _filter(filter)
{
	init_hid();
}
Пример #5
0
//////////////////////////////////////////////////////////////////////////
// Common base class
//////////////////////////////////////////////////////////////////////////
vrpn_Microsoft_Controller_Raw::vrpn_Microsoft_Controller_Raw(vrpn_HidAcceptor *filter, const char *name, vrpn_Connection *c,
    vrpn_uint16 vendor, vrpn_uint16 product)
  : vrpn_BaseClass(name, c)
  , vrpn_HidInterface(filter, vendor, product)
  , _filter(filter)
{
	init_hid();
}
Пример #6
0
vrpn_nVidia_shield::vrpn_nVidia_shield(vrpn_HidAcceptor *filter,
    const char *name, vrpn_Connection *c,
    vrpn_uint16 vendor, vrpn_uint16 product)
  : vrpn_BaseClass(name, c)
  , vrpn_HidInterface(filter, vendor, product)
  , d_filter(filter)
{
	init_hid();
}
Пример #7
0
vrpn_Xkeys::vrpn_Xkeys(vrpn_HidAcceptor *filter, const char *name,
    vrpn_Connection *c, vrpn_uint16 vendor, vrpn_uint16 product,
    bool toggle_light)
  : vrpn_BaseClass(name, c)
  , vrpn_HidInterface(filter, vendor, product)
  , _filter(filter)
  , _toggle_light(toggle_light)
{
	init_hid();
}
Пример #8
0
vrpn_Contour::vrpn_Contour(vrpn_HidAcceptor *filter, const char *name, vrpn_Connection *c)
  : vrpn_BaseClass(name, c)
  , vrpn_HidInterface(filter)
  , _filter(filter)
{
	init_hid();

	// We've not yet gotten a dial response.
	_gotDial = false;
}