MCPcopy Create free account
hub / github.com/OpenKneeboard/OpenKneeboard / GetName

Method GetName

src/app/app-common/UserInput/DirectInputDevice.cpp:80–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80std::string DirectInputDevice::GetName() const {
81 return to_utf8(mDevice.tszInstanceName);
82}
83
84std::string DirectInputDevice::GetID() const {
85 return to_utf8(winrt::to_hstring(mDevice.guidInstance));

Callers

nothing calls this directly

Calls 1

to_utf8Function · 0.50

Tested by

no test coverage detected