Home
last modified time | relevance | path

Searched refs:attrSet (Results 1 – 20 of 20) sorted by relevance

/ohos5.0/drivers/peripheral/input/udriver/include/
H A Dinput_device_manager.h121 in.detailInfo.chipName, in.detailInfo.attrSet.devName, in dumpInfoList()
122 in.detailInfo.attrSet.id.busType, in.detailInfo.attrSet.id.vendor, in dumpInfoList()
123 in.detailInfo.attrSet.id.product, in.detailInfo.attrSet.id.version); in dumpInfoList()
128 in.detailInfo.attrSet.axisInfo[i].axis, in.detailInfo.attrSet.axisInfo[i].flat, in dumpInfoList()
129 in.detailInfo.attrSet.axisInfo[i].fuzz, in.detailInfo.attrSet.axisInfo[i].max, in dumpInfoList()
130 … in.detailInfo.attrSet.axisInfo[i].min, in.detailInfo.attrSet.axisInfo[i].range); in dumpInfoList()
/ohos5.0/drivers/peripheral/input/hdi_service/
H A Dinput_interfaces_impl.cpp61 hdiDevInfo.attrSet.devName = halDevInfo.attrSet.devName; in TransferDevInfo()
62 hdiDevInfo.attrSet.id.busType = halDevInfo.attrSet.id.busType; in TransferDevInfo()
63 hdiDevInfo.attrSet.id.vendor = halDevInfo.attrSet.id.vendor; in TransferDevInfo()
64 hdiDevInfo.attrSet.id.product = halDevInfo.attrSet.id.product; in TransferDevInfo()
65 hdiDevInfo.attrSet.id.version = halDevInfo.attrSet.id.version; in TransferDevInfo()
68 hdiDevInfo.attrSet.axisInfo[i].axis = halDevInfo.attrSet.axisInfo[i].axis; in TransferDevInfo()
69 hdiDevInfo.attrSet.axisInfo[i].min = halDevInfo.attrSet.axisInfo[i].min; in TransferDevInfo()
70 hdiDevInfo.attrSet.axisInfo[i].max = halDevInfo.attrSet.axisInfo[i].max; in TransferDevInfo()
71 hdiDevInfo.attrSet.axisInfo[i].fuzz = halDevInfo.attrSet.axisInfo[i].fuzz; in TransferDevInfo()
72 hdiDevInfo.attrSet.axisInfo[i].flat = halDevInfo.attrSet.axisInfo[i].flat; in TransferDevInfo()
[all …]
/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/resources/templates/lite/input_template/
H A Dinput_driver_source.template93 device->driver->inputDev->attrSet.axisInfo[ABS_X].min = 0;
94 device->driver->inputDev->attrSet.axisInfo[ABS_X].max = device->boardCfg->attr.resolutionX - 1;
95 device->driver->inputDev->attrSet.axisInfo[ABS_X].range = 0;
96 device->driver->inputDev->attrSet.axisInfo[ABS_Y].min = 0;
97 device->driver->inputDev->attrSet.axisInfo[ABS_Y].max = device->boardCfg->attr.resolutionY - 1;
98 device->driver->inputDev->attrSet.axisInfo[ABS_Y].range = 0;
99 device->driver->inputDev->attrSet.axisInfo[ABS_MT_POSITION_X].min = 0;
101 device->driver->inputDev->attrSet.axisInfo[ABS_MT_POSITION_X].range = 0;
102 device->driver->inputDev->attrSet.axisInfo[ABS_MT_POSITION_Y].min = 0;
104 device->driver->inputDev->attrSet.axisInfo[ABS_MT_POSITION_Y].range = 0;
[all …]
/ohos5.0/drivers/hdf_core/framework/model/input/driver/touchscreen/
H A Dtouch_ft5406.c178 device->driver->inputDev->attrSet.axisInfo[ABS_X].min = 0; in SetAbility()
179 device->driver->inputDev->attrSet.axisInfo[ABS_X].max = device->boardCfg->attr.resolutionX - 1; in SetAbility()
180 device->driver->inputDev->attrSet.axisInfo[ABS_X].range = 0; in SetAbility()
181 device->driver->inputDev->attrSet.axisInfo[ABS_Y].min = 0; in SetAbility()
182 device->driver->inputDev->attrSet.axisInfo[ABS_Y].max = device->boardCfg->attr.resolutionY - 1; in SetAbility()
183 device->driver->inputDev->attrSet.axisInfo[ABS_Y].range = 0; in SetAbility()
184 device->driver->inputDev->attrSet.axisInfo[ABS_MT_POSITION_X].min = 0; in SetAbility()
186 device->driver->inputDev->attrSet.axisInfo[ABS_MT_POSITION_X].range = 0; in SetAbility()
187 device->driver->inputDev->attrSet.axisInfo[ABS_MT_POSITION_Y].min = 0; in SetAbility()
189 device->driver->inputDev->attrSet.axisInfo[ABS_MT_POSITION_Y].range = 0; in SetAbility()
[all …]
H A Dtouch_ft5x06.c174 device->driver->inputDev->attrSet.axisInfo[ABS_X].min = NUM_0; in SetAbility()
175 …device->driver->inputDev->attrSet.axisInfo[ABS_X].max = device->boardCfg->attr.resolutionX - NUM_1; in SetAbility()
176 device->driver->inputDev->attrSet.axisInfo[ABS_X].range = NUM_0; in SetAbility()
177 device->driver->inputDev->attrSet.axisInfo[ABS_Y].min = NUM_0; in SetAbility()
178 …device->driver->inputDev->attrSet.axisInfo[ABS_Y].max = device->boardCfg->attr.resolutionY - NUM_1; in SetAbility()
179 device->driver->inputDev->attrSet.axisInfo[ABS_Y].range = NUM_0; in SetAbility()
180 device->driver->inputDev->attrSet.axisInfo[ABS_MT_POSITION_X].min = NUM_0; in SetAbility()
182 device->driver->inputDev->attrSet.axisInfo[ABS_MT_POSITION_X].range = NUM_0; in SetAbility()
183 device->driver->inputDev->attrSet.axisInfo[ABS_MT_POSITION_Y].min = NUM_0; in SetAbility()
185 device->driver->inputDev->attrSet.axisInfo[ABS_MT_POSITION_Y].range = NUM_0; in SetAbility()
[all …]
H A Dtouch_gt911.c284 device->driver->inputDev->attrSet.axisInfo[ABS_X].min = 0; in SetAbility()
285 device->driver->inputDev->attrSet.axisInfo[ABS_X].max = device->boardCfg->attr.resolutionX - 1; in SetAbility()
286 device->driver->inputDev->attrSet.axisInfo[ABS_X].range = 0; in SetAbility()
287 device->driver->inputDev->attrSet.axisInfo[ABS_Y].min = 0; in SetAbility()
288 device->driver->inputDev->attrSet.axisInfo[ABS_Y].max = device->boardCfg->attr.resolutionY - 1; in SetAbility()
289 device->driver->inputDev->attrSet.axisInfo[ABS_Y].range = 0; in SetAbility()
290 device->driver->inputDev->attrSet.axisInfo[ABS_MT_POSITION_X].min = 0; in SetAbility()
292 device->driver->inputDev->attrSet.axisInfo[ABS_MT_POSITION_X].range = 0; in SetAbility()
293 device->driver->inputDev->attrSet.axisInfo[ABS_MT_POSITION_Y].min = 0; in SetAbility()
295 device->driver->inputDev->attrSet.axisInfo[ABS_MT_POSITION_Y].range = 0; in SetAbility()
[all …]
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/input/
H A D_device_info_v10.md25 | struct [DevAttr](_dev_attr_v10.md)[attrSet](#attrset) | 设备属性 |
42 ### attrSet subsection
45 struct DevAttr DeviceInfo::attrSet
H A D_input_device_info.md25 | [InputDevAttr](_input_dev_attr.md)[attrSet](#attrset) | 设备属性 |
42 ### attrSet subsection
45 InputDevAttr InputDeviceInfo::attrSet
/ohos5.0/drivers/hdf_core/framework/model/input/driver/
H A Dhdf_hid_adapter.c130 ret = memcpy_s(inputDev->attrSet.axisInfo, sizeof(AbsAttr) * ABS_CNT, in SetInputDevAbsAttr()
176 inputDev->attrSet.id.busType = info->bustype; in GetInfoFromCache()
177 inputDev->attrSet.id.vendor = info->vendor; in GetInfoFromCache()
178 inputDev->attrSet.id.product = info->product; in GetInfoFromCache()
179 inputDev->attrSet.id.version = info->version; in GetInfoFromCache()
382 …ret = strncpy_s(inputDev->attrSet.devName, DEV_NAME_LEN, inputDev->devName, strlen(inputDev->devNa… in HidGetDeviceAttr()
388 if (!HdfSbufWriteBuffer(reply, &inputDev->attrSet, sizeof(DevAttr))) { in HidGetDeviceAttr()
H A Dhdf_input_device_manager.h121 DevAttr attrSet; member
H A Dhdf_touch.c812 ret = strncpy_s(driver->inputDev->attrSet.devName, DEV_NAME_LEN, tempStr, strlen(tempStr)); in TouchGetDeviceAttr()
818 if (!HdfSbufWriteBuffer(reply, &driver->inputDev->attrSet, sizeof(DevAttr))) { in TouchGetDeviceAttr()
/ohos5.0/drivers/peripheral/input/udriver/src/
H A Dinput_device_manager.cpp237 int32_t ret = strcpy_s(detailInfo->attrSet.devName, DEV_NAME_LEN, buffer); in GetInputDeviceInfo()
247 detailInfo->attrSet.id.busType = inputId.bustype; in GetInputDeviceInfo()
248 detailInfo->attrSet.id.product = inputId.product; in GetInputDeviceInfo()
249 detailInfo->attrSet.id.vendor = inputId.vendor; in GetInputDeviceInfo()
250 detailInfo->attrSet.id.version = inputId.version; in GetInputDeviceInfo()
254 if (ioctl(fd, EVIOCGABS(i), &detailInfo->attrSet.axisInfo[i])) { in GetInputDeviceInfo()
256 __func__, fd, detailInfo->attrSet.devName, strerror(errno)); in GetInputDeviceInfo()
315 auto sDevName = string(detailInfo->attrSet.devName); in CreateInputDevListNode()
492 auto sDevName = string(detailInfo->attrSet.devName); in DoWithEventDeviceAdd()
553 auto sDevName = string(inputDevList_[index].detailInfo.attrSet.devName); in DoWithEventDeviceDel()
[all …]
/ohos5.0/foundation/multimodalinput/input/uinput/
H A Dhdf_device_event_manager.cpp51 …callback_ = new (std::nothrow) HdfDeviceEventDispatch(iDevInfo_.attrSet.axisInfo[ABS_MT_POSITION_X… in ConnectHDFInit()
52 iDevInfo_.attrSet.axisInfo[ABS_MT_POSITION_Y].max); in ConnectHDFInit()
/ohos5.0/drivers/peripheral/input/test/unittest/udriver/
H A Dhdi_input_test.cpp285 dev->chipInfo, dev->vendorName, dev->chipName, dev->attrSet.devName);
287 …dev->attrSet.id.busType, dev->attrSet.id.vendor, dev->attrSet.id.product, dev->attrSet.id.version);
353 …nc__, (dev + i)->chipInfo, (dev + i)->vendorName, (dev + i)->chipName, (dev + i)->attrSet.devName);
/ohos5.0/drivers/peripheral/input/interfaces/include/
H A Dinput_type.h279 InputDevAttr attrSet; /**< Device attributes */ member
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/input_v1_0/cpp_target/input/v1_0/
H A Dinput_types.h.txt81 OHOS::HDI::Input::V1_0::DevAttr attrSet;
/ohos5.0/drivers/peripheral/input/hal/src/
H A Dinput_controller.c549 … if (memcpy_s(&pos->payload.attrSet, sizeof(InputDevAttr), attr, sizeof(InputDevAttr)) != EOK) { in GetDeviceAttr()
567 ret = GetDeviceAttr(devIndex, &node.payload.attrSet); in UpdateAttrInfo()
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/input_v1_0/dump_ast_target/
H A Ddump.txt146 ohos.hdi.input.v1_0.DevAttr attrSet;
/ohos5.0/drivers/interface/input/v1_0/
H A DInputTypes.idl121 struct DevAttr attrSet; /**< Device attributes */
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/input_v1_0/foo/input/v1_0/
H A DInputTypes.idl121 struct DevAttr attrSet; /**< Device attributes */