Home | History | Annotate | Download | only in input

Lines Matching refs:AxisInfo

132 status_t KeyLayoutMap::mapAxis(int32_t scanCode, AxisInfo* outAxisInfo) const {
281 AxisInfo axisInfo;
286 axisInfo.mode = AxisInfo::MODE_INVERT;
290 axisInfo.axis = getAxisByLabel(axisToken.string());
291 if (axisInfo.axis < 0) {
297 axisInfo.mode = AxisInfo::MODE_SPLIT;
301 axisInfo.splitValue = int32_t(strtol(splitToken.string(), &end, 0));
310 axisInfo.axis = getAxisByLabel(lowAxisToken.string());
311 if (axisInfo.axis < 0) {
319 axisInfo.highAxis = getAxisByLabel(highAxisToken.string());
320 if (axisInfo.highAxis < 0) {
326 axisInfo.axis = getAxisByLabel(token.string());
327 if (axisInfo.axis < 0) {
343 axisInfo.flatOverride = int32_t(strtol(flatToken.string(), &end, 0));
360 axisInfo.mode, axisInfo.axis, axisInfo.highAxis,
361 axisInfo.splitValue, axisInfo.flatOverride);
363 mMap->mAxes.add(scanCode, axisInfo);