Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/mapper/
DJoystickInputMapper.cpp44 void JoystickInputMapper::addMotionRange(int32_t axisId, const Axis& axis, InputDeviceInfo* info) { in addMotionRange() argument
45 info->addMotionRange(axisId, AINPUT_SOURCE_JOYSTICK, axis.min, axis.max, axis.flat, axis.fuzz, in addMotionRange()
50 int32_t compatAxis = getCompatAxis(axisId); in addMotionRange()
199 bool JoystickInputMapper::haveAxis(int32_t axisId) { in haveAxis() argument
203 if (axis.axisInfo.axis == axisId || in haveAxis()
204 (axis.axisInfo.mode == AxisInfo::MODE_SPLIT && axis.axisInfo.highAxis == axisId)) { in haveAxis()
DJoystickInputMapper.h93 bool haveAxis(int32_t axisId);
105 static void addMotionRange(int32_t axisId, const Axis& axis, InputDeviceInfo* info);
/frameworks/native/include/input/
DInputEventLabels.h452 static inline const char* getAxisLabel(int32_t axisId) { in getAxisLabel() argument
453 return lookupLabelByValue(axisId, AXES); in getAxisLabel()