Home
last modified time | relevance | path

Searched refs:AxisInfo (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/include/input/
DKeyLayoutMap.h28 struct AxisInfo { struct
54 AxisInfo() : mode(MODE_NORMAL), axis(-1), highAxis(-1), splitValue(0), flatOverride(-1) { in AxisInfo() argument
73 status_t mapAxis(int32_t scanCode, AxisInfo* outAxisInfo) const;
91 KeyedVector<int32_t, AxisInfo> mAxes;
/frameworks/native/services/inputflinger/reader/mapper/
DJoystickInputMapper.cpp39 if (axis.axisInfo.mode == AxisInfo::MODE_SPLIT) { in populateDeviceInfo()
84 if (axis.axisInfo.mode == AxisInfo::MODE_SPLIT) { in dump()
92 } else if (axis.axisInfo.mode == AxisInfo::MODE_INVERT) { in dump()
125 AxisInfo axisInfo; in configure()
129 axisInfo.mode = AxisInfo::MODE_NORMAL; in configure()
139 if (axisInfo.mode == AxisInfo::MODE_SPLIT) { in configure()
206 (axis.axisInfo.mode == AxisInfo::MODE_SPLIT && axis.axisInfo.highAxis == axisId)) { in haveAxis()
263 case AxisInfo::MODE_INVERT: in process()
268 case AxisInfo::MODE_SPLIT: in process()
324 if (axis.axisInfo.mode == AxisInfo::MODE_SPLIT) { in sync()
[all …]
DJoystickInputMapper.h40 AxisInfo axisInfo;
61 void initialize(const RawAbsoluteAxisInfo& rawAxisInfo, const AxisInfo& axisInfo, in initialize()
/frameworks/native/libs/input/
DKeyLayoutMap.cpp134 status_t KeyLayoutMap::mapAxis(int32_t scanCode, AxisInfo* outAxisInfo) const { in mapAxis()
320 AxisInfo axisInfo; in parseAxis()
325 axisInfo.mode = AxisInfo::MODE_INVERT; in parseAxis()
336 axisInfo.mode = AxisInfo::MODE_SPLIT; in parseAxis()
/frameworks/native/services/inputflinger/reader/include/
DEventHub.h185 virtual status_t mapAxis(int32_t deviceId, int32_t scanCode, AxisInfo* outAxisInfo) const = 0;
283 AxisInfo* outAxisInfo) const override;
DInputDevice.h233 inline status_t mapAxis(int32_t scanCode, AxisInfo* outAxisInfo) const { in mapAxis()
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp587 status_t EventHub::mapAxis(int32_t deviceId, int32_t scanCode, AxisInfo* outAxisInfo) const { in mapAxis()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp670 virtual status_t mapAxis(int32_t, int32_t, AxisInfo*) const { in mapAxis()