Searched refs:contextPtr (Results 1 – 2 of 2) sorted by relevance
149 std::unique_ptr<InputDeviceContext> contextPtr(new InputDeviceContext(*this, eventHubId)); in addEventHubDevice() local150 ftl::Flags<InputDeviceClass> classes = contextPtr->getDeviceClasses(); in addEventHubDevice()155 mDevices.insert({eventHubId, std::make_pair(std::move(contextPtr), std::move(mappers))}); in addEventHubDevice()161 mappers.push_back(std::make_unique<SwitchInputMapper>(*contextPtr)); in addEventHubDevice()166 mappers.push_back(std::make_unique<RotaryEncoderInputMapper>(*contextPtr)); in addEventHubDevice()171 mappers.push_back(std::make_unique<VibratorInputMapper>(*contextPtr)); in addEventHubDevice()177 mController = std::make_unique<PeripheralController>(*contextPtr); in addEventHubDevice()198 std::make_unique<KeyboardInputMapper>(*contextPtr, keyboardSource, keyboardType)); in addEventHubDevice()203 mappers.push_back(std::make_unique<CursorInputMapper>(*contextPtr)); in addEventHubDevice()208 mappers.push_back(std::make_unique<MultiTouchInputMapper>(*contextPtr)); in addEventHubDevice()[all …]
215 auto& contextPtr = devicePair.first; in for_each_subdevice() local216 f(*contextPtr); in for_each_subdevice()