Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/mapper/
DJoystickInputMapper.cpp45 void JoystickInputMapper::addMotionRange(int32_t axisId, const Axis& axis, InputDeviceInfo& info) { in addMotionRange() argument
46 info.addMotionRange(axisId, AINPUT_SOURCE_JOYSTICK, axis.min, axis.max, axis.flat, axis.fuzz, in addMotionRange()
51 int32_t compatAxis = getCompatAxis(axisId); in addMotionRange()
210 bool JoystickInputMapper::haveAxis(int32_t axisId) { in haveAxis() argument
213 if (axis.axisInfo.axis == axisId || in haveAxis()
214 (axis.axisInfo.mode == AxisInfo::MODE_SPLIT && axis.axisInfo.highAxis == axisId)) { in haveAxis()
DJoystickInputMapper.h103 bool haveAxis(int32_t axisId);
115 static void addMotionRange(int32_t axisId, const Axis& axis, InputDeviceInfo& info);
/frameworks/native/include/input/
DInputEventLabels.h66 static const char* getAxisLabel(int32_t axisId);
/frameworks/native/libs/input/
DInputEventLabels.cpp488 const char* InputEventLookup::getAxisLabel(int32_t axisId) { in getAxisLabel() argument
490 return lookupLabelByValue(self.AXES_NAMES, axisId); in getAxisLabel()