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

Method GetID

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

Source from the content-addressed store, hash-verified

82}
83
84std::string DirectInputDevice::GetID() const {
85 return to_utf8(winrt::to_hstring(mDevice.guidInstance));
86}
87
88std::string DirectInputDevice::GetButtonLabel(uint64_t button) const {
89 if ((mDevice.dwDevType & 0xff) == DI8DEVTYPE_KEYBOARD) {

Callers

nothing calls this directly

Calls 1

to_utf8Function · 0.50

Tested by

no test coverage detected