Searched refs:rawAxisInfo (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/services/inputflinger/reader/mapper/ |
D | JoystickInputMapper.cpp | 103 mAxes.keyAt(i), axis.rawAxisInfo.minValue, axis.rawAxisInfo.maxValue, in dump() 104 axis.rawAxisInfo.flat, axis.rawAxisInfo.fuzz, in dump() 105 axis.rawAxisInfo.resolution); in dump() 121 RawAbsoluteAxisInfo rawAxisInfo; in configure() local 122 getAbsoluteAxisInfo(abs, &rawAxisInfo); in configure() 123 if (rawAxisInfo.valid) { in configure() 135 axisInfo.flatOverride < 0 ? rawAxisInfo.flat : axisInfo.flatOverride; in configure() 140 float scale = 1.0f / (axisInfo.splitValue - rawAxisInfo.minValue); in configure() 141 float highScale = 1.0f / (rawAxisInfo.maxValue - axisInfo.splitValue); in configure() 142 axis.initialize(rawAxisInfo, axisInfo, explicitlyMapped, scale, 0.0f, highScale, in configure() [all …]
|
D | JoystickInputMapper.h | 39 RawAbsoluteAxisInfo rawAxisInfo; member 61 void initialize(const RawAbsoluteAxisInfo& rawAxisInfo, const AxisInfo& axisInfo, in initialize() 65 this->rawAxisInfo = rawAxisInfo; in initialize()
|