/ohos5.0/drivers/peripheral/input/udriver/include/ |
H A D | input_device_manager.h | 121 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 D | input_interfaces_impl.cpp | 61 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 D | input_driver_source.template | 93 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 D | touch_ft5406.c | 178 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 D | touch_ft5x06.c | 174 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 D | touch_gt911.c | 284 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.md | 25 | struct [DevAttr](_dev_attr_v10.md)[attrSet](#attrset) | 设备属性 | 42 ### attrSet subsection 45 struct DevAttr DeviceInfo::attrSet
|
H A D | _input_device_info.md | 25 | [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 D | hdf_hid_adapter.c | 130 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 D | hdf_input_device_manager.h | 121 DevAttr attrSet; member
|
H A D | hdf_touch.c | 812 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 D | input_device_manager.cpp | 237 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 D | hdf_device_event_manager.cpp | 51 …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 D | hdi_input_test.cpp | 285 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 D | input_type.h | 279 InputDevAttr attrSet; /**< Device attributes */ member
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/input_v1_0/cpp_target/input/v1_0/ |
H A D | input_types.h.txt | 81 OHOS::HDI::Input::V1_0::DevAttr attrSet;
|
/ohos5.0/drivers/peripheral/input/hal/src/ |
H A D | input_controller.c | 549 … 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 D | dump.txt | 146 ohos.hdi.input.v1_0.DevAttr attrSet;
|
/ohos5.0/drivers/interface/input/v1_0/ |
H A D | InputTypes.idl | 121 struct DevAttr attrSet; /**< Device attributes */
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/input_v1_0/foo/input/v1_0/ |
H A D | InputTypes.idl | 121 struct DevAttr attrSet; /**< Device attributes */
|