Searched refs:absInfo (Results 1 – 6 of 6) sorted by relevance
/base/msdp/device_status/tools/vdev/src/ |
D | virtual_touchscreen.cpp | 60 struct input_absinfo absInfo {}; in QueryScreenSize() struct 62 if (QueryAbsInfo(ABS_X, absInfo)) { in QueryScreenSize() 63 screenWidth_ = (absInfo.maximum - absInfo.minimum + 1); in QueryScreenSize() 65 if (QueryAbsInfo(ABS_MT_POSITION_X, absInfo) && in QueryScreenSize() 67 ((absInfo.maximum - absInfo.minimum + 1) > screenWidth_))) { in QueryScreenSize() 68 screenWidth_ = (absInfo.maximum - absInfo.minimum + 1); in QueryScreenSize() 71 if (QueryAbsInfo(ABS_Y, absInfo)) { in QueryScreenSize() 72 screenHeight_ = (absInfo.maximum - absInfo.minimum + 1); in QueryScreenSize() 74 if (QueryAbsInfo(ABS_MT_POSITION_Y, absInfo) && in QueryScreenSize() 76 ((absInfo.maximum - absInfo.minimum + 1) > screenHeight_))) { in QueryScreenSize() [all …]
|
D | virtual_device_builder.cpp | 297 void VirtualDeviceBuilder::SetAbsValue(const AbsInfo &absInfo) in SetAbsValue() argument 299 uinputDev_.absmin[absInfo.code] = absInfo.minValue; in SetAbsValue() 300 uinputDev_.absmax[absInfo.code] = absInfo.maxValue; in SetAbsValue() 301 uinputDev_.absfuzz[absInfo.code] = absInfo.fuzz; in SetAbsValue() 302 uinputDev_.absflat[absInfo.code] = absInfo.flat; in SetAbsValue()
|
D | v_input_device.cpp | 103 bool VInputDevice::QueryAbsInfo(size_t abs, struct input_absinfo &absInfo) in QueryAbsInfo() argument 106 errno_t ret = memset_s(&absInfo, sizeof(absInfo), 0, sizeof(absInfo)); in QueryAbsInfo() 111 return (ioctl(fd_, EVIOCGABS(abs), &absInfo) >= 0); in QueryAbsInfo()
|
/base/msdp/device_status/tools/vdev/include/ |
D | virtual_device.h | 51 bool QueryAbsInfo(size_t abs, struct input_absinfo &absInfo); 132 inline bool VirtualDevice::QueryAbsInfo(size_t abs, struct input_absinfo &absInfo) in QueryAbsInfo() argument 134 return ((inputDev_ != nullptr) && inputDev_->QueryAbsInfo(abs, absInfo)); in QueryAbsInfo()
|
D | virtual_device_builder.h | 53 void SetAbsValue(const AbsInfo &absInfo);
|
D | v_input_device.h | 82 bool QueryAbsInfo(size_t abs, struct input_absinfo &absInfo);
|