Searched refs:usage_page (Results 1 – 10 of 10) sorted by relevance
122 HidUsageAndPage(uint16_t usage, Page usage_page) in HidUsageAndPage()123 : usage(usage), usage_page(usage_page) {} in HidUsageAndPage()127 Page usage_page; member
31 void HidDeviceFilter::SetUsagePage(uint16_t usage_page) { in SetUsagePage() argument33 usage_page_ = usage_page; in SetUsagePage()59 if (collection.usage.usage_page != usage_page_) { in Matches()
10 if (usage_page == HidUsageAndPage::kPageKeyboard) in IsProtected()13 if (usage_page != HidUsageAndPage::kPageGenericDesktop) in IsProtected()
331 ASSERT_EQ(expected_collection.usage.usage_page, in ValidateDetails()332 actual_collection.usage.usage_page); in ValidateDetails()
22 void SetUsagePage(uint16_t usage_page);
20 collection.usage.usage_page = HidUsageAndPage::kPageKeyboard; in SetUp()
89 api_collection->usage_page = collection.usage.usage_page; in GetApiDevices()
49 if (input->usage_page) { in ConvertHidDeviceFilter()50 output->SetUsagePage(*input->usage_page); in ConvertHidDeviceFilter()
31 NSDictionary* DeviceMatching(uint32_t usage_page, uint32_t usage) {33 [NSNumber numberWithUnsignedInt:usage_page],174 uint32_t usage_page = IOHIDElementGetUsagePage(element);177 usage_page == kButtonUsagePage) {204 uint32_t usage_page = IOHIDElementGetUsagePage(element);208 usage_page <= kGameControlsUsagePage) {
313 virtual HRESULT STDMETHODCALLTYPE HasUsage(uint32 usage_page, in HasUsage() argument319 virtual HRESULT STDMETHODCALLTYPE GetUsageValue(uint32 usage_page, in GetUsageValue() argument