最終更新:2015-07-09 (木) 20:11:13 (3212d)  

InputReader
Top / InputReader

class InputReader : public InputReaderInterface

コンストラクタ

ソースコード

Android 4.4

Android 5.0

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)
};

dumpsys