Searched refs:devinfo (Results 1 – 4 of 4) sorted by relevance
23 bool IsTouchPad(const EventDeviceInfo& devinfo) { in IsTouchPad() argument24 if (!devinfo.HasEventType(EV_ABS)) in IsTouchPad()27 return devinfo.HasKeyEvent(BTN_LEFT) || devinfo.HasKeyEvent(BTN_MIDDLE) || in IsTouchPad()28 devinfo.HasKeyEvent(BTN_RIGHT) || devinfo.HasKeyEvent(BTN_TOOL_FINGER); in IsTouchPad()31 bool IsTouchScreen(const EventDeviceInfo& devinfo) { in IsTouchScreen() argument32 return devinfo.HasEventType(EV_ABS) && !IsTouchPad(devinfo); in IsTouchScreen()55 EventDeviceInfo devinfo; in StartProcessingEvents() local56 if (!devinfo.Initialize(fd)) { in StartProcessingEvents()62 if (IsTouchPad(devinfo)) { in StartProcessingEvents()70 if (IsTouchScreen(devinfo)) in StartProcessingEvents()[all …]
124 XIDeviceInfo* devinfo = xi_dev_list.devices + i; in UpdateDeviceList() local125 if (devinfo->use == XIFloatingSlave || devinfo->use == XIMasterPointer) { in UpdateDeviceList()127 for (int k = 0; k < devinfo->num_classes; ++k) { in UpdateDeviceList()128 XIAnyClassInfo* xiclassinfo = devinfo->classes[k]; in UpdateDeviceList()134 touch_device_lookup_[devinfo->deviceid] = true; in UpdateDeviceList()135 touch_device_list_[devinfo->deviceid] = true; in UpdateDeviceList()143 pointer_device_lookup_[devinfo->deviceid] = true; in UpdateDeviceList()
299 XIDeviceInfo* devinfo = devices + i; in InitializeXInput2() local300 if (devinfo->use == XIFloatingSlave || devinfo->use == XIMasterPointer) in InitializeXInput2()301 pointer_devices_.insert(devinfo->deviceid); in InitializeXInput2()
75 struct devinfo info; in CheckDrive()