Searched refs:mDeviceNode (Results 1 – 2 of 2) sorted by relevance
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()[all …]
69 std::shared_ptr<InputDeviceNode> mDeviceNode; variable