Home
last modified time | relevance | path

Searched refs:axisRange (Results 1 - 1 of 1) sorted by relevance

/foundation/multimodalinput/input/frameworks/napi/input_device/src/
H A Djs_util.cpp144 napi_value axisRange = nullptr; in GetDeviceAxisInfo() local
152 CHKRF(napi_create_object(cb->env, &axisRange), CREATE_OBJECT); in GetDeviceAxisInfo()
153 CHKRF(napi_set_named_property(cb->env, axisRange, "source", sourceType), SET_NAMED_PROPERTY); in GetDeviceAxisInfo()
157 CHKRF(napi_set_named_property(cb->env, axisRange, "axis", axisType), SET_NAMED_PROPERTY); in GetDeviceAxisInfo()
160 CHKRF(napi_set_named_property(cb->env, axisRange, "min", min), SET_NAMED_PROPERTY); in GetDeviceAxisInfo()
163 CHKRF(napi_set_named_property(cb->env, axisRange, "max", max), SET_NAMED_PROPERTY); in GetDeviceAxisInfo()
166 CHKRF(napi_set_named_property(cb->env, axisRange, "fuzz", fuzz), SET_NAMED_PROPERTY); in GetDeviceAxisInfo()
169 CHKRF(napi_set_named_property(cb->env, axisRange, "flat", flat), SET_NAMED_PROPERTY); in GetDeviceAxisInfo()
172 CHKRF(napi_set_named_property(cb->env, axisRange, "resolution", resolution), SET_NAMED_PROPERTY); in GetDeviceAxisInfo()
173 CHKRF(napi_set_element(cb->env, axisRanges, i, axisRange), SET_ELEMEN in GetDeviceAxisInfo()
[all...]

Completed in 1 milliseconds