Home
last modified time | relevance | path

Searched refs:absType (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/distributedhardware/distributed_input/common/include/
H A Dinput_hub.cpp804 for (uint32_t absType = 0; absType < ABS_CNT; absType++) { in GetABSInfo() local
805 if (!libevdev_has_event_code(dev, EV_ABS, absType)) { in GetABSInfo()
806 DHLOGD("The device is not support absType: %{public}d", absType); in GetABSInfo()
809 identifier.absTypes.push_back(absType); in GetABSInfo()
810 const struct input_absinfo *abs = libevdev_get_abs_info(dev, absType); in GetABSInfo()
815 identifier.absInfos[absType].push_back(abs->value); in GetABSInfo()
816 identifier.absInfos[absType].push_back(abs->minimum); in GetABSInfo()
817 identifier.absInfos[absType].push_back(abs->maximum); in GetABSInfo()
818 identifier.absInfos[absType].push_back(abs->fuzz); in GetABSInfo()
819 identifier.absInfos[absType].push_back(abs->flat); in GetABSInfo()
[all …]
/ohos5.0/foundation/multimodalinput/input/tools/inject_event/src/
H A Dinput_manager_command.cpp98 PointerEvent::AxisType absType; member
1496 joyInfo.absType = PointerEvent::AxisType::AXIS_TYPE_ABS_X; in ParseCommand()
1498 joyInfo.absType = PointerEvent::AxisType::AXIS_TYPE_ABS_Y; in ParseCommand()
1500 joyInfo.absType = PointerEvent::AxisType::AXIS_TYPE_ABS_Z; in ParseCommand()
1502 joyInfo.absType = PointerEvent::AxisType::AXIS_TYPE_ABS_RZ; in ParseCommand()
1504 joyInfo.absType = PointerEvent::AxisType::AXIS_TYPE_ABS_GAS; in ParseCommand()
1506 joyInfo.absType = PointerEvent::AxisType::AXIS_TYPE_ABS_BRAKE; in ParseCommand()
1508 joyInfo.absType = PointerEvent::AxisType::AXIS_TYPE_ABS_HAT0X; in ParseCommand()
1510 joyInfo.absType = PointerEvent::AxisType::AXIS_TYPE_ABS_HAT0Y; in ParseCommand()
1512 joyInfo.absType = PointerEvent::AxisType::AXIS_TYPE_ABS_THROTTLE; in ParseCommand()
[all …]