5 #include "../backend.h" 8 #include <Sensorsapi.h> 23 auto res = pISensor->GetFriendlyName(&fName);
26 fName = L
"Unidentified HID Sensor";
38 return _pISensor->SetEventSink(sensorEvents);
61 void register_profiles(
const std::vector<hid_profile>& hid_profiles)
override { _hid_profiles = hid_profiles;}
62 void open(
const std::vector<hid_profile>&iio_profiles)
override;
63 void close()
override;
66 std::vector<hid_sensor> get_sensors()
override;
77 CComPtr<ISensorEvents>
_cb;
GLsizei const GLchar *const * string
def info(name, value, persistent=False)