Searched refs:mDeviceNode (Results 1 – 2 of 2) sorted by relevance
99 mHost(host), mDeviceNode(node), mDeviceDefinition(mHost->createDeviceDefinition()) { in EvdevDevice()125 if (mDeviceNode->hasKey(BTN_MOUSE) in createMappers()126 && mDeviceNode->hasRelativeAxis(REL_X) in createMappers()127 && mDeviceNode->hasRelativeAxis(REL_Y)) { in createMappers()133 bool haveGamepadButtons = mDeviceNode->hasKeyInRange(BTN_MISC, BTN_MOUSE) || in createMappers()134 mDeviceNode->hasKeyInRange(BTN_JOYSTICK, BTN_DIGI); in createMappers()138 if (mDeviceNode->hasAbsoluteAxis(ABS_MT_POSITION_X) in createMappers()139 && mDeviceNode->hasAbsoluteAxis(ABS_MT_POSITION_Y)) { in createMappers()143 if (mDeviceNode->hasKey(BTN_TOUCH) || !haveGamepadButtons) { in createMappers()148 } else if (mDeviceNode->hasKey(BTN_TOUCH) in createMappers()[all …]
69 std::shared_ptr<InputDeviceNode> mDeviceNode; variable