Lines Matching refs:attrs
519 const InputAttributes *attrs)
522 if (!MatchAttrToken(attrs->product, &iclass->match_product, match_substring))
526 if (!MatchAttrToken(attrs->vendor, &iclass->match_vendor, match_substring))
530 if (!MatchAttrToken(attrs->device, &iclass->match_device, match_path_pattern))
538 if (!MatchAttrToken(attrs->pnp_id, &iclass->match_pnpid, match_pattern))
542 if (!MatchAttrToken(attrs->usb_id, &iclass->match_usbid, match_pattern))
557 if (!attrs->tags)
559 for (tag = attrs->tags, match = FALSE; *tag; tag++) {
571 iclass->is_keyboard.val != !!(attrs->flags & ATTR_KEYBOARD))
574 iclass->is_pointer.val != !!(attrs->flags & ATTR_POINTER))
577 iclass->is_joystick.val != !!(attrs->flags & ATTR_JOYSTICK))
580 iclass->is_tablet.val != !!(attrs->flags & ATTR_TABLET))
583 iclass->is_touchpad.val != !!(attrs->flags & ATTR_TOUCHPAD))
586 iclass->is_touchscreen.val != !!(attrs->flags & ATTR_TOUCHSCREEN))
598 MergeInputClasses(const InputInfoPtr idev, const InputAttributes *attrs)
604 if (!InputClassMatches(cl, idev, attrs))
635 IgnoreInputClass(const InputInfoPtr idev, const InputAttributes *attrs)
642 if (!InputClassMatches(cl, idev, attrs))
709 FreeInputAttributes(pInp->attrs);
851 NewInputDeviceRequest (InputOption *options, InputAttributes *attrs,
910 if (attrs) {
911 if (IgnoreInputClass(pInfo, attrs)) {
916 rval = MergeInputClasses(pInfo, attrs);
920 pInfo->attrs = DuplicateInputAttributes(attrs);