Lines Matching refs:rawAxisInfo
101 rawAxis, axis.rawAxisInfo.minValue, axis.rawAxisInfo.maxValue, in dump()
102 axis.rawAxisInfo.flat, axis.rawAxisInfo.fuzz, in dump()
103 axis.rawAxisInfo.resolution); in dump()
120 RawAbsoluteAxisInfo rawAxisInfo; in reconfigure() local
121 getAbsoluteAxisInfo(abs, &rawAxisInfo); in reconfigure()
122 if (rawAxisInfo.valid) { in reconfigure()
132 mAxes.insert({abs, createAxis(axisInfo, rawAxisInfo, explicitlyMapped)}); in reconfigure()
173 const RawAbsoluteAxisInfo& rawAxisInfo, in createAxis() argument
176 int32_t rawFlat = axisInfo.flatOverride < 0 ? rawAxisInfo.flat : axisInfo.flatOverride; in createAxis()
185 scale = 1.0f / (axisInfo.splitValue - rawAxisInfo.minValue); in createAxis()
186 highScale = 1.0f / (rawAxisInfo.maxValue - axisInfo.splitValue); in createAxis()
188 scale = 2.0f / (rawAxisInfo.maxValue - rawAxisInfo.minValue); in createAxis()
189 offset = avg(rawAxisInfo.minValue, rawAxisInfo.maxValue) * -scale; in createAxis()
194 scale = 1.0f / (rawAxisInfo.maxValue - rawAxisInfo.minValue); in createAxis()
200 const float fuzz = rawAxisInfo.fuzz * scale; in createAxis()
201 const float resolution = rawAxisInfo.resolution * scale; in createAxis()
206 return Axis(rawAxisInfo, axisInfo, explicitlyMapped, scale, offset, highScale, highOffset, min, in createAxis()
272 newValue = (axis.rawAxisInfo.maxValue - rawEvent.value) * axis.scale + in process()