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