Home
last modified time | relevance | path

Searched refs:usage_page (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/device/hid/
Dhid_usage_and_page.h122 HidUsageAndPage(uint16_t usage, Page usage_page) in HidUsageAndPage()
123 : usage(usage), usage_page(usage_page) {} in HidUsageAndPage()
127 Page usage_page; member
Dhid_device_filter.cc31 void HidDeviceFilter::SetUsagePage(uint16_t usage_page) { in SetUsagePage() argument
33 usage_page_ = usage_page; in SetUsagePage()
59 if (collection.usage.usage_page != usage_page_) { in Matches()
Dhid_usage_and_page.cc10 if (usage_page == HidUsageAndPage::kPageKeyboard) in IsProtected()
13 if (usage_page != HidUsageAndPage::kPageGenericDesktop) in IsProtected()
Dhid_report_descriptor_unittest.cc331 ASSERT_EQ(expected_collection.usage.usage_page, in ValidateDetails()
332 actual_collection.usage.usage_page); in ValidateDetails()
Dhid_device_filter.h22 void SetUsagePage(uint16_t usage_page);
Dhid_device_filter_unittest.cc20 collection.usage.usage_page = HidUsageAndPage::kPageKeyboard; in SetUp()
/external/chromium_org/extensions/browser/api/hid/
Dhid_device_manager.cc89 api_collection->usage_page = collection.usage.usage_page; in GetApiDevices()
Dhid_api.cc49 if (input->usage_page) { in ConvertHidDeviceFilter()
50 output->SetUsagePage(*input->usage_page); in ConvertHidDeviceFilter()
/external/chromium_org/content/browser/gamepad/
Dgamepad_platform_data_fetcher_mac.mm31 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) {
/external/chromium_org/win8/metro_driver/
Dmetro_driver_win7.cc313 virtual HRESULT STDMETHODCALLTYPE HasUsage(uint32 usage_page, in HasUsage() argument
319 virtual HRESULT STDMETHODCALLTYPE GetUsageValue(uint32 usage_page, in GetUsageValue() argument