最終更新:2015-07-09 (木) 20:11:13 (3213d)
InputReader
Top / InputReader
class InputReader : public InputReaderInterface
コンストラクタ
- InputReader(const sp<EventHubInterface>& eventHub, const sp<InputReaderPolicyInterface>& policy, const sp<InputListenerInterface?>& listener);
ソースコード
~Android 4.4
- AOSP/frameworks/base/services/input/InputReader.h
- AOSP/frameworks/base/services/input/InputReader.cpp
Android 5.0~
- AOSP/frameworks/native/services/inputflinger/InputReader.h
- AOSP/frameworks/native/services/inputflinger/InputReader.cpp?
Linux/マルチタッチ
- The InputReader supports both multi-touch protocol 'A' and 'B'. New drivers should use the 'B' protocol but either will work.
DeviceMode
enum DeviceMode { DEVICE_MODE_DISABLED, // input is disabled DEVICE_MODE_DIRECT, // direct mapping (touchscreen) DEVICE_MODE_UNSCALED, // unscaled mapping (touchpad) DEVICE_MODE_POINTER, // pointer mapping (pointer) };