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()
208 bool JoystickInputMapper::haveAxis(int32_t axisId) { in haveAxis() argument
211 if (axis.axisInfo.axis == axisId || in haveAxis()
212 (axis.axisInfo.mode == AxisInfo::MODE_SPLIT && axis.axisInfo.highAxis == axisId)) { in haveAxis()
DJoystickInputMapper.h97 bool haveAxis(int32_t axisId);
109 static void addMotionRange(int32_t axisId, const Axis& axis, InputDeviceInfo* info);
/frameworks/native/include/input/
DInputEventLabels.h52 static const char* getAxisLabel(int32_t axisId);
/frameworks/native/libs/input/
DInputEventLabels.cpp443 const char* InputEventLookup::getAxisLabel(int32_t axisId) { in getAxisLabel() argument
444 return lookupLabelByValue(AXES_NAMES, axisId); in getAxisLabel()