Home
last modified time | relevance | path

Searched refs:rawAxisInfo (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/services/inputflinger/reader/mapper/
DJoystickInputMapper.cpp101 rawAxis, axis.rawAxisInfo.minValue, axis.rawAxisInfo.maxValue, in dump()
102 axis.rawAxisInfo.flat, axis.rawAxisInfo.fuzz, in dump()
103 axis.rawAxisInfo.resolution); in dump()
119 RawAbsoluteAxisInfo rawAxisInfo; in configure() local
120 getAbsoluteAxisInfo(abs, &rawAxisInfo); in configure()
121 if (rawAxisInfo.valid) { in configure()
131 mAxes.insert({abs, createAxis(axisInfo, rawAxisInfo, explicitlyMapped)}); in configure()
171 const RawAbsoluteAxisInfo& rawAxisInfo, in createAxis() argument
174 int32_t rawFlat = axisInfo.flatOverride < 0 ? rawAxisInfo.flat : axisInfo.flatOverride; in createAxis()
183 scale = 1.0f / (axisInfo.splitValue - rawAxisInfo.minValue); in createAxis()
[all …]
DSensorInputMapper.cpp116 axis.rawAxisInfo.minValue, axis.rawAxisInfo.maxValue, in dump()
117 axis.rawAxisInfo.flat, axis.rawAxisInfo.fuzz, in dump()
118 axis.rawAxisInfo.resolution); in dump()
139 RawAbsoluteAxisInfo rawAxisInfo; in configure() local
140 getAbsoluteAxisInfo(abs, &rawAxisInfo); in configure()
141 if (rawAxisInfo.valid) { in configure()
152 const Axis& axis = createAxis(axisInfo, rawAxisInfo); in configure()
163 const RawAbsoluteAxisInfo& rawAxisInfo) { in createAxis() argument
165 int32_t rawFlat = axisInfo.flatOverride < 0 ? rawAxisInfo.flat : axisInfo.flatOverride; in createAxis()
172 scale = 1.0f / rawAxisInfo.resolution; in createAxis()
[all …]
DJoystickInputMapper.h39 explicit Axis(const RawAbsoluteAxisInfo& rawAxisInfo, const AxisInfo& axisInfo, in Axis()
43 : rawAxisInfo(rawAxisInfo), in Axis()
59 RawAbsoluteAxisInfo rawAxisInfo; member
89 static Axis createAxis(const AxisInfo& AxisInfo, const RawAbsoluteAxisInfo& rawAxisInfo,
DSensorInputMapper.h44 explicit Axis(const RawAbsoluteAxisInfo& rawAxisInfo, const AxisInfo& axisInfo, float scale, in Axis()
47 : rawAxisInfo(rawAxisInfo), in Axis()
60 RawAbsoluteAxisInfo rawAxisInfo; member
104 static Axis createAxis(const AxisInfo& AxisInfo, const RawAbsoluteAxisInfo& rawAxisInfo);