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