Home
last modified time | relevance | path

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

/frameworks/native/include/input/
DInputEventLabels.h443 static const char* getAxisLabel(int32_t axisId) { in getAxisLabel() argument
444 return lookupLabelByValue(axisId, AXES); in getAxisLabel()
/frameworks/native/services/inputflinger/
DInputReader.h2018 bool haveAxis(int32_t axisId);
2030 static void addMotionRange(int32_t axisId, const Axis& axis, InputDeviceInfo* info);
DInputReader.cpp6864 void JoystickInputMapper::addMotionRange(int32_t axisId, const Axis& axis, in addMotionRange() argument
6866 info->addMotionRange(axisId, AINPUT_SOURCE_JOYSTICK, in addMotionRange()
6871 int32_t compatAxis = getCompatAxis(axisId); in addMotionRange()
7023 bool JoystickInputMapper::haveAxis(int32_t axisId) { in haveAxis() argument
7027 if (axis.axisInfo.axis == axisId in haveAxis()
7029 && axis.axisInfo.highAxis == axisId)) { in haveAxis()