Lines Matching refs:mDeviceNode

97     mHost(host), mDeviceNode(node), mDeviceDefinition(mHost->createDeviceDefinition()) {  in EvdevDevice()
123 if (mDeviceNode->hasKey(BTN_MOUSE) in createMappers()
124 && mDeviceNode->hasRelativeAxis(REL_X) in createMappers()
125 && mDeviceNode->hasRelativeAxis(REL_Y)) { in createMappers()
131 bool haveGamepadButtons = mDeviceNode->hasKeyInRange(BTN_MISC, BTN_MOUSE) || in createMappers()
132 mDeviceNode->hasKeyInRange(BTN_JOYSTICK, BTN_DIGI); in createMappers()
136 if (mDeviceNode->hasAbsoluteAxis(ABS_MT_POSITION_X) in createMappers()
137 && mDeviceNode->hasAbsoluteAxis(ABS_MT_POSITION_Y)) { in createMappers()
141 if (mDeviceNode->hasKey(BTN_TOUCH) || !haveGamepadButtons) { in createMappers()
146 } else if (mDeviceNode->hasKey(BTN_TOUCH) in createMappers()
147 && mDeviceNode->hasAbsoluteAxis(ABS_X) in createMappers()
148 && mDeviceNode->hasAbsoluteAxis(ABS_Y)) { in createMappers()
152 } else if ((mDeviceNode->hasAbsoluteAxis(ABS_PRESSURE) || mDeviceNode->hasKey(BTN_TOUCH)) in createMappers()
153 && !mDeviceNode->hasAbsoluteAxis(ABS_X) && !mDeviceNode->hasAbsoluteAxis(ABS_Y)) { in createMappers()
167 bool haveKeyboardKeys = mDeviceNode->hasKeyInRange(0, BTN_MISC) || in createMappers()
168 mDeviceNode->hasKeyInRange(KEY_OK, KEY_CNT); in createMappers()
182 if (mDeviceNode->hasAbsoluteAxis(i) in createMappers()
193 if (mDeviceNode->hasSwitch(i)) { in createMappers()
202 if (mDeviceNode->hasForceFeedback(FF_RUMBLE)) { in createMappers()
207 ALOGD("device %s classes=0x%x %zu mappers", mDeviceNode->getPath().c_str(), mClasses, in createMappers()
214 if (mapper->configureInputReport(mDeviceNode.get(), reportDef)) { in configureDevice()
221 if (mapper->configureOutputReport(mDeviceNode.get(), reportDef)) { in configureDevice()
237 ALOGD(log.c_str(), mDeviceNode->getPath().c_str(), event.when, event.type, event.code, in processInput()
264 mDeviceNode->getPath().c_str(), event.when, time, currentTime); in processInput()