replicant-frameworks_native/services/inputflinger
Prashant Malani ac72bbf4e4 inputflinger: Initial support for rotary encoders.
This change introduces support for rotary encoder input devices.

We also define a new input source (namely, AINPUT_SOURCE_ROTARY_ENCODER)
and a new axis of input (namely, AXIS_SCROLL), since the rotary encoder
motion doesn't necessarily tie to a horizontal or vertical scroll
motion.

A ROTARY_ENCODER input device class is also introduced, corresponding to
the new input source.

A new input source can be defined as producing rotary encoder motion
events, if its corresponding .idc file contains the following
declaration:

    device.type = rotaryEncoder

Bug: 18707397

Change-Id: I8ccd540908311d1ff44fdfeba81b691895413641
Signed-off-by: Prashant Malani <pmalani@google.com>
2015-09-14 13:55:21 -07:00
..
host Mock out more inputflinger host functions 2015-06-08 14:44:33 -07:00
tests Revert "Revert "Add new MotionEvent actions for button press and release."" 2015-05-14 14:48:03 +01:00
Android.mk Move inputflinger process to host directory 2015-02-23 16:04:57 -08:00
EventHub.cpp inputflinger: Initial support for rotary encoders. 2015-09-14 13:55:21 -07:00
EventHub.h inputflinger: Initial support for rotary encoders. 2015-09-14 13:55:21 -07:00
InputApplication.cpp Move inputservice over to frameworks/native 2014-02-11 10:47:14 -08:00
InputApplication.h Move inputservice over to frameworks/native 2014-02-11 10:47:14 -08:00
InputDispatcher.cpp Send cancelation events to monitors when injection fails. 2015-06-12 13:25:11 +01:00
InputDispatcher.h Send cancelation events to monitors when injection fails. 2015-06-12 13:25:11 +01:00
InputListener.cpp Revert "Revert "Add new MotionEvent actions for button press and release."" 2015-05-14 14:48:03 +01:00
InputListener.h Revert "Revert "Add new MotionEvent actions for button press and release."" 2015-05-14 14:48:03 +01:00
InputManager.cpp Move inputservice over to frameworks/native 2014-02-11 10:47:14 -08:00
InputManager.h Move inputservice over to frameworks/native 2014-02-11 10:47:14 -08:00
InputReader.cpp inputflinger: Initial support for rotary encoders. 2015-09-14 13:55:21 -07:00
InputReader.h inputflinger: Initial support for rotary encoders. 2015-09-14 13:55:21 -07:00
InputWindow.cpp Add TYPE_MAGNIFICATION_OVERLAY to isTrustedOverlay 2014-04-23 13:51:20 -07:00
InputWindow.h Stop consuming input on error dialogs. 2014-11-11 14:05:03 -08:00
PointerControllerInterface.h Move inputservice over to frameworks/native 2014-02-11 10:47:14 -08:00